Pages: [1]   Go Down
Author Topic: Speech synthesis program output audio to arduino  (Read 1048 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,

 If I use something like, say MS Sam, and generate audio, is it possible to transfer this data serially to the arduino? Then the arduino can output this  somehow to a speaker. How big would the delay be? And how should I go about doing this?

Thanks
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 627
Posts: 34230
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
and generate audio, is it possible to transfer this data serially to the arduino?
You will need to turn the audio back into digital numbers before you can pass it down the serial port.
Then you have the problem of converting the digital numbers back into analogue on the arduino. It only has PWM output for analogue and that is not very good for audio plus it is only 8 bits which is telephone quality at best. So you would need an external A/D chip.

Finally the data rate needs to be high but the serial port is only a limited speed.

What is an MS Sam, I have never come across one.
Logged

Nowhere
Offline Offline
God Member
*****
Karma: 3
Posts: 852
|-\ |\|\
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

MS sam is the windows TTS software.
Microsoft Sam (they decided to name the dude sam).


To the OP, why do you need to do this?  Why could you not just make a simple amplifier to drive a speaker from the audio output jack?
Logged

Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i was thinking of doing this because i needed this to be transferred wirelessly through bluetooth. but theres too many problems with this setup so I probably won't do it.
Logged

Pages: [1]   Go Up
Jump to: