# [PD] How to implement amount control to amplitude modulation?

Fri Sep 5 20:49:41 CEST 2014

```You can place the signal addition of the modulator ([+~ 1]) after the
multiplication with the slider, right before you multiply that signal with
the carrier. But instead of 1, multiply with 0.5. So the modulator could
look like this:

[osc~]
|
[*~ 0.5]
|
[*~ modulation_amount]
|
[+~ 0.5]

Though, with no modulation, the carrier's signal will be at 0.5, and with
full modulation it will modulate between 0 and 1...dunno if this is what
you want..

On Fri, Sep 5, 2014 at 9:39 PM, JC Pedroza <nemesis4go10 at hotmail.com> wrote:

> I'm trying to implement amount control to amplitude modulation similar to
> the amount control of frequency modulation. The more amount, the more
> amplitude variation. The problem is that I can't figure out how to
> implement it correctly.
>
> Here is a simple amplitude modulation patch:
> http://i.imgur.com/gsVDyw1.png
>
> The idea is that when no amount is applied, no modulation can be heard,
> and as the amount is raised the modulation becomes more prominent, and when
> the amount is at the max the carrier's amplitude is being modulated all the
> way to zero amp.
>
> But how do I do that? Here is a patch where there is a control for the
> amplitude of the modulator: http://i.imgur.com/DJIIfQs.png
>
> The problem here is that, as we are multiplying both signals, the control
> also lowers and raises the amplitude of the carrier. So when the "amount"
> is zero, there is no signal. That "amount" control ends up modifying the
> amplitude of the carrier too. It's not so much of an amount control, and
> ends up being a volume control for the carrier too.
>
> How can an amount control for amplitude modulation be implemented? At the
> lowest amount there is no modulation, and as the amount rises the
> modulation becomes more intense. Is there a way to do this?
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140905/77ea3c33/attachment.html>
```