A Simple Floppy Music Controller

Arduino Floppy Music Shield

While playing music with floppy drives has been done many times over, making any device with a stepper motor play music still appeals to the hacker in all of us. [Tyler] designed an Arduino shield and a library which lets you get up and running in no time. [Tyler]‘s shield includes pin headers to connect 4 floppy drives, which plug directly into the shield. The drives don’t need any modification before being used.

While you could simply wire a few floppy drives up to an Arduino with some jumpers, this breakout shield makes connecting your drives trivial. In addition to designing the shield, [Tyler] released an Arduino library to make things even easier. The library lets you simply set the frequency you want each drive to play, which saves a bit of legwork.

The floppy-controlling Arduino library is available on GitHub and a video of the controller is included after the break.

[Read more...]

Sweet Stepper of [Jeremy]‘s Rocks Out with its Box Out

Stepper motor MIDI music boxInspired by the floppy drive orchestras of others, [Jeremy] has built a Pi-driven MIDI music box with stepper motor resonators and outlined the build on hackaday.io.

Control for the motors comes from an Iteaduino Mega 2560. The music starts as a MIDI file, gets processed into a text file, and is played over serial by a Raspberry Pi. He’s added percussion using K’NEX instruments and 9g servos, which we think is a nice touch. It can be powered via LiPo or from the wall, and [Jeremy] baked in protection against blowing up the battery. As he explains in the tour video after the break, the box is clamped to a wooden table to provide richer sound.

[Jeremy]‘s favorite part of the build was enclosing the thing as it was his first time using panel-mount components. Stick around to see a walk-through of the guts and a second video demonstrating its musical prowess.

[Read more...]

PS/2 Synth Will Knock You Off Your Broom

keyboard-keyboard1

Here’s a hack centered around something a lot of people have sitting around: a PS/2 keyboard. [serdef] turned a Harry Potter-edition PS/2 into a combination synth keyboard and drum machine and has a nice write-up about it on Hackaday.io.

For communication, he tore up a PS/2 to USB cable to get a female mini DIN connector and wired it to the Nano. He’s using a Dreamblaster S1 synth module to generate sounds, and that sits on a synth shield along with the Nano. The synth can be powered from either the USB or a 9-volt.

Keymapping is done with the Teensy PS/2 keyboard library. [serdef] reused a bunch of code from his bicycle drummer project which also employed the Dreamblaster S1. [serdef] is continually adding features to this project, like a pot for resonance control which lets him shape the waveform like an analog synth. He has posted some handy PS/2 integration code, his synth code, and a KiCad schematic. Demo videos are waiting for you across the link.  [Read more...]

The Hacklet #7 – MIDI

7

This week’s Hacklet is all about Hackaday.io projects which use MIDI, or Musical Instrument Digital Interface for the uninitiated. MIDI was designed from the ground up as an open communications standard for musical instruments. Nearly every major instrument company participated in the design of the standard. MIDI was first demonstrated in January of 1983, with the communications standard document following in August. Hackers, makers, and musicians immediately ran with it, using MIDI to do things the designers never dreamed of.

