Dial-A-Song Diary, Day 1

Dial-A-SongWhen the alternative rock group They Might Be Giants were in studio last spring they complained about the problems they were having getting a reliable Dial-A-Song system up and running. I foolishly volunteered to work something up – and now they’re coming back in a week and I’ve got to have something working ASAP. This weekend, in fact. So follow along as I tear out my hair, howl at the moon, and stay up all night creating the Amazing Disc Based All Digital Dial-A-Song Doohickey.
First a little history. TMBG pioneered Dial-A-Song in the early 80s using a plain old telephone answering machine. Fans would call 718-387-6962 (a Brooklyn number – NOT toll free), a song would play, and the machine would hang up. Fans found this endlessly amusing. The band has since become pretty famous and probably doesn’t need the promotional bump that Dial-A-Song provides, but to their credit, John and John don’t want to abandon their roots and they keep it going. But the guys would like to make it a little easier, and perhaps more reliable. For instance, they’d like to use existing MP3s of their songs instead of recording directly into an answering machine. And it would be nice if the songs rotated as they do on the band’s fab Dial-A-Song web site.

After talking with John Flansberg, I’ve come up with the following plan. I’m going to build a Linux box, attach it to a voice capable modem, then use the vgetty program – a voice mail program based on mgetty, the modem tty program – as an answering machine. John can put a CD full of MP3s in the CD-ROM drive, along with an outgoing message named message.mp3. Each hour a cron job will select an MP3 from the CD at random, merge it with the outgoing message, then convert it to the Rockwell voice format needed by the modem. Vgetty will play the new song until the next hour. Fortunately, there’s no user interface needed. John can control the songs by switching CDs any time. If the machine crashes or the power goes out, it will reboot and pick up where it left off. The voice modem is external so J&J can turn it up to check on how it’s working, or turn it off if they’re working. They can also reset the modem without rebooting if it gets stuck, as modems often do. I’ll do this all with bash shell scripts. There will be minimal error checking necessary – I think we’ll have a default song that will play if the script can’t read the CD or something goes wrong in transcoding the MP3 – but otherwise the thing is designed to just sit in the corner and work forever. I hope.

The Linux box is running, a minimal Red Hat 8 is installed. I’ve got a voice modem: the US Robotics 56k Voice Faxmodem (0525). I’m downloading mgetty now. Once I compile and install it, I’ll get the vgetty extensions, and then try to see if I can get it to talk to the modem and answer the phone. I just have to find a dang serial cable. I’ll check in again when I’ve got that minimal setup working.

12 Replies to “Dial-A-Song Diary, Day 1”

  1. I am impressed Leo… I would like to see it on the Screensavers when you get it done.
    Who said that Yoshi was the mod master.
    (This shoulds like fun)

  2. Leo!
    We watch you everyday on both CFH and TSS. This kind of stuff in your blogs…is what makes you so great!! Keep going!
    Tammie and Mack

  3. *whimper* i miss programming. i’m having an internal debate right now over taking cobol for the pure entertainment value of it (check out the courses they’ve got for computer science here. they’re amusing to say the least: http://www.adrian.edu/Catalog/Dept2.htm#Computer ) or anthropology which i haffta take to get out of this hole of a college… leo, if you get too frustrated at any point, take some violence out on me… but please scream, “take anthropology, not cobol!” while you’re doing it. i need some persuasion to do what’s proper. 🙂

  4. Leo, you are awesome! TMBG is one of my most favorite bands of all time. I’ve been a HUGE fan since the 80’s. Thank you so much for helping them out with this. Now two of my favorite things come together on a project, yeah…. Leo and the John’s. Yahoo!

  5. Umm… couldn’t they just continue to use the answering machine in the meantime? I want my dial-a-song!

  6. Your amaZing. Simple as that. I would never think of anything like that. TMBG are really geeky too. Good luck with that project!

  7. I’d like throw in my vote for putting the final product on TSS. I like Kreg’s comment about Yoshi being the modder. If not him, I expected this to be something Kevin would do. Either way, keep us posted, this is definitely a cool project.
    If you need someone to call it for a beta test, please email me.

  8. Hello, it’s 2008.So, I am a huge fan but this is not the problem.I work at a library where I came across this album Dial A Song. So I checked it out through the Library. After many hours of enjoyment I returned the CD’s without the insert!!! I lost it I guess I cannot find it. This was well over a year ago now. I will have to pay $52.94 for the INSERT!!! The CD’s are returned and to buy myself some time I said I bought the album just for the insert and will bring it in asap. This is so not good. I have been everywhere searching where can I make a copy , print it out find it anything I have to get it back to him.

Comments are closed.