Zynq And The OPL3 Music Synthesizer

We’re big fans of the Zynq, which is an answer to the question: what do you get when you cross a big ARM processor with a big FPGA? So it isn’t surprising that [GregTaylor’s] project to emulate the OPL3 FM Synthesis chip in an FPGA using the Zynq caught our eye.

The OPL3 (also known as the Yamaha YMF262) was a very common MIDI chip on older PC sound cards. If you had a Sound Blaster Pro or 16 board, you had an OPL3 chip in your PC. The OPL3 was responsible for a lot of the music you associate with vintage video games like Doom. [Greg] not only duplicated the chip’s functions, but also ported imfplay from DOS to run on the Zynq’s ARM processors so he could reproduce those old video game sounds.

The Zybo board that [Greg] uses includes an Analog Devices SSM2603 audio codec with dual 24-bit DACs and 256X oversampling. However, the interface to the codec is isolated in the code, so it ought to be possible to port the design to other hardware without much trouble.

To better match the original device’s sampling rate with the faster CODEC, this design runs at a slightly slower frequency than the OPL3, but thanks to the efficient FPGA logic, the new device can easily keep up with the 49.7 kHz sample rate.

Using an FPGA to emulate an OPL3 might seem to be overkill, but we’ve seen worse. If you prefer to do your synthesis old school, you can probably get a bulk price on 555 chips.

Continue reading “Zynq And The OPL3 Music Synthesizer”

Hackaday Prize Entry: Synthetic Aperture Multispectral Imaging

[Conrad] was tasked with building a synthetic aperture multispectral imaging device by his professor. It’s an interesting challenge that touches on programming, graphics, and just a bit of electrical engineering.

Tucked inside a garish yellow box that looks like a dumb robot are five Raspberry Pis, a TP-Link Ethernet switch, three Raspberry Pi NOIR cameras, and a Flir Lepton thermal camera. With three cameras, different techniques can be used to change the focal length of whatever is being recorded – that’s the synthetic aperture part of the build. By adding different filters – IR pass, UV, visual, and thermal, this camera can record images in a huge range of wavelengths.

[Conrad] has come up with a completely modular toolbox that allows for a lot of imaging experiments. By removing the filters, he can track objects in 3D. With all the filters in place, he can narrow down what spectra  he can record. It’s a mobile lab that’s completely modular, and we can’t wait to see what this little box can really do.

 

The 2015 Hackaday Prize is sponsored by:

Busted Wah Pedal Becomes New Synth Tool

Sometimes we get lucky and find a part we need for a project in our parts drawer. [Scissorfeind] got even luckier and found a part for his project lying around in the street. It was a Crybaby Wah pedal, a classic effects pedal typically used for a guitar. Since it was somewhat damaged, [Scissorfeind] got to work creating a control voltage (CV) and volume circuit for his Korg synthesizer.

For those who aren’t synthesizer aficionados, CV is a method of controlling the pitch of a tone. A higher voltage creates a higher tone and vice-versa. The wah pedal has a rocker on it that allows one’s foot to control the effect, but this particular one has been modified for CV instead of the wah-wah sound these pedals normally make. [Scissorfeind] built in a switch that will allow it to control volume as well, which makes this pedal quite unique in the effects world.

[Scissorfeind] built the custom circuit out of other parts he had lying around (presumably not in the street) and put the entire thing together on perfboard, then fit it all back together in the pedal. Now he has a great control voltage pedal for the vintage Korg synthesizer he recently restored! [Scissorfeind] knows his way around a synth, but if you’re looking to get started on a synthesizer project we have a great tutorial for you!

An Electronic Woodwind With An Onboard Synthesizer

About a year ago, we saw a project on Hackaday.io for a MIDI wind controller. Keyboard MIDI controllers are a dime a dozen, but if you want something that actually sounds like a brass or woodwind instrument, you need something that’s controlled by a breath sensor. Since then, this project has been updated with an onboard synthesizer. It sounds great, and thanks to some interesting components, the part count is actually really low.

