in reply to DTMF Tone Generator

$ perl -e ' local $/; $w=<>; open(F,">","/dev/dsp") && print F $w; ' /usr/local/mozilla/res/samples/test.wav

plays a wav on my linux box. YMMV

you could also move some of your calculations that don't change out of the add_tone sub.

Replies are listed 'Best First'.
Re: DTMF Tone Generator
by Coruscate (Sexton) on Mar 20, 2003 at 23:22 UTC

    Why not just a simple `play /usr/local/mozilla/res/samples/test.wav` ??


    If the above content is missing any vital points or you feel that any of the information is misleading, incorrect or irrelevant, please feel free to downvote the post. At the same time, please reply to this node or /msg me to inform me as to what is wrong with the post, so that I may update the node to the best of my ability.