Featured in a SparkFun print ad

by

I am honored to be featured in a SparkFun print ad, running full page in the current issues of Make Magazine, Circuit Cellar, Nuts & Volts and Servo magazines – truly a collection of geek journals. The media gang from Boulder, Colorado came to Boston during the installation of Another Side of In at Boston Children’s Museum, and shot the photo in my Waltham Mills studio.

The associated page on the SparkFun website also has a video shot and edited by Chris Rojas of SparkFun, with me discussing the development of the MP3 Trigger product and intercut with behind-thescenes footage from the Children’s Museum install.

They were a pleasure to meet and work with, and I look forward to seeing some of them at Maker Faire next month.

0

A New DSP Platform for Audio and Musical Instrument Effects

by

carina480While at iZotope, I searched for a hardware DSP platform we could use for algorithm development as well as for prototyping hardware effects. Of course, nowadays, you can use a desktop computer, the Steinberg SDK and a VST host for algorithm development, but there’s nothing like a real hardware prototype when you want a good demo or when you really need something you can take on the road (or for making your own high-end stomp box.)

What I discovered fell into three categories:

1) Evaluation boards (EZ-Kits) from the major DSP chip suppliers - There are several issues with these, the most serious being that they are not specifically designed for audio, and very often their analog sections, including the connectors, leave much to be desired.  These boards are designed for general evaluation and usually have much more stuff than you need if you’re focusing on audio. And as a result, they are often larger and more expensive than you’d like .

2) Open platform stomp-box kits – There are two that I know of, and in my opinion, both are seriously crippled in terms of resources (speed, data RAM and program storage space) and don’t handle stereo input.  I don’t want to be constantly reminded how little memory or how few MIPs I have to work with. Also, I want to program in C++, not assembler. Ideally, I want my algorithm to compile either for VST or my hardware platform, so a mature tool chain is very important.

3) Third party single board computers with DSP - Again, I found none designed specifically for audio. Some have add-on “daughter cards” that support decent audio interfaces, but the resulting assemblies are expensive and unwieldy for my purposes. The form factors were not good for an audio effects unit.

I want something I can run serious audio algorithms on, drop into a project box, easily interface to user controls and prototype a real product. Bottom line: we couldn’t find what we were looking for.

Reasoning that if I was looking for such a thing in vain, others might be, I’ve partnered with AeVee Labs (folks who specialize in high-end audio DSP hardware design) to come up with a dedicated audio DSP platform. Pictured above, and code-named “Carina“, it’s a BF51XF Blackfin board designed specifically to be the DSP engine of a stereo-in, stereo-out audio signal processing box.

Enough background. Here are some hardware specifics:

Processor and memory

  • BF51XF Blackfin DSP running up to 400MHz
  • 256Mbit external SDRAM (32MB)
  • 32Mbit external parallel Flash (4MB)
  • 4Mbit external serial Flash (500KB)

Audio

  • Analog Devices ADAU1361 stereo codec
  • 24-bit ADC/DAC >98dB SNR, sample rates up to 96KHz
  • Programmable routing options for multiple input and outputs
  • 2-channels balanced inputs (two 1/4″ balanced jacks)
  • Stereo unbalanced aux input (one 1/8″ stereo jack)
  • 2-channels balanced outputs (two 1/4″ balanced jacks)
  • Stereo unbalanced output(one 1/8″ stereo jack)
  • Headphone output (one 1/4″ stereo jack)

Other

  • USB to Blackfin UART for connectivity using FTDI USB drivers
  • RS-232 serial port connector option
  • SPI port and all unused Blackfin GPIO available on expansion connector
  • Flexible power options including battery connection and on-board power switch
  • JTAG connector
  • Boot mode selector switch

Note that the layout is intended to facilitate dropping the board into an enclosure. All of the I/O (and power switch) are along two adjacent sides, so that installation into an off-the-shelf enclosure should just be a matter of drilling some holes. The enclosure dimensions need not be exact.

Where we are today:

The photo above is the real deal - the first board is up and passing audio. I’m currently working on low-level code to initialize the board’s hardware resources and to handle the basics of getting block-based audio in and out of the Blackfin efficiently. As is typical for AeVee Labs, there are so far no mistakes in the hardware.

