fading in frequency modulation

gershwin's icon

Hi,

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

Im trying to be able to modulate the fundamental frequency of an oscillator using a cycle~ object and converting it to a number. I basically want to be able to fade the frequency in after a long note so the modulation comes in towards the end of the note rather than from the beginning. The problem im having are smooth transition from non modulating to a modulating is difficult. is it better to work with signal rather than numbers in this instance?

esnho's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I don't know if i've understood, but, why don't you play with adsr?

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

here I've deleted the sig~ object, is useless.

gershwin's icon

what I want is

Note on>PAUSE>Modulation fade in>Note off

Not

Note on/modulation on>Note off

esnho's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I still am not sure in understanding, but, try to understand this, is a bit messy, I'm not great with msp:

I think you should try to modify these patches.

Christopher Dobrian's icon

If you haven't already done so, I suggest you read MSP Tutorial 10: Vibrato and FM and MSP Tutorial 11: Frequency Modulation. The first shows the basics of how to implement vibrato (i.e., frequency modulation) in MSP, and the second, while rather wonky on the topic of FM synthesis, shows a good way to control the depth of modulation over the course of a note.