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

Minim save audio

$
0
0
Hello!
I'm sorry guys this question might seem stupid to you but I can't save the sound out of this program.
I used SoundCipher to generate random sounds and I need to save around 10 seconds of it in MIDI or wav of mp3, anything)
I used Minim library to save sound but it's always been some kind of error ((  Could you help, please?




import arb.soundcipher.*;
SoundCipher sc = new SoundCipher(this);
float[] pitches = {50, 25, 55};




void setup() {
size (200, 200);


}



void draw() {
frameRate(9);

sc.instrument(random(25));
sc.playChord(pitches, 80, 2);


sc.playNote(69, 100,1);
sc.playNote(67, 100,1);
sc.playNote(65, 100,1);

}

Viewing all articles
Browse latest Browse all 1768

Trending Articles