SAMSUNG[Robert's] 9×9 Pixel Muon Detector/Hodoscope  is a great example of this. [Robert] is using 18 Geiger Muller Tubes to detect cosmic particles, specifically muons. The tubes are stacked in two rows which allows him to use coincidence detection. Rather than just plot some graphs or calculate impact probabilities, [Robert] hacked a Korg Nanokey 2 MIDI controller to output MIDI over USB messages corresponding to the detected muons. Check out his video to see a sample of the music of the universe!

 

diyMPCNext up is [Michele's] DIY MPC style MIDI controller. [Michele] needed a simple low-cost drum controller that wouldn’t wake his neighbors. He loved Akai MPC controllers, so he rolled his own. [Michele] investigated force sensitive resistors but found they were very expensive. At a cost of $8 USD each, his resistors alone would be nearly the cost of a low-end MPC!  [Michele] created his own sensitive pads using a sandwich of copper tape and 3M Velostat conductive sheets. An HCF4067 routes all the analog lines to a single pin of Teensy 3.0, which then converts the analog resistor outputs to MIDI messages.

pic-midi-1vo[Johan] loves his analog synths, and wanted them to be able to talk MIDI too. He built MIDI2VC, a circuit which converts MIDI to 1V/Octave (similar to  CV/Gate). 1V/Octave is an analog control system used in some early synthesizers, as well as many modern analog creations. Pitches are assigned voltages, and as the name implies, each octave is 1 volt. A4 on the keyboard is represented by 4 volts, while A5 is 5 volts. [Johan] used a Microchip PIC16LF1823 to receive and convert the MIDI signals. The PIC outputs I2C data to an MCP4725 DAC which drives the analog side of the house.

eldanceLong before DMX512 came on the scene, hackers were controlling lights via MIDI. [Artis] continues this with El Dance, a wireless system for controlling electroluminescent wire worn by dancers. Similar in function to  [Akiba's] EL wire system, [Artis] took a lower cost route and used the venerable NRF24L01 radio module. He added an antenna which gives the modules a range of about 30 meters. The computer running the dance routine’s music sees the transmitter side of the link as a MIDI instrument. Standard note on and off commands activate the EL wire strings.

midi-vibeOur final hack comes from [Jen] who built a MIDI Vibrator Inductor Synth. [Jen] performs in an experimental music band called My Wife, with instruments as varied as violins and sewing machines. [Jen] must be a fan of Van Halen’s Poundcake as she’s using a similar technique, with a MIDI twist. An Arduino converts MIDI notes to analog values, which are sent to a motor controller board. The motor controller uses PWM to drive a vibrator motor at the frequency of the note being played. Like all DC motors, the vibrator puts out a ton of electromagnetic noise, which is easily picked up by [Jen's] electric bass.

That’s it for this week’s Hacklet! Tune in next week for more projects from Hackday.io!

 

MIDI And Vintage FM Synthesis

FM

Before the days when computers could play and record audio that far surpassed the quality of CDs, sound cards were very, very cool. Most audio chips from the 80s, from the Commodore SID is pretty much a synth on a chip, but you can also find similar setups in ancient ISA sound cards. [Emilio] pulled one of these cards with an ADLIB OPL2 chip on it, and used a PIC micro to create his very own FM synthesis synth (IT, translatatron, although Google is screwing up the formatting).

The Yamaha YM3812 chip, otherwise known as the OPL2, was a fairly complete synthesizer in a very tiny package using FM synthesis for some very unique sounds. Once [Emilio] had the PIC sending commands to the sound chip, he added MIDI support, allowing him to play this vintage ‘synth on a chip’ with a keyboard instead of a tracker.

Judging from the video below, it sounds great, and that’s with [Emilio] mashing the keys for a simple demo.

[Read more...]

Tempo Keeping Drummer Leaves Viking Ship, Now Inspires Pedallers

Bike Controlled Drum Machine

[Serdef] wrote in to tell us about a project he has recently created. It’s a drum beat generator that changes tempo depending on how fast you pedal your bike. This flies directly in the face of using music to keep your pedal timing consistent and up to speed.

The project started out with a tap-tempo drum rhythm pedal that [Serdef] had previously built. This device will generate a drum beat at a tempo corosponding with the time between 2 input signals. This type of device allows someone, say a guitarist, to quickly and easily specify the speed of the drumbeat that they are playing along with.

With the meat and potatoes of the project already figured out, the next part was to make the speed of the bike trigger the tempo of the drum beat. For the signal input, a magnet mounted on the wheel triggers a reed switch mounted on the bike fork once per wheel revolution. This is the same method of information gathering that a bicycle speedometer/odometer uses.

The business part of this project includes an Arduino that measures the speed of the wheel via the magnetic switch, adjusts the speed of the drum beat, and then sends the drum beat to a synthesizer via MIDI protocol. The synthesizer converts the MIDI signal into drum sounds amplified through a powered speaker that the rider can hear. The entire system is powered by a 9v battery and housed in a project box strapped to the bike’s handlebars.

All of the design files and Arduino code are available via [Serdef's] excellent write up on hackaday.io in case you’re interested in making one for yourself.

C64 MIDI and Flash Cart

KerberosThe SID chip inside the Commodore 64 and 128 is arguably still the gold standard for chip tunes, and the C64 itself still a decent computer for MIDI sequencing. [Frank Buss] realized most of the MIDI cartridges for the Commodore computers are either out of production or severely limited, so he set out to create his own.

Unlike the few Commodore MIDI cartridges that are available, [Frank]‘s Kerberos has MIDI In, Out, and Thru, controlled by the 6850 ACIA chip, just like the old 80s interfaces. This allows the Kerberos to interface with the old Sequential Circuits, Passport, and Datel software. He’s offering the Kerberos cart up on a crowdfunding site, so if you’d like to grab your own, have at it.

Because the Kerberos is also a Flash cart, it also ships with some of this software; [Frank] got permission from Steinberg to install their Pro 16 software with the Kerberos.  SID Wizard is also pre-loaded on the cart, along with a few other fabulous trackers and sequencers. Of course, there’s no requirement for the Flash portion of the cart to only host MIDI and synth software. You can always upload a few games to the cart over a MIDI interface. Video of the Kerberos below.

[Read more...]

Follow

Get every new post delivered to your Inbox.

Join 96,740 other followers