com.aurellem.capture.examples
Class HelloAudioRecording
java.lang.Object
com.aurellem.capture.examples.HelloAudioRecording
public class HelloAudioRecording
- extends java.lang.Object
Recording audio from your Application is simple. If all you want
to do is record Audio, then follow the following steps.
1.) Set the Application's timer to an IsoTimer. The framerate is
irrelevant for sound, but must evenly divide 44,100Hz, which is
the frequency at which sound will be recorded. For example
IsoTimer(60) is ok, but IsoTimer(61) is not.
2.) Call Capture.captureAudio(yourApplication, target-file) before
calling yourApplication.start()
That's it! If you have any comments/problems, please PM me on the
jMonkeyEngine forms. My username is bortreb.
- Author:
- Robert McIntyre
Method Summary |
static void |
main(java.lang.String[] ignore)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelloAudioRecording
public HelloAudioRecording()
main
public static void main(java.lang.String[] ignore)
throws java.io.IOException
- Throws:
java.io.IOException