We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi there, I have just recently (last night, really) started using Processing and the Minim library with the intention to do some sound processing. The idea is to load an audio file (both for live and offline analysis), use FFT, adjust some frequencies, use inverse FFT and produce and audio file both for immediate playback and writing to disk. I'm really struggling with saving the results of the buffer that the IFFT populates! I can see in the spectrum visualization that the right frequencies are adjusted and all seems fine, but this is the part where I'm not exactly sure what to do. Currently I am mostly looking into the offlineAnalysis example, because doing these things offline is a bit more important for now than doing them live.
Edit------ The issue with live playback still stands - what I have done is create a huge float array containing data from the IFFT. I have a MultiChannelBuffer and using setSample I replace the original samples with the ones from the float array and then it black using a sampler. I know this works because the audio is just fine, but the moment I modify something using scaleFreq or so, I hear a lot of clicking noise. I'm not exactly sure what I am doing wrong, I'm sure there is some common practice how people would approach this?