Simple way to play a single frequency in java?
Posted
by alleywayjack
on Stack Overflow
See other posts from Stack Overflow
or by alleywayjack
Published on 2010-06-07T18:09:41Z
Indexed on
2010/06/07
18:12 UTC
Read the original article
Hit count: 163
I just want to play a very simple, straight forward note by giving my computer a certain frequency as an integer, and from there I can figure out how to make it play the note longer or shorter. It does not necessarily have to come out of the actual sound card - if it's generated and output by the internal speaker that's okay.
I looked at the midi libraries that java has included, and they are way more than what I want to do. This just needs to be very basic.
© Stack Overflow or respective owner