Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Triangle/saw/square waves

Invisible executive?

8:42 pm on May 8, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2004
votes: 0

Hi all, does anybody know of a daemon or background process script or executable for Linux that can be used to play different pitch waves for certain durations, such as saw or sine or triangle waves? Thanks in advance


5:20 am on May 14, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 26, 2005
votes: 0

You should be able to find some simple command-line sample apps to do this if you poke around the documentation for ALSA and/or the various higher-level libraries for working with ALSA.

I wrote a pair of interfaces between ALSA and text-to-speech and speech-to-text libraries a while back. I don't have the code, though, as it was done on contract.

I do recall that I used one of these wave-generating sample apps as a starting-point for the text-to-speech interface.