A DTMF Decoder for SoundPlay?

smallbee2People familiar with the SoundPlay audio player know it is extremely plugin friendly, which is one of the many good reasons why TuneTracker Systems chose it as the audio engine for its radio automation product.  Now, TT Systems is looking for a programmer to create a special plugin for use in broadcast situations.

Picture a radio network that has many affiliate stations.  The local affiliates play the network programming until they are sent a simple little dual-tone-multi-frequency (DTMF) signal.  Often it’s just two or three little bleeps that sound like the touch tones you hear when you push buttons on a telephone.  Odds are you’ve heard them on some broadcasts.   Now picture TuneTracker and SoundPlay broadcasting that live audio, and listening for the tones.  When they come through, SoundPlay sends TuneTracker a message that tells it to play a local break.  At the end of that break, TuneTracker returns to broadcasting the network programming again.

What’s needed then, is a SoundPlay plugin that can monitor live audio, and recognize the tones when they come through.  When they do, they’d send a simple bmessage to TuneTracker.  That’s the goal, and TuneTracker Systems would like to commission someone to accomplish that.  They can do the work for a straight fee, or receive a commission on every sale of the plugin, into the future.

If you’re interested, you can contact TuneTracker Systems directly.  And comments are welcome here too, of course.


9 Comments (+add yours?)

  1. Vadim Bobkovsky (@v_bobok)
    Jun 25, 2013 @ 03:21:50

    What we really need is opensource’d version of SoundPlay or equally powerful modern media player for Haiku R1+ GCC4


  2. AGMS
    Jun 25, 2013 @ 13:38:15

    There seem to be quite a few DTMF decoders out there (just do a Google search). There’s even source code for some, like http://code.google.com/p/dreadtech-dtmf-decoder/source/browse/trunk/ which includes the math for filtering sound data into the 8 different frequency bands DTMF uses.


  3. dsuden
    Jun 25, 2013 @ 20:12:44

    Well that sounds like it would certainly provide a solid head-start on it!


  4. ttcoder
    Jun 28, 2013 @ 14:26:36

    To clarify, does the DTMF tone come through the “line-in” jack, aka “input:” track as SoundPlay calls it (in which case the would-be plugin needs to be based on the “Audio-In” plugin to open the line-un/mic stream and do the waveform detection on that; unless Audio-In itself is active all the time and the would-be plugin can snoop on it, probably better that way), or through a “relayed URL” (which you assign to SoundPlay with a classic http:// … address), in which case it could be a generic plugin ? Or something else altogether ?


  5. AGMS
    Jun 28, 2013 @ 16:15:37

    If it’s embedded in the audio, can someone in a call-in show hit the buttons on their touch tone telephone and accidentally switch audio inputs at the station?


  6. dsuden
    Jun 28, 2013 @ 16:39:40

    Interesting question indeed. They’d almost need to know the magic combination, since it’s usually three or more tones in a specific sequence.


  7. HaikuOSFan
    Jul 28, 2013 @ 23:11:47

    Any news about it?


  8. ttcoder
    Jul 31, 2013 @ 10:30:29

    From what I understand, Alex might take a stab at it in the near future; and I might help out a bit in a few weeks, but too much stuff going on right now.


  9. AGMS
    Jul 31, 2013 @ 19:14:13

    I’m hoping to have a look at DTMF in the fall. If anyone else has more time, feel free to jump in and take over the project.

    I’m still working at the cottage (lots of painting, and odd things like repairing the tool shed shelves after the shed was knocked over by a truck hitting the clothes line), not much time to code. Yet more guests will be arriving tomorrow. At least I have set up an old Pentium III PC (Win98 and Linux) and gotten ADSL installed this summer, so I can hopefully look at the source code to prepare.


Add your comment!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: