Mechanical Keyboard As Travel Saxophone

Those who play larger musical instruments, things like drums, piano, harp, tuba, upright bass, or Zeusaphone, know well the challenges of simply transporting their chosen instrument to band practice, a symphony hall, or local watering hole. Even those playing more manageably-sized instruments may have similar troubles at some point especially when traveling where luggage space is at a premium like on an airplane. That’s why [jcard0na] built this electronic saxophone, designed to be as small as possible.

Known as the “haxophone”, the musical instrument eschews the vibrating column of air typical of woodwind instruments in favor of an electronic substitute. Based around the Raspberry Pi, the device consists of a custom HAT with a number of mechanical keyboard switches arrayed in a way close enough to the layout of a standard saxophone that saxophonists will be able to intuitively and easily play. Two pieces of software run on the Pi to replicate the musical instrument, one that detects the player’s breaths and key presses, and another that synthesizes this information into sound.

While [jcard0na] notes that this will never replicate the depth and feel of a real instrument, it does accomplish its design goal of being much more easily transportable than all but the most soprano of true saxophones. As a musical project it’s an excellent example of good design as well, much like this set of electronic drums with a similar design goal of portability.

A Tape Loop Echo You Can Build

Echo and reverb are now electronic audio effects done in a computer or an integrated circuit, but originally they were achieved through mechanical means. Reverb units used springs, and echo units used loops of magnetic tape. As a musician hankering after a mechanical tape echo unit, [Adam Paul] was left with no choice but to build his own. We featured an early prototype, but now he’s back with a finished version that’s intended to be replicated by other musicians.

The unit takes a cassette mechanism from one of the last still-manufactured players available through the usual sources. It splits record and play heads, with the normal cassette replaced with a tape loop made from extra-thick computer tape. A custom PCB replaces most of the electronics, and the auto-reverse system is disabled.

The result is a functional tape echo system, as can be seen in the video below the break. This is ready to build yourself, with everything on a GitHub repository and an extremely comprehensive build guide, so do any of you fancy a go?

Read about the device’s earlier incarnation here.

Continue reading “A Tape Loop Echo You Can Build”

A man sits in front of a wooden table. There is a black box with a number of knobs hand-labeled on blue painter's tape. A white breadboard with a number of wires protruding from it is visible on the box's left side. An oscilliscope is behind the black box and has a yellow waveform displaying on its screen.

A More Expressive Synth Via Flexure

Synthesizers can make some great music, but sometimes they feel a bit robotic in comparison to their analog counterparts. [Sound Werkshop] built a “minimum viable” expressive synth to overcome this challenge. (YouTube)

Dubbed “The Wiggler,” [Sound Werkshop]’s expressive synth centers on the idea of using a flexure as a means to control vibrato and volume. Side-to-side and vertical movement of the flexure is detected with a pair of linear hall effect sensors that feed into the Daisy Seed microcontroller to modify the patch.

The build itself is a large 3D printed base with room for the flexure and a couple of breadboards for prototyping the circuits. The keys are capacitive touch pads, and everything is currently held in place with hot glue. [Sound Werkshop] goes into detail in the video (below the break) on what the various knobs and switches do with an emphasis on how it was designed for ease of use.

If you want to learn more about flexures, be sure to checkout this Open Source Flexure Construction Kit.

Continue reading “A More Expressive Synth Via Flexure”

A series of five cymbals sitting on white and black speckled carpet in front of a green loveseat. Each cymbal is assembled from four printed sections. Their colors from left to right are yellow and grey, red and black, black, teal and black, and white and black. A sixth, grey and black cymbal is sitting in the middle of the loveseat cushion.

Challenging The Limits Of 3D Printing With Cymbals

We’re big believers in 3D printing here at Hackaday, but it’s important to recognize that there are plenty of applications where additive manufacturing (at least, from a desktop machine) just isn’t suitable. But that doesn’t mean we don’t want to see what happens if you try. For example, [The Drum Thing] wanted to test the limits of 3D printing by printing a set of cymbals.

[The Drum Thing] had a friend design a cymbal in CAD and then the printed quarters were glued together. In the name of science, they produced them in six different materials to compare performance. Each cymbal was played for a short period or until it failed, including some very interesting slow motion camera work showing the vibrations traveling through the cymbals.

As one might expect, bashing “wafer thin” pieces of printed plastic with a wooden drumstick didn’t work out well for most of the cymbals, although the TPU, carbon fiber, and nylon cymbals were did largely survive their time in the limelight. The other cymbals all failed, either shattering, cracking, or failing at the glue joints. Based on the video, it seems the same glue was used for all of the cymbals, so making sure to have a better match between material and adhesive could help with the glue failures.

