GETMusic Uses Machine Learning To Generate Music, Understands Tracks

Music generation guided by machine learning can make great projects, but there’s not usually much apparent control over the results. The system makes what it makes, and it’s an achievement if the results are not obvious cacophony. But that’s all different with GETMusic which allows for a much more involved approach because it understands and is able to create music by tracks. Among other things, this means one can generate a basic rhythm and melody first, then add additional elements to those existing ones, leaving the previous elements unchanged.

GETMusic can make music from scratch, or guided from examples, and under the hood uses a diffusion-based approach similar to the method behind AI image generators like Stable Diffusion. We’ve previously covered how Stable Diffusion works, but instead of images the same basic principles are used to guide the model from random noise to useful tracks of music.

Just a few years ago we saw a neural network trained to generate Bach, and while it was capable of moments of brilliance, it didn’t produce uniformly-listenable output. GETMusic is on an entirely different level. The model and code are available online and there is a research paper to accompany it.

You can watch a video putting it through its paces just below the page break, and there are more videos on the project summary page.

Continue reading “GETMusic Uses Machine Learning To Generate Music, Understands Tracks”

Building The Cheapest MIDI Home Studio From 1988

These days, there is a plethora of cheap hardware and software which you can use to make digital music. Back in the 1980s, though, this was still a nascent field, with new gear changing the game for musicians. In his latest video, [cTrix] puts together a guide to building a budget MIDI home studio like it’s 1988.

The original Atari ST is the star of the show, which sold for around £300 back then. Unlike most contemporary computers, it came with MIDI ports built-in, and it quickly became a popular platform for music sequencing and controlling external synth hardware. It was often spotted in posh studios being used by big-time musicians, but [cTrix] wanted to look at how it was used by more humble users.

While the Atari ST could output some passable chiptunes, it was most powerful when paired with off-board gear. Industry magazines would readily talk up “DIY” setups worth thousands, but [cTrix] aimed for a budget in the low hundreds. In 1988, that might get you something like the 16-channel Yamaha PSS-580, which rocked full MIDI support and a ton of sounds and drumkits built in. It ran an OPL soundchip, and could play multiple instruments at once under MIDI control from software like Dr. T’s MIDI Recording Studio.

Of course, if you’ve ever played a keyboard like the PSS-580, you’ll have noted that the sound output can be more than a little chintzy. A cheap way to level up was to get yourself something like the Roland MT-32, which rocked a far higher-quality sound module. Everything from slap bass to solid electric pianos could be blasted out from the Roland, which also included a decent reverb unit, too. [cTrix] also dives into other budget heroes, like the rich and expansive Kawai K1 and the Yamaha EMT-10.

If you want to make music like it’s 1988 and you’re hunting for your first gold record, you’ll learn a lot here. We can’t wait for Part 2, that explores the next level of sophistication in this era. His previous lessons on how to make 90s dance bangers on the Amiga are a treat, too.

Continue reading “Building The Cheapest MIDI Home Studio From 1988”

Building A Breath-Controlled MIDI Device

When we think of MIDI devices, we typically jump straight to drum machines, rack synths, and keyboard controllers. However, there’s nothing saying you can’t build your own MIDI controllers that use the magic of breath to do their musical duty. That’s precisely what [Xavier Dumont] did with this unique 3D printed build.

The device looks somewhat like an alien ship from an animated 1960s sci-fi movie, but it’s actually a sophisticated MIDI controller. Naturally, it’s peppered with buttons as every good controller should be, and it features a touch-control strip on the back.

However, the real magic is in the breath control. When the user blows into the sensor, the device sends out MIDI signals of varying intensity to control the object of the player’s desire. The breath signal can be used to modulate the mod wheel, pitch bends, or octave shifts, among a variety of other options.

[Xavier] wields the instrument with prowess in the audio demos at the end of the video. We can imagine this futuristic thing being played by a background alien in a celebration scene in a far-flung Marvel movie. Or maybe Star Wars? In any case, a triumph.

Continue reading “Building A Breath-Controlled MIDI Device”

MIDI Interface For NeXTcube Plugs Into The Past

[Joren] recently did some work as part of an electronic music heritage project, and restored an 80s-era NeXTcube workstation complete with vintage sound card, setting it up with a copy of MAX, a graphical music programming environment. But there was one piece missing: MIDI. [Joren] didn’t let that stop him, and successfully created hardware to allow MIDI input and output.

The new panel provides all the connectors necessary to interface with either classic MIDI devices, or MIDI over USB (where it appears as a USB MIDI device to any modern OS.)

Interestingly, the soundcard for the NeXTcube has an RS-422 serial port and some 8-pin mini DIN connectors. They are not compatible with standard MIDI signals, but they’re not far off, either.