The synthesizer used for this project is just a single chip – the DSP-G1 from [Jan Ostman]. This isn’t a custom ASIC or anything fancy; it’s just an 8-pin ARM microcontroller in DIP format, the LPC810.

The rest of the instrument is just a series of pressure sensors along the body, and a breath sensor. The plan is to stuff all the electronics – a microcontroller to read the touch and breath sensors, the DSP-G1 chip, and the battery  – inside the body of the instrument. That’s something that would be incredibly cool, and much more capable than the wind controllers that are available today.

You can see a few videos of the wind controller below.

Continue reading “An Electronic Woodwind With An Onboard Synthesizer”

Retrotechtacular: Hand-Synthesized Sound

When you think of early sound synthesis, what technologies come to mind? The Hammond Organ?  Or perhaps its predecessor, Thaddeus Cahill’s Telharmonium? In the early 1920s and 30s, many Bauhaus artists were using paper and film to synthesize musical instruments.

A few of them experimented with the optical film soundtrack itself, drawing waveforms directly upon it. [Evgeny Sholpo] created an optical synthesizer he called the Variophone. It used cardboard disks with intricate cutout patterns that resembled spinning, sonic snowflakes.

During the early 1930s, an artist named [Nikolai Voinov] created short animated films that incorporated the cut paper sound technique. [Voinov]’s soundtrack looked like combs of varying fineness. For his animated figures, [Voinov] cut and pieced together characters from paper and made them move in time to his handmade paper soundtrack.

In [Voinov]’s “Dance of the Crow”, an animated crow struts his stuff from right to left and back again while working his beak in sync with the music. The overall effect is like a chiptunes concertina issuing forth from a crow-shaped pair of bellows. It’s really not to be missed.

Thanks for the tip, [Leo]!

Retrotechtacular is a weekly column featuring hacks, technology, and kitsch from ages of yore. Help keep it fresh by sending in your ideas for future installments.

Slick Six-Voice Synth For AVRs

He started off making an AVR synthesized guitar, but [Erix] ended up with much more: a complete six-voice AVR wavetable synthesis song machine that’ll run on an ATMega328 — for instance, on an Arduino Uno.

If you’re an AVR coder, or interested in direct-digital synthesis or PWM audio output, you should have a look at his code (zip file). If you’d just like to use the chip to make some tunes, have a gander at the video below the break.

Continue reading “Slick Six-Voice Synth For AVRs”

Synth Guitar

Arduino Synth Guitar Really Rocks

[Gr4yhound] has been rocking out on his recently completed synth guitar. The guitar was built mostly from scratch using an Arduino, some harvested drum pads, and some ribbon potentiometers. The video below shows that not only does it sound good, but [Gr4yhound] obviously knows how to play it.

The physical portion of the build consists of two main components. The body of the guitar is made from a chunk of pine that was routed out by [Gr4yhound’s] own home-made CNC. Three circles were routed out to make room for the harvested Yamaha drum pads, some wiring, and a joystick shield. The other main component is the guitar neck. This was actually a Squire Affinity Strat neck with the frets removed.

For the electronics, [Gr4yhound] has released a series of schematics on Imgur. Three SoftPot membrane potentiometers were added to the neck to simulate strings. This setup allows [Gr4yhound] to adjust the finger position after the note has already been started. This results in a sliding sound that you can’t easily emulate on a keyboard. The three drum pads act as touch sensors for each of the three strings. [Gr4yhound] is able to play each string simultaneously, forming harmonies.

The joystick shield allows [Gr4yhound] to add additional effects to the overall sound. In one of his demo videos you can see him using the joystick to add an effect. An Arduino Micro acts as the primary controller and transmits the musical notes as MIDI commands. [Gr4yhound] is using a commercial MIDI to USB converter in order to play the music on a computer. The converter also allows him to power the Arduino via USB, eliminating the need for batteries.

Continue reading “Arduino Synth Guitar Really Rocks”