Maybe future testing can involve playing these cymbals with a quadrotor?

Continue reading “Challenging The Limits Of 3D Printing With Cymbals”

Lo-Fi Tchaikovsky

[Kevin] over at Simple DIY ElectroMusic Projects recently upgraded his Lo-Fi Orchestra. To celebrate his 400th blog post, he programmed it to play Tchaikovsky’s 1812 Overture. Two Arduino Nanos, four Arduino Unos, four Raspberry Pi Picos, and one Raspberry Pi have joined the Lo-Fi Orchestra this year, conducted by a new Pico MIDI Splitter. Changes were made in every section of the orchestra except percussion. We are delighted that the Pringles tom and plastic tub bass drums remain, not to mention the usual assortment of cheap mixers, amps, and speakers.

Tchaikovsky’s score famously calls for some “instruments” not found in the typical orchestra — a battery of cannon and a carillon, for example. Therefore [Kevin] had to supplement the Lo-Fi Orchestra for this performance with extras — a JQ6500 MP3 module on clash cymbals, a bare metal MiniDexed Raspberry Pi playing the carillon, and a MCP4725 with a Lots-of-LEDs shield firing off cannon and fireworks, respectively.

Although slightly disappointed that the MCP4725 beat out Mr. Fireworks in the auditions, we do like the result. [Kevin] reports that the latest version is much more reliable and predictable, having eliminated various MIDI faults and electrical noise. It presents a stable platform for future musical presentations, a kind of on-demand Lo-Fi Orchestra jukebox, as he describes it. A detailed review of all the changes can be found in his explanatory blog post. Check out an earlier performance of Holst’s The Planets suite from our coverage back in 2021.

Continue reading “Lo-Fi Tchaikovsky”

A Better Playlist Shuffle Algorithm Is Possible

When listening to music, most of us reach for the shuffle button on the regular. This is then followed by a bunch of frustrating skips as we hear the same four or five tracks that have been regularly replayed for the last few days. [Ron Miller] wants to fix unsatisfying shuffles, and he’s developed the Miller Shuffle algorithm to do so.

[Ron] realized that many big name streaming services use incredibly simple algorithms to choose shuffled songs. This can often be as simple as songIndex=random(NumOfSongs). The problem with this is that even with a good random number source, you’ll get a lot of premature repetitions. If your music service doesn’t keep track of your shuffle-point between sessions, you’ll often get annoying repeats if you’re listening on a day-to-day basis.

To fix this, the Miller Shuffle algorithm aims to offer good randomness and no repeats without the excess resource usage of the commonly-cited Fisher-Yates algorithm. [Ron] explains it like this: “The way the algorithm works its magic is by utilizing multiple computations which are ‘symmetrical’, in that the range of values which go in are the same values which come out albeit in a different order.” Since its a deterministic fixed list, there’s no need to keep track of what songs have already been played to avoid repeats. Instead, the player must simply step through the index in order, one track after another. As long as a referenced index point is maintained, along with an ID of the shuffle order being used, no repeats should come up.

If you’re implementing a shuffle algorithm for your own music, you might want to give [Ron’s] work a look. He’s taken into account details like resource usage and small and large list sizes, to account for implementation issues for even very large streaming services. If you’re more interested in shuffling cards than songs, though, we can help there too!

How To Build Jenny’s Budget Mixing Desk

Jenny did an Ask Hackaday article earlier this month, all about the quest for a cheap computer-based audio mixer. The first attempt didn’t go so well, with a problem that many of us are familiar with: Linux applications really doesn’t like using multiple audio devices at the same time. Jenny ran into this issue, and didn’t come across a way to merge the soundcards in a single application.

I’ve fought this problem for a while, probably 10 years now. My first collision with this was an attempt to record a piano with three mics, using a couple different USB pre-amps. And of course, just like Jenny, I was quickly frustrated by the problem that my recording software would only see one interface at a time. The easy solution is to buy an interface with more channels. The Tascam US-4x4HR is a great four channel input/output audio interface, and the Behringer U-PHORIA line goes all the way up to eight mic pre-amps, expandable to 16 with a second DAC that can send audio over ADAT. But those are semi-pro interfaces, with price tags to match.

But what about Jenny’s idea, of cobbling multiple super cheap interfaces together? Well yes, that’s possible too. I’ll show you how, but first, let’s talk about how we’re going to control this software mixer monster. Yes, you can just use a mouse or keyboard, but the challenge was to build a mixing desk, and to me, that means physical faders and mute buttons. Now, there are pre-built solutions, with the Behringer X-touch being a popular solution. But again, we’re way above the price-point Jenny set for this problem. So, let’s do what we do best here at Hackaday, and build our own. Continue reading “How To Build Jenny’s Budget Mixing Desk”