MIDI Mouse Makes Marvelous Music

It’s an old misconception that digital musicians just use a mouse and keyboard for their art. This is often far from the truth, as many computer music artists have a wide variety of keyboards/synths, MIDI controllers, and “analog” instruments that all get used in their creative process. But what if one of those instruments was just a mouse?

Well, that must have been what was going through [kzra]’s mind when he turned an old ps/2 roller ball mouse into an electronic instrument. Born out of a love for music and a hate for waste, the mouse is a fully functional MIDI controller. Note pitch is mapped to the x-coordinate of the pointer, and volume (known as velocity, in MIDI-speak) is mapped to the y-coordinate. The scroll wheel can be used as a mod wheel, user-configurable but most often used to vary the note’s pitch. The mouse buttons are used to play notes, and can behave slightly differently depending on the mode the instrument is set to.

Not satisfied with simply outputting MIDI notes, [kzra] also designed an intuitive user interface to go along with the mouse. A nice little OLED displays the mode, volume, note, and mouse coordinates, and an 8×8 LED matrix also indicates the note and volume. It’s a fantastic and versatile little instrument, and you’ve gotta check out the video after the break to see it for yourself. We’ve seen some awesome retro-tech MIDI controllers before, and this fits right in.

Continue reading “MIDI Mouse Makes Marvelous Music”

Web Assembly, Music Synthesis, And The Beauty Of Math

The electronics hobby has changed a lot since the advent of the microprocessor. Before that — and with the lack of large-scale integrated circuits — projects in magazines tended to be either super simple or ultra complex. However, one popular type of project dealt with music synthesis. Fairly simple circuits could combine to make a complex synthesizer so it was sort of the best of both worlds. Nowadays, you are more likely to tackle a music synthesizer in software like [Tim] did when he created Abelton in Web Assembly and C++. Along the way, he learned a lot about the relationship between math and music.

[Tim] covers what he learned about the Nyquist theorem and how to keep synthesis data flowing in real time with buffers. However, there are some problems trying to do all this in a cross-browser context. The AudioWorklet class appears to have widespread support, though, and [Tim] managed to get that working.

Continue reading “Web Assembly, Music Synthesis, And The Beauty Of Math”

Ferrofluid Dances In Custom Bluetooth Speaker

Ferrofluids, as the name implies, are liquids that respond to magnetic fields. They were originally developed for use by NASA as rocket fuel but are available to the general public now for anyone who wants to enjoy their unique properties. For [Dakd Jung], that meant building a special chamber into a Bluetooth speaker that causes the ferrofluid inside to dance along with the rhythm of the music.

This project isn’t quite as simple as pushing the ferrofluid container against a speaker, though. A special electromagnetic device similar to a speaker was used specifically to manipulate the fluid, using a MSGEQ7 equalizer to provide the device with only a specific range of frequencies best tailored for the fluid’s movement. The project includes two speakers for playing the actual music that point upward, and everything is housed inside of a 3D-printed case. There were some additional hurdles to overcome as well, like learning that the glass needed a special treatment to keep the ferrofluid from sticking to it.

All in all it’s a unique project that not only brings sound to a room but a pleasing physical visualization as well. Being able to listen to music or podcasts on a portable speaker, rather than the tinny internal speakers of a phone or laptop, is the sort of thing you think you can live without until you get used to having higher quality sound easily and in every place you go. And, if there’s a way to improve on that small but crucial foundation with something like a dancing ferrofluid that moves with the music the speaker is playing, then we’re going to embrace that as well.

Don’t Fret Over The Ukulele

A ukulele is a great instrument to pick to learn to play music. It’s easy to hold, has a smaller number of strings than a guitar, is fretted unlike a violin, isn’t particularly expensive, and everything sounds happier when played on one. It’s not without its limited downsides, though. Like any stringed instrument some amount of muscle memory is needed to play it fluidly which can take time to develop, but for new musicians there’s a handy new 3D printed part that can make even this aspect of learning the ukulele easier too.

Called the Easy Fret, the tool clamps on to the neck of the ukulele and hosts a series of 3D printed “keys” that allow for complex chord shapes to be played with a single finger. In this configuration the chords C, F, G, and A minor can be played (although C probably shouldn’t be considered “complex” on a ukulele). It also makes extensive use of compliant mechanisms. For example, the beams that hit the chords use geometry to imitate a four-bar linkage. This improves the quality of the sound because the strings are pressed head-on rather than at an angle.

While this project is great for a beginner learning to play this instrument and figure out the theory behind it, its creator [Ryan Hammons] also hopes that it can be used by those with motor disabilities to be able to learn to play an instrument as well. And, if you have the 3D printer required to build this but don’t have an actual ukulele, with some strings and tuning pegs you can 3D print a working ukulele as well.

