1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

adding modulation signals

Discussion in 'Building With Reaktor' started by hugmet, Apr 14, 2011.

Thread Status:
Not open for further replies.
  1. hugmet

    hugmet New Member

    Messages:
    6
    Can anybody advise me on the best way to add three or four modulation signals to an input. I understand its best to have all your modulating signals running between -1 and 1, then scaling them in at the inputs for the particular modulation sources. Is it possible to have an intensity controller for each input and when only one modulation signal is being used will it have the ability to sweep through the full range that is needed?

    Basically what is the right mathematical process for adding more modulation signals? and can anyone explain it to me?
     
  2. hugmet

    hugmet New Member

    Messages:
    6
    Image1.jpg


    On the right side is a XY panel display. The top = 1 whist the bottom is zero.
    My goal is to get the signal modulating between 1 and 0 without all the knobs turned up to maximum.

    If the 'rad' knob is on zero and the 'LFO' and 'Y control' are on 1 modulating signal will move between 0 and 0.5
    If the 'rad' and the 'LFO' are both on zero the 'Y control' will move between 0 and 0.25

    I imagine there is a simple answer I am missing.
    It would be nice if someone could point me in the right direction:D
     
  3. Makrophag

    Makrophag NI Product Owner

    Messages:
    208
    Hi!

    I must say, you description is rather confusing.

    In the begining you said you always want the modulation to be between 0...1 no mater what the controls are set to, so the controls would only set the ratio of each element inside you modulation?

    The answere to this would simply be to sum the controls for LFO, rad and Y and divide the output by this sum.


    But in your explanation in the second post you say, that when only Y is on, ist should modulate between 0...0.25? Did I understand corretly?
    To sum it up in a table like manner:

    rad=0, LFO=1, Y=1 --> MaxOut=0.5
    rad=0, LFO=0, Y=1 --> MaxOut=0.25

    I assume you want also:
    rad=1, LFO=1, Y=1 --> MaxOut=1
    rad=0, LFO=0, Y=0 --> MaxOut=0
    rad=0, LFO=1, Y=0 --> MaxOut=0.25
    rad=1, LFO=0, Y=0 --> MaxOut=0.25
    rad=1, LFO=1, Y=0 --> MaxOut=0.5

    correct?

    This could be quite puzzling. Maybe a control shaper module would help.


    Can you upload you ensemble and a detailed table (in thte matter I did) when the output should moduleate between wich values? I will maybe tst something in the evening, but up to now I need clarification of what you want exactly!
     
  4. hugmet

    hugmet New Member

    Messages:
    6
    My first ever post reply. Thanks…. And I'm already confusing!:)

    Sorry in the second post I was describing how the structure was behaving.

    This is how I want it to behave:

    Rad = 1, LFO = 1, Y=1, Maxout = 1, range = 0 to 1
    Rad = 0, LFO = 0, Y=1, Maxout = 1, range = 0 to 1
    Rad = 0, LFO = 1, Y=1, Maxout = 1, range = 0 to 1

    Hope that’s Clearer.
    View attachment adding modulation sources.zip
     
  5. herw

    herw NI Product Owner

    Messages:
    6,421
    adding modulation signals.jpg

    ciao herw
     
  6. Makrophag

    Makrophag NI Product Owner

    Messages:
    208
    Thanks herw.

    Does it not to work when summing the controls and then dividing the result by this sum?
    I cannot see the advantage of your quite complicated solution?
     
  7. hugmet

    hugmet New Member

    Messages:
    6
    Thanks herw.

    Thats a bit closer. But this one doesn't seem to work:
    Rad = 0, LFO = 0, Y=1, Maxout = 1, range = 0 to 1
    (When the LFO and Random controls are turned down the Y control has no range at all).
     
  8. herw

    herw NI Product Owner

    Messages:
    6,421
    hmm, i understand your structure that the knobs LFO and RANDOM have to control the amplitude of the modulations; so if both are 0 it means, that there are no modulations.
    Which is the sense of y-control? I thought that you want to control the amplitude of the XY-display?
    I was wondering that you are multiplying the modulation signals.

    The y-control is a manual modulation control too! Then it is no problem to change the structure. Just add a third modulation part like for LFO and random and add the signal like c/(a+b+c).
    BTW there is no problem for a division by (a+b+c)=0. REAKTOR changes 0/0 to 0 here (in other cases to 1). If there are problems with a+b+c=0 then you have to add a separator to get the modulation 0.

    Then the algebra of the structure is:
    a/(a+b+c)+b/(a+b+c)+c/(a+b+c)=1 so you get always the range [0..1].

    ciao herw
     
    Last edited: Apr 16, 2011
  9. Makrophag

    Makrophag NI Product Owner

    Messages:
    208
    Ah I think this is what I meant :)

    Just dividing by the sum. Thanks for clarifiing, I think this is what he wanted.
     
Thread Status:
Not open for further replies.