Analyzing and Resynthesizing Harmonics in Realtime with Max

johnadam's icon

Hello,

I'm new to the forums and to Max in general. I have a project in mind and I'm hoping someone can give me some clues about how I might make it work with Max.

I'd like to have an instrument play a sound into a microphone, which would be analyzed in realtime by Max. I'd like the most predominant overtones to be detected, and then transformed into MIDI information so they can be resynthesized by a sine wave.

I was originally thinking of using analyzer, which was a free spectrogram plugin, but it is no longer compatible with Max (32 bit). I couldn't find any 64 bit equivalents.

Any thoughts you might have on how to go about this would be much appreciated!

Thanks!

JA

yaniki's icon

[sigmund~] (an external: http://crca-archive.ucsd.edu/~tapel/software.html) is very good for this kind of job (check "tracks" inside example patch). And, if I can to suggest something, it's much better to use max internal communications method instead of MIDI - you can drive [cycle~]'s objects directly from data captured by the [spigot~], without conversion to MIDI format.

For more controllable resynthesis you may use build-in MSP objects like [fft~] and related.