How to export a multichannelbuffer to wav or mp3?

I am using minim and I have an audio inside a MultiChannelBuffer
How can I export it to wav or mp3, if you can’t, do you know any way to achieve it.

I use java processing

not sure Minim can write audio files?
try the Beads library ( also from contribution manager )
http://www.beadsproject.net/
http://www.beadsproject.net/doc/net/beadsproject/beads/data/audiofile/AudioFileWriter.html
( not tested here )
( also not sure about the multi channel thing ? float [][] means only stereo? )

is it about
https://en.wikipedia.org/wiki/Surround_sound#Standard_speaker_channels ?

I believe that you can use AudioRecorder. Documentation:

http://code.compartmental.net/minim/audiorecorder_class_audiorecorder.html

…and previous discussion of using it:

1 Like