Apply different AM (tremolo) based on input pitch with Max

menackin's icon

Hi,

I am new to Max and I wish to use an input sine wave .wav signal (example -not- attached apparently as .wav is not allowed) and apply different types of Amplitude Modulation (tremolos), depending on the pitch of the input.

For example, there is a signal changing randomly between 50 - 200 Hz and I want to create three different AMs based on the frequency bands.

For example:

If input signal frequency is between 50 - 100 Hz: use AM with a 30Hz frequency (increase and decrease the volume of the signal 30 times a second)
If input signal frequency is between 100 - 150 Hz: use AM with a 60Hz frequency
If input signal frequency is between 150 - 200 Hz: use AM with a 90Hz frequency

Is there a way to do this in Max?

Thank you!

brendan mccloskey's icon

Hi

the external (non-native/vanilla) objects fiddle~ and analyzer~ will do frequency analysis, as will the native object fzero~; the rest is up to you! Forgive my suspicions, but this sounds like a class assignment. Look at the [split], [expr] and [selector~] objects, tho there are numerous ways to de-epidermise a feline

¦¬p

Brendan

menackin's icon

Hi Brendan, thanks for the response!

Well, I wouldn't call it a class assignment, I am doing research and trying to figure out a good way to edit sounds as I described. I'm technology-agnostic for the time being and looking at different platforms, including Max and Audacity (Nyquist).

Will look at the objects you pointed to and possibly come back, cheers!