Author Topic: Encode serial data on audio file  (Read 2164 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Encode serial data on audio file
« on: March 02, 2008, 10:43:15 PM »
How can I encode serial data on audio?

For example , if i have stereo audio , and left channel is the serial data, and the right channel is the sound.

I obviously can do the sound. but how to do the serial data part?



My application is this: play a song from an ipod and at the same time decode serial data coming out of it  for prerecorded servo movements.

thanks,
eric
« Last Edit: March 02, 2008, 10:47:47 PM by airman00 »
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,659
  • Helpful? 169
    • Society of Robots
Re: Encode serial data on audio file
« Reply #1 on: March 15, 2008, 06:04:15 PM »
Quote
How can I encode serial data on audio?
Output the serial data to a microphone attached to your PC.

Or if you are afraid of breaking your PC, to a speaker next to a microphone attached to your PC.

You may need an high speed amplifier . . . like a mosfet or op-amp . . .

Offline izua

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
Re: Encode serial data on audio file
« Reply #2 on: March 15, 2008, 06:41:32 PM »
depending on the sample frequency (if you use high quality audio, for example) you can add some inaudible frequency and control it in fm, for example. of course, some circuitry should detect that freq and its modulation.
Check out my homepage for in depth tutorials on microcontrollers and electronics.

 


Get Your Ad Here

data_list