MIDI All The Things Hack Chat

Join us on Wednesday, March 24 at noon Pacific for the MIDI All the Things Hack Chat with Tim Alex Jacobs!

In our technologically complex world, standards are a double-edged sword. While they clearly make it possible for widgets and doodads to interoperate with each other, they also tend to drift away from their original intention over time, thanks to the march of progress or even market forces. If there’s one thing you can expect about standards, it’s that they beget other standards.

One standard that has stood the test of time, with modification of course, is the Musical Instrument Digital Interface, or MIDI. It’s hard to overstate the impact MIDI has had on the music world since it was first dreamed up in the early 1980s. Started amid a Wild West of competing proprietary synchronization standards, MIDI quickly became the de facto interface for connecting electronic musical instruments together. And as it did, it moved from strictly pro-grade equipment down the market to prosumer and home users, fueled in part by the PC revolution.

Tim Alex Jacobs, who is perhaps better known as Mitxela on his YouTube channel, has long been interested in applying MIDI to unusual corners of the musical world. We’ve seen him MIDI-fy things that barely qualify as musical instruments, and also build a polyphonic synthesizer so small it fits within the shell of the DIN connector that’s so strongly associated with the MIDI standard. Tim joins us on the Hack Chat this week to talk about his experiences with MIDI, and to help us understand all the ways we can work with the interface in our builds.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, March 24 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.
Continue reading “MIDI All The Things Hack Chat”

Guitar Effects With No (Unwanted) Delay

MIDI has been a great tool for musicians and artists since its invention in the 1980s. It allows a standard way to interface musical instruments to computers for easy recording, editing, and production of music. It does have a few weaknesses though, namely that without some specialized equipment the latency of the signals through the various connected devices can easily get too high to be useful in live performances. It’s not an impossible problem to surmount with the right equipment, as illustrated by [Philip Karlsson Gisslow].

The low-latency MIDI interface that he created is built around a Raspberry Pi Pico. It runs a custom library created by [Philip] called MiGiC which specifically built as a MIDI to Guitar interface. The entire setup consists of a preamp to boost the guitar’s signal up to 3.3V where it is then fed to the Pi. This is where the MIDI sampling is done. From there it sends the information to a PC which is able to play the sound back quickly with no noticeable delay.

[Philip] also had to do a lot of extra work to port the software to the Pi which lacks a lot of the features of its original intended hardware on a Mac or Windows machine, and the results are impressive, especially at the end of the video where he uses the interface to play a drum machine via his guitar. And, while MIDI is certainly a powerful application for a guitarist, we have also seen the Pi put to other uses in this musical realm as well.

Continue reading “Guitar Effects With No (Unwanted) Delay”

Peek Into This Synth’s Great Design (And Abandoned Features)

[Tommy]’s POLY555 is an analog, 20-note polyphonic synthesizer that makes heavy use of 3D printing and shows off some clever design. The POLY555, as well as [Tommy]’s earlier synth designs, are based around the 555 timer. But one 555 is one oscillator, which means only one note can be played at a time. To make the POLY555 polyphonic, [Tommy] took things to their logical extreme and simply added multiple 555s, expanding the capabilities while keeping the classic 555 synth heritage.

The real gem here is [Tommy]’s writeup. In it, he explains the various design choices and improvements that went into the POLY555, not just as an instrument, but as a kit intended to be produced and easy to assemble. Good DFM (Design For Manufacturability) takes time and effort, but pays off big time even for things made in relatively small quantities. Anything that reduces complexity, eliminates steps, or improves reliability is a change worth investigating.

For example, the volume wheel is not a thumbwheel pot. It is actually a 3D-printed piece attached to the same potentiometer that the 555s use for tuning; meaning one less part to keep track of in the bill of materials. It’s all a gold mine of tips for anyone looking at making more than just a handful of something, and a peek into the hard work that goes into designing something to be produced. [Tommy] even has a short section dedicated to abandoned or rejected ideas that didn’t make the cut, which is educational in itself. Want more? Good news! This isn’t the first time we’ve been delighted with [Tommy]’s prototyping and design discussions.

POLY555’s design files (OpenSCAD for enclosure and parts, and KiCad for schematic and PCB) as well as assembly guide are all available on GitHub, and STL files can be found on Thingiverse. [Tommy] sells partial and complete kits as well, so there’s something for everyone’s comfort level. Watch the POLY555 in action in the video, embedded below.

Continue reading “Peek Into This Synth’s Great Design (And Abandoned Features)”