Dear Damien,
i also want to save "non real time generated audio" to disk and i tried really hard to understand the second part of your posting but i didn't get it.
Forgive me my stupidity!
Perhaps you find the time to write an example which dies what you described?
thanks anyway
nossek
i also want to save "non real time generated audio" to disk and i tried really hard to understand the second part of your posting but i didn't get it.
Okay, AudioSample implements Recordable, right? So we can use this?You will need to write a class that implements the Recordable interface and then pass an instance of that to the createRecorder method of Minim.
Here i already get lost, probably i didn't get the concept of the AudioListener. How can AudioRecorder "set itself as an AudioListener", although AudioRecorder does not implement AudioListener?
The AudioRecorder will set itself as an AudioListener to your Recordable instance
How can i do this? I don't know how to adress this listener...and when you are ready to save samples to disk, you simply call the samples method of the listener.
Forgive me my stupidity!
Perhaps you find the time to write an example which dies what you described?
this would be awesome!All of this makes me think I should just write a saveFile method for Minim.
thanks anyway
nossek