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

modulating parameters

Discussion in 'REAKTOR' started by kensaundm32, Sep 24, 2011.

  1. kensaundm32

    kensaundm32 Forum Member

    Messages:
    150
    Hi,

    I am having trouble modulating a parameter that goes from -15 to 15.

    Because when its dial is centered it is 0 so any modulation is also zero.

    the output from the lfo is +1 to -1 so it only works when the dial is at +15 or -15.

    How do you modulate a parameter like this?
     
  2. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    there are many many possible ways to modulate. it sounds like you are multiplying an LFO by a knob. when using LFOs i prefer to add them to the parameter and then clip the result to whatever range you desire.

    uploading a pic of the structure might be helpful if you need something more specific.
     
  3. kensaundm32

    kensaundm32 Forum Member

    Messages:
    150
    In particular this 15 to -15 parameter is the size dial in a formant filter.

    I have actually hidden the controls and slaved them to the standard cutoff, res and bw.

    pic 1 is the res, pic 2 is the formant filter where res is the 15/-15 parameter.
     

    Attached Files:

  4. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    right, so you're multiplying. i really think you want to be adding. i would change the value of the LFO to go from -15 to 15 (or multiply it by 15 or whatever) and then add that to the value. then clip it (ie make sure that the LFO plus the value is in the range from -15 to 15)
     
  5. kensaundm32

    kensaundm32 Forum Member

    Messages:
    150
    I went back to the normal cutoff for clarity (pic1) because I am missing some understanding.

    So when the cutoff dial(0-1 range)l is at max and lfo mod is full then the output is 0-127. Thats is right? But when the dial is at minimum the output is -63.5 to 63.5. Which makes sense, but it should'nt it also be 0-127?

    i had previously saved this 'scale const' macro (pic2) (I cannot remember where its from).

    But it doesnt seem to work for 0-1. but i changed the 0.00.... digit to 0.5 and that was ok. Do i have to change the top digit to the middle, is that what it means?

    I had a look at ni's massive and cutoff at minimum with full lfo seem to go to 0 to 75%. and with cutoff at full seems to go correspondingly from 100% to 25%. ie not 0-100%/100-0%.

    What i am aiming for in my synth is when the cutoff is full and mod depth is full then it goes from 100% to 0% but when the cutoff is at minimum and mod depth is full then it goes from 0% to 100%

    I am confused.
     

    Attached Files:

  6. kensaundm32

    kensaundm32 Forum Member

    Messages:
    150
    i added this and it works like 100-0%, but it doesnt matter where the dial is.

    So i guess i dont want that.
     

    Attached Files:

  7. kensaundm32

    kensaundm32 Forum Member

    Messages:
    150
    I've gone to this now: pic1.

    Which when the dial and mod is full, ranges 127-0, but when dial is 0 and mod is full, ranges -63.5 to 63.5.

    So how do i make that 0 to 127?
     

    Attached Files:

  8. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    add 63.5 to it when it's being modded?