Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Creating, processing and saving sound-buffers in Minim

$
0
0
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.
  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.
Okay, AudioSample implements Recordable, right? So we can use this?

The AudioRecorder will set itself as an AudioListener to your Recordable instance
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?
and when you are ready to save samples to disk, you simply call the samples method of the listener.
How can i do this? I don't know how to adress this listener...

Forgive me my stupidity!

Perhaps you find the time to write an example which dies what you described?
All of this makes me think I should just write a saveFile method for Minim.
this would be awesome!

thanks anyway

nossek









Viewing all articles
Browse latest Browse all 1768

Trending Articles