Hidden Messages In Audio

[Alex] tiped us off about the evil sounding noises coming from http://www.thedarkknightrises.com/. when you go there your pretty much greeted with a wav file and if you have a quick eye on the status bar its pretty easy to get the direct link to the file and download it. Thats all great, but why would you want to?

Well if you play back the file in a program that supports spectrograms (like audacity) you will find that there is a twitter hash hidden within the audio spectrum, that presents itself as plain text in a pretty well rendered font. Of course this leads you to another part of the site where yet another puzzle awaits you.

While this is all an interesting way to stir up buzz about the upcoming (Batman) movie, we found hiding plain text in an audio file pretty wild, though its been done before or better such as the post we had not too long ago about Ham’s packing QR codes in a similar way.

Generating Pink Noise

[Miceuz] just finished his first surface mount electronics project. It’s a pink noise generator that is used for testing audio equipment (scroll down that link for the English version of his writeup).

Pink noise is somewhere in between red noise and white noise. Didn’t realize there were more colors than just white when it comes to noise? The benefit of testing with pink noise is that it the power of the audio signal is stable through each octave of sound – white noise increases in power with each additional octave which can damage the tweeters in a sound system.

The goal in this design was to build a noise generator that fit into an XLR connector. [Miceuz] started with an existing design, and altered it to suit his needs. Much like a condenser microphone, the pink noise generator uses phantom power instead of a standalone power source. For instance, the design he based this on required two 9v batteries. The size, the choice of case, and the absence of a battery all spell WIN for this project.

Class-D Audio Amplifier Makes It From Breadboard To PCB

[Ben Laskowski’s] been working on a Class-D audio amplifier for several months. What you see above is the most recent version of the amp. A class-D amplifier uses transistor switching (or in this case MOSFET switching) to generate the pulse-width-modulated signal that drives the speaker. This is different from common amplifiers as it doesn’t generate the kind of heat that traditional amplifiers do, making it much more efficient.

After the break you can hear it demonstrated. It’s operating off of a single-supply laptop brick and we do hear a bit of a hum coming through the system. Still, we’re quite pleased at the power and quality the small board can put out. Take a look at a post from November to get a handle on what went into development. If you still hunger for more details, [Ben’s] shared the bulk of his prototyping materials in the github repository.

Continue reading “Class-D Audio Amplifier Makes It From Breadboard To PCB”

Adding Ethernet Control For A 5.1 Speaker Set

[HuB’s] set of 5.1 surround sound speakers was gobbling up a bunch of electricity when in standby as evidenced by the 50 Hz hum coming from the sub-woofer and the burning hot heat sink on the power supply. He wanted to add a way to automatically control the systems and offer the new feature of disconnecting the power from the mains.

The first part was not too hard, although he used a roundabout method of prototyping. He planned to use the IR receiver on the speakers to control them. At the time, [HuB] didn’t have an oscilloscope on hand that he could use to capture the IR protocol so he ended up using Audacity (the open source audio editing suite) to capture signals connected to the input of a sound card. He used this to establish the timing and encoding that he needed for all eight buttons on the original remote control.

Next, he grabbed a board that he built using an ATmega168 and an ENC28J60 Ethernet chip. This allows you to send commands via the Internet which are then translated into the appropriate IR signals to control the speakers and a few other devices in the room. The last piece of the puzzle was to wrap an RF controlled outlet into the project with lets him cut mains power to the speakers when not in use. You can see the video demonstration embedded after the break.

Continue reading “Adding Ethernet Control For A 5.1 Speaker Set”

Touch-based Synthesizer Is A Wiring Nightmare

[Jane] wrote in to let us know about the touch-based synthesizer she and her classmates just built. They call it the ToneMatrix Touch, as it was inspired by a flash application called ToneMatrix. We’re familiar with that application as it’s been the inspiration for other physical builds as well.

A resistive touch screen in the surface glass of the device provides the ability to interact by tapping the cells you wish to turn on or off. Below the glass is a grid of LEDs which represent sound bits in the looping synthesizer track. Fifteen shift registers drive the LED matrix, with the entire system controlled by an ATmega644 microcontroller. Although the control scheme is very straight forward, the jumper wires used to connect the matrix to the shift registers make for a ratsnest of wireporn that has been hidden away inside the case. Check out the demonstration video after the break to see what this looks like and sounds like when in use.

Continue reading “Touch-based Synthesizer Is A Wiring Nightmare”

Generating Music With Credit Cards

mozarts_credit_card

[Steve] was browsing around at a local electronics surplus store when he spotted an old Tranz 330 point-of-sale terminal that seemed pretty interesting. He took it home and after disassembling it, found that it contained a Z-80 based computer. Because the 330 shares the same processor as other hobbyist-friendly devices such as the TRS-80, he figured it would be quite fun to hack.

While the Z-80 processor is pretty common, [Steve] still had to figure out how it was interfaced in this particular device. After spending some time reverse engineering the terminal, he had free reign to run any program he desired. After thinking for a bit, he decided it would be cool to use the terminal to generate music based on whatever card was swiped through the reader – he calls his creation “Mozart’s Credit Card”.

He found that just playing sounds based on the raw contents of the mag strips didn’t produce anything coherent, so he wrote a small application for the terminal based on the Melisma Stochastic Melody Generator. Music is generated somewhat randomly using various card characteristics, as you can see in the video below.

We think it’s pretty cool, but [Steve] says he’s always open to suggestions, so let us know what you think in the comments.

Continue reading “Generating Music With Credit Cards”

Digital Audio On The Parallax Propeller

[Beth] had the idea for transmitting digital audio over S/PDIF on a Propeller a few years ago, but only just got around to a writeup. For that, we thank her.

The writeup has a marvelous walkthrough of the S/PDIF protocol and the problems associated with with generating the signal. S/PDIF is a relatively resource-intensive protocol – the signal is clocked at 64x the audio sample rate. That signal is doubled for biphase mark code, keeping everything in sync. [Beth] says the microcontroller would neet at least 24 MIPS of processing power just to generate the S/PDIF signal – processing audio would be another task altogether. Because of the processing power needed, and the weird clock rates needed, [Beth] decided to go with the Propeller. The implementation uses only one core of the Propeller, leaving another seven cores available for sound synthesis or even a visualization over VGA.

[Beth] admits this could be done with just about any microcontroller (although it would need to be clocked at a multiple of 4.096 MHz for a 32kHz audio stream), but we really appreciate the work that went into bit-banging this signal.

Video of [Nick] at Gadget Gangster playing around with digital audio on a Propeller after the break.

Continue reading “Digital Audio On The Parallax Propeller”