To solve this, [Joren] used a Teensy developer board to act as an interface between classic MIDI devices like keyboards or synthesizers (or even not-so-common ones like this strange instrument) while also being able to accommodate modern MIDI over USB connections thanks to the Teensy’s USB MIDI functionality.

A metal enclosure with a 3D-printed panel rounds out the device, restoring a critical piece of functionality to the electronic music-oriented workstation.

MIDI as a protocol isn’t technically limited to musical applications, though that’s one place it shines. And just in case it comes in handy someday, you can send MIDI over I2C if you really need to.

An RPi-Powered Multi-DX7/TX816 Style Synth

[Kevin] over at Simple DIY ElectroMusic Projects has released a complete DIY modular design for simulating the classic 80s Yamaha TX816 DX/FM modular digital synthesizer. This beast of a synth was used by the cool bands of the 80s as well as TV studios, and ownership of the original machine is an expensive investment. But with the power of modern hackable electronics, and the MiniDexed firmware running bare-metal on a Raspberry Pi getting access to a compatible synth doesn’t have to break the bank.

[Kevin] wanted to emulate the look and feel of the original TX816 aesthetic, developing a custom PCB handling the user interface for four of the eight channels, and a second acting as an interface to the Raspberry Pi using a Pico. Also sitting on this PCB is the GY-PCM5102 I2S DAC, and the MIDI connectors needed to connect to the system controller. Both PCBs, including a PCB-based front panel, were developed with KiCAD. The firmware for the Pico part of the system can be found on the firmware GitHub. The video demo (embedded below) shows off the system running a very 80s-sounding rendition of Holst’s famous ‘Jupiter’ from the planet series, and we all agree it sounds pretty sweet. For a complete rundown of the build, here are the links for the blog series for ease of access: Intro, PCBs, Panel, Build Guide, Mechanical, Pico/TX816 IO code, and finally usage. Phew!

If MiniDexed sounds familiar, that is because we featured another of [Kevin’s] earlier MiniDexed projects a little while ago.

Continue reading “An RPi-Powered Multi-DX7/TX816 Style Synth”

Compose Any Song With Twelve Buttons

Limitations placed on any creative process often paradoxically create an environment in which creativity flourishes. A simple overview of modern pop, rock, or country music illustrates this principle quite readily. A bulk of these songs are built around a very small subset of music theory, often varying no more than the key or the lyrics. Somehow, almost all modern popular music exists within this tiny realm. [DeckerEgo] may have had this idea in mind when he created this tiny MIDI device which allows the creation of complex musical scores using a keyboard with only 12 buttons.

The instrument is based around the Adafruit MacroPad, which is itself built on the RP2040 chip. As a MIDI device, it needs to be connected to a computer running software which can support MIDI instruments, but once its assembled and given its firmware, it’s ready to rock. A musician can select one of any number of musical scales to operate within, and the 12 keys on the pad are mapped to the 12 chromatic notes within that scale. It can also be used to generate drum tracks or other backing tracks to loop before being used to create melodies as well.

[DeckerEgo] took a bit of inspiration from an even simpler macro pad we featured before which is based around the idea that a shockingly high number of songs use the same four chords. His macro pad includes creation of chord progressions as well, but expands on that idea to make more complete compositions possible. And, for those looking to build their own or expand on this project, he has also made all of the source code available on his GitHub page.

Continue reading “Compose Any Song With Twelve Buttons”

How To Restore A Musical Amiga

Despite the huge strides in computing power and functionality that have been achieved in the past few decades, there are still some things that older computers can do which are basically impossible on modern machines. This doesn’t just include the ability to use older hardware that’s now obsolete, either, although that is certainly a perk. In this two-part restoration of an Amiga 500, [Jeremy] shows us some of these features like the ability to directly modify the audio capabilities of this retro machine.

The restoration starts by fixing some damage and cleaning up the rest of the machine so it could be powered up for the first time in 30 years. Since it was in fairly good shape he then started on the fun part, which was working with this computer’s audio capabilities. It includes a number of amplifiers and filters in hardware that can be switched on or off, so he rebuilt these with new op-amps and added some new controls so that while he is using his MIDI software he can easily change how it sounds. He also restored the floppy disk drives and cleaned up the yellowing on the plastic parts to improve the overall appearance, as well as some other general improvements.

These old Amigas have a lot going for them, but since [Jeremy] is a musician he mostly focused on bringing back some of the musical functionality of his childhood computer, although he did build up a lot of extra features in this machine as well. These types of audio circuits are not something found in modern computers, though, so to get a similar sound without using original hardware you’ll need to build something like this NES audio processing unit programmed in Verilog.

Continue reading “How To Restore A Musical Amiga”