J
Jeremiah Dodds
Hey everyone, I'm looking for a simple way to generate a tone in ruby .
. any suggestions?
. any suggestions?
Jeremiah said:Hey everyone, I'm looking for a simple way to generate a tone in ruby .
. any suggestions?
William said:print "\a"
Jeremiah said:Well, yeah sure. What I'd like to be able to do is generate a tone of a
specific frequency. Like an A note, or a D sharp.
Jeremiah said:Well, yeah sure. What I'd like to be able to do is generate a tone of a
specific frequency. Like an A note, or a D sharp.
Jeremiah Dodds said:Thanks William and Hans. William, if I was on windows that probably
would've helped.
Hans, I don't necessarily need to save to file - it could be handy
though. I'll check out ruby-audio.
I really need to learn not to post these help requests when I'm
sleep-deprived - I leave out vital information like what exactly I want
to do, and what OS I'm running on.
I want to generate the sound real-time - so I guess I'll need to figure
out how to send it to /dev/dsp or /dev/audio or whatnot.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.