We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is there a way to record audio output from a sketch? I have code and library to record video that is images, but I am playing back audio and would like to record that as well.
My apologies if this question has already been asked — I have been searching for through the forum, but I could not find a relevant post.
Answers
Import the minim library, then use the
AudioRecorder
object and itssave()
method:I am trying to use the minim library to record a mp3 that is manipulated with a motion sensor. However, the recordings I am making are coming up empty. Here is my code:
You should do everything in minim, instead of accessing audio using processing.sound. I will start with these :
http://code.compartmental.net/minim/audioplayer_method_play.html
http://code.compartmental.net/minim/minim_method_createrecorder.html
You can also skip the arduino part. Instead, you can map senVal to the mouse position in the screen to simulate the arduino part:
quick.rate(map(mouseX, width,0, 1, 0.25));
Kf
Im tryng the same thing without any success.
this would be the combination of > kfrajer but is coming out empty anyway.``
Continue here: https://forum.processing.org/two/discussion/28028/how-do-i-record-the-audio-input-to-a-new-audio-render-using-minim#latest
@koogs please close this one.
Kf