Forums > MaxMSP

Modulate signal to square wave?

December 8, 2010 | 7:50 pm

This seems like it would be easy, but I’m just learning.

I’m trying to modulate an input (adc~) signal to a square wave, the amount of which signal to be modulated is controlled by a slider object. I’m pretty sure I can figure out the slider part, but can anyone point me in the right direction about modulating a signal?

Thanks!


December 8, 2010 | 8:09 pm

Can you clarify exactly what you mean by " modulate an input signal to a square wave"?

Do you want to modulate an incoming signal WITH a square wave? If so, modulating the amplitude is easy; frequency, less so

Brendan


December 8, 2010 | 8:31 pm

I’m pretty sure I want amplitude modulation.
I guess I should learn more about synthesis before trying stuff like this….

Thanks,
Matt


December 8, 2010 | 8:34 pm

Not at all – we learn by doing, that’s my thought for the day.
I’ll send you a patch in a minute


December 8, 2010 | 8:49 pm

Thanks a lot Brendan.


December 8, 2010 | 9:49 pm

Hi. Have you seen MSP Tutorial #8 (Tremolo and Ring Modulation)? It has an example of amplitude modulation. Also, MSP Tutorial #5 (Turning Signals On and Off) has a patcher ("pulsewave") that demonstrates a square wave.


December 8, 2010 | 10:33 pm

Totally forgot about the Ring Mod tutorials, good call Mark, but here’s my version anyway

– Pasted Max Patch, click to expand. –

Brendan


Viewing 7 posts - 1 through 7 (of 7 total)