Where we’re headed:

I envision making Carina available in two forms: First, I’d like to offer this board to those needing just what we needed at iZotope – namely, a cost-effective, powerful audio DSP platform that can be used simply for algorithm development as is, or which could be the foundation of a real product. I’ll provide a firmware framework to handle all hardware initialization and routing of audio to and from the Blackfin, and an easy drop-in architecture for mono and stereo effect “plugins”. Furthermore, the framework will route serial control messages from either the USB or the expansion SPI port to the algorithm, making it straightforward to control parameters from either a host program or a custom UI hardware board. And good documentation!

Secondly, I’d like to see a finished signal processing box, in an enclosure  and complete with a general purpose user interface (pots, LEDs and a display), with the ability to create and download your own effects through the USB port. This solution would allow someone to completely focus on the algorithm component and have a great little custom audio effects unit. A stomp box on steriods!

The fly in the ointment at this point is the software development tool chain. The code is currently being developed using Analog Devices VisualDSP 5, which is great but wicked expensive. ADI recently announced a low-cost emulator, but at the moment their dev software is still big bucks. Maybe that will change…

In the meantime, there’s the free GNU tool chain. Never having used it myself, I’d love to enlist the help of those of you who have. My goal is to get to a point where someone can focus on algorithm development and where it’s easy to drop your own algorithm in a piece of powerful hardware.

I’ve created a forum for this project over on the “Forum” tab, so feel free to post comments/questions either here or over on the forum.

More to come…

4

“Another Side of In” Opens at Boston Children’s Museum

by

Gallery480

Photo by David Barron

Marge, Myk Ostrowski and I installed a 10-piece version of “Another Side of In” in the gallery at Boston Children’s Museum.  The 3-sided gallery is a perfect space for the exhibit, and a natural fit for the “Art Meets Music” theme for February.

The museum did a fantastic job of designing panels for each piece that utilize their existing hanging system. The panels allowed us route the power cord through the back and to mount the Maxbotix rangefinders from the rear through a hole in the panel below each piece. After covering the sensor with gauze, it becomes almost invisible.

The computer is mounted above a ceiling beam in the upper left of the above photo, and three 4-channel DMX dimmers are spaced evenly about the ceiling and mounted to the beams. The wireless network means that there is no need to run cables to the individual pieces or to the lighting system, so installation is pretty simple.

3817-18If you look carefully at the picture to the left, you’ll see the red SparkFun MP3 Trigger board, which is what I use as the looping sound source for each piece. Using a shunt jumper on the first trigger input causes the MP3 Trigger to play the 45-minute track endlessly, and the serial interface is used to send real-time volume updates at a speed which produces smooth gain changes.

The other board interfaces to the rangefinder and calculates the volume based on proximity. It also has a Cypress LS WirelessUSB radio module to communicate with the PC in the ceiling. The main purpose of the wireless network is twofold: First, to synchronize the ultrasonic rangefinder “pings” so there’s no crosstalk, and second, to feed the position information to the PC controlling the lights.

One important change we made during the installation is to set the default light level on each piece to something more than nothing. The original idea was that all pieces would start out “dark” and the light would come up only when someone approached. However, the gallery just looked too spectacular with light on all the pieces to leave it all dark, so I reprogrammed the system so that the minimum light level on each piece is bright enough to create a nice effect, but increases dramatically when you approach each piece. Much better!

Reports from the museum are great. Kids, adults and families are exploring the art in the gallery moreso than with any previous installation.

0

Updating the MP3 Trigger Firmware

by

The MP3 Trigger is now shipping from SparkFun, and I’ve already been asked about support for different baud rates on the serial port. As shipped, the unit supports 38.4Kbps and is not user configurable. I chose this relatively high data rate because I needed to send updates as quickly as possible to avoid clicking and distortion when dynamically altering the volume – many small changes are better than a few big ones. I understand that not everyone needs this feature, and some may want to control the MP3 Trigger from devices that don’t support such a high baud rate.

