FM on audio

bassfalk's icon

Hi everybody,

I am new in this forum, and at the moment I am working on my first project using MaxMSP. What I want to do I think is rather simple: I want to modulate the frequency of the incoming audio signal. I worked through the FM tutorials, but of course there always a cycle~ object is modulated, and I couldn't figure out a way I can do that with an audio signal.

Thanks for help!

All the best

Falk

lewis lepton's icon

Try this man...

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

lewis lepton's icon

also as well you could replace the [adc~] with a [groove~]. Up to you really.

Happy Maxing...

Roth's icon

What Lewis demonstrated is an example of ring modulation on an incoming audio signal. If you want to do frequency modulation on a live audio signal, it is a bit more involved than you might think.

First what you need is a way of pitch shifting the incoming signal in realtime. Whatever method you use for pitch shifting, you must be able to control the amount of pitch shift with your modulating oscillator (i.e. your pitch shifter must be able to receive control from a signal). One thing to look at would be modifying the [transposer] abstraction in the pitchshifting-playground example. That as well as some uses of variable rate delays on FFT are two methods for doing this that are on my list of experiments. I am probably going to mess with that later this month, but it will be a few weeks. When I get to it, I'll surely post my results.

lewis lepton's icon

true, i should of said the example was for ring modulation...

Maurizio Giri's icon

Audio input as a carrier:

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

audio input as a modulator (actually phase modulation)

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

m

tegid o's icon

Here's something I cobbled together from stuff on the site. Perhaps a little overcomplicated, as I'm not very experienced.

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

bassfalk's icon

Thanks so much guys! This helps a lot further!

Cheers

Falk