Hello: In java.awt.Toolkit we have the beep() mehtod to emit an audio beep. I would know if there is a similar method to etmit a beep in a certain frequency (in Hertz) for a certain time (in seconds or milliseconds). It will be like:
=================================<br /> Rafael U. C. Afonso<br /> <a href="http://www.javafree.com.br" target="_blank" rel="nofollow">www.javafree.com.br</a><br />=================================<br /><i>Where is debug?<br />debug is on the table</i>
Stephan: Thanks, but I do not want anything relationed to Java Media or Multimedia. I want a simpler thing. I remember that in Turbo Pascal (or Turbo C) there is a function similar what I want. But I do not remember what its name and I do not find it anywhere in Internet. Does someone know? Thanks,
Well - it's really not complicated (even me, who knows nothing about midi, ogg, mp3, au and wav solved it). The alternative 1 would be to implement it in c/c++ and call a native interface - more complicated in my opinion and not portable, but with the benefit that it will run on computers without soundcard And the second: implement as well in a different language, but make it executable, and call Runtime... Both suffer from the fact, that there is no volume - control to the user. If the users have a very old jvm, it could be an argument.
Joined: Jul 16, 2002
Hello: That is the question: I don't want use card sound. So, it seems that I would need JNI to create a *.DLL or *.SO. Is there a library in C or Pascal that can do it? Thanks,