For the time being, I’ve built alternate versions of the v1.01 firmware (the version that SparkFun is shipping at this date) for 2400 and 9600 baud.  Please do not ask SparkFun to modify the firmware before shipping – they are simply not able to do this on a case-by-case basis.

You can download the hex files here:

MP3 Trigger v1.01 38.4K baud firmware (as shipped)
MP3 Trigger v1.01 9600 baud firmware
MP3 Trigger v1.01 2400 baud firmware

In order to make use of the above hex files, you’ll need a way to utilize the in-circuit programming connector on the MP3 Trigger. The easiest solution is to get a Cypress MiniProg for around $25. Since there is no header installed for this on the MP3 Trigger, a 5-pin male header can be used for temporary connection.  The following picture shows the MiniProg and appropriate header.

MP3Prog001

The next picture shows the header inserted into the female connector of the MiniProg, then inserted into the connector on the under side of the MP3 Trigger and properly oriented.

MP3Prog002

I’ve created a forum dedicated to discussion and questions about the MP3 Trigger. If and when you get to the point of reprogramming your firmware and have questions, that’s a good place to go and it will help me get the forums going. You can also leave comments/questions here.  And I’ll do my best to monitor the SparkFun forum as well.

-Jamie

6

CD Packaging as Instrument

by

As a rule, I’m not a big fan of lo-fi music. I’ve got to admit, however, that this is a really great idea and an excellent execution, at least for this style of music. Not sure how to pull something like this off for an acoustic guitar CD…

0

Announcing a New Embedded MP3 Player

by

Want to add music, dialog or sound effects to your next project? Introducing what may be the world’s most flexible, low-cost, low-power embedded MP3 Player – the MP3 Trigger.

MP3Trigger

During the development of “Another Side of In“, I purchased and tried out all of the inexpensive embedded MP3 players I could find that provide serial remote control. None of them, it turns out, support real-time volume updates at the rate I required for tracking position and producing smooth volume changes. So I ended up designing my own, which you can see in this video. I only needed a small number, so I cut corners on the PCB design and fab.

At Maker Faire this past April, I showed my player to Nathan Siedle from SparkFun, and we decided then and there to add some cool triggering features and turn it into real product, available through SparkFun.  Here are the main features:

  • Plays MP3 files (up to 192Kbps stereo) from FAT formatted microSD card.
  • Full-duplex serial port for complete control of transport, track selection and volume.
  • Serial connector pin-compatible with SparkFun USB-to-serial converter for direct USB remote control (and power!)
  • 7 digital inputs for direct triggering of specific tracks, compatible with both Arduino outputs and simple contact closures. (Wire up switches directly to the MP3 Trigger!)
  • Trigger inputs can be jumpered to automatically sequence and loop from 1 to 7 tracks on power-up.
  • On-board navigation switch and 1/8″ stereo line-level output jack.
  • 4.5VDC to 12VDC power input at 80mA. Flexible power connection options.
  • Not a kit: Completely assembled and tested at only $49.95

The first build is in, and we’re just waiting for the product to go live on the SparkFun website. I’ll post a direct link here as soon as one becomes available.

In the meantime, if you are going to Maker Faire, RI on Saturday, please stop by and see the MP3 Trigger in action.

Update Monday, Sept 21, 2009

Thanks to everyone that stopped by the table at Maker Faire, RI. I thoroughly enjoyed meeting and talking with everyone.

As promised, here’s a link to the product page at SparkFun, where you’ll find both the schematic and user manual.

3

We’ll be at Maker Faire Rhode Island

by

MFRILogo

This regional version of Maker Faire takes place in Providence on Saturday, Sept 19th. We’ll be there as an exhibitor showing the technology behind “Another Side of In“, as well as a new product for the DIY/Maker community.

Hope to see you there.

0

Art of Sound Contest

by

contest

The folks over at instructables are having a contest that’s worth a look, if only to spark your own creative ideas. Loosely defined as “open to any project that creates something beautiful with or around sound”. There are already over 70 entries like this one…

pedal

…and while some of them are silly and/or trivial, you always have to respect just showing up for the game. Can’t say as I’m inspired by the prizes – not sure what I’d do with orange racing stripe upholstered speakers – but you certainly may feel differently.

Check it out here.

0