[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microsound] text to sound conversion




The easiest way to convert text to sound, if you're using unix, it to simply redirect sound to the audio device:

cat text_file > /dev/audio

or:

play -f s -c 2 -s w -r 11025 -t raw text_file

I'd prefer to analyse text then produce some kind of mediated
output based on my own algorithms, but this can be fun.

I'm doing a little project where I'm using the binaries of audio
programs to create sounds, something I find ironic in a way,
and I used this to get started.

I find:

play -f s -c 2 -s w -r 11025 -t raw `which csound`

to have an awesome, wholesome groove.

--
http://alex.bash.sh


--------------------------------------------------------------------- To unsubscribe, e-mail: microsound-unsubscribe@xxxxxxxxxxxxx For additional commands, e-mail: microsound-help@xxxxxxxxxxxxx website: http://www.microsound.org