Vocoder using Microphone

MSP_new_JR's icon

hi everyone...

i'm *very* new to Max MSP and i am looking to design a vocoder which i will use with a microphone through an audio interface. I have followed someones instructions using fftin~ / cartopol~ / poltocar~ / fftout~ objects to formulate the heart of the vocoder, however i have found no tutorials on how to use a vocoder with real time speaking into a microphone rather than processing a pre recorded sample.

my goal is to have the major 7 chords i have programmed with the chord message object vary in octave in relation to the velocity of my voice in the microphone, for example, if i say something very quietly into the microphone, the chord will be in a higher register... and if i speak quietly, the chord will be in a lower register. this involves midi conversion correct?

i have attached the very disorganized and confused patch i have so far, but i am having trouble deciphering where i need to connect things and really what it all means. i know what i want to do and i know it is possible, just not sure how to get to the final product.

please any help in somewhat simplified language for a very inexperienced max user.

Max Patch
Copy patch and select New From Clipboard in Max.

thanks!

5436.liveelecpfft.maxpat
Max Patch
XiNNiW's icon

Check out MSP tutorial 26 on frequency domain processing. Also in your Max6/patches/examples your should find a folder labeled fft-fun. Inside are various functional f-domain patches including a working vocoder that you can rip apart. Hope that helps

Cheers

MSP_new_JR's icon

is there even a possibility of creating a vocoder to work with a microphone from an audio interface?

Mr. Banshee's icon

check the "Classic Vocoder" file in the Max folder, maybe able to help you out. Assuming you are using Max 6, the example patch allows you to jump from sample being processed to vocoder to ADC (input), all from the drop down menu. The vocoder does not sound that great, but you can have tons of fun with it.