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 Pitch with ADSR

Discussion in 'Building With Reaktor' started by Pidworth, May 26, 2011.

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

    Pidworth New Member

    Messages:
    17
    Hello,

    I'm attempting to build an ensemble which I will be able to use for making kicks. I've attempted adding an envelope to the the PM port on the Pitch/Gate Macro, thinking this will work. It didn't! I tried adding adding another Pitch/Gate Macro to that, still no joy. I wasn't too surprised, though.

    I asked earlier, in the main Reaktor sub forum (I think), and the dude that kindly replied there mentioned possible using the Classic Modular Macros. I've not had any joy with them either.

    I have had success modulating the pitch with an LFO, it's just the envelope that's proving to be a pain in the arse. That's a shame, as it's an envelope that would help me.. I dunno whagwaaarn!

    Thanks in advance for any help. It will be greatly appreciated.

    Regards,

    Pid
     
  2. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    hi, please post a picture of the relevant area of your ensemble and i'd be happy to fix it for you.
     
  3. Pidworth

    Pidworth New Member

    Messages:
    17
    I've thrown together something similar to what I was working with.

    I would like the ADSR Env that isn't yet connected to modulate the pitch, so that I can start making a kick drum ensemble. I've tried the ideas mentioned above, but am still to get any pitch modulation.

    http://www.sendspace.com/file/c9epga


    Thanks!
    ---
    ps i couldn't work out how to attach a pic, so i up'd it to sendspace. sorry for any inconvenience
     
  4. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    this works for me, give it a try (the enveloped pitch is coming out of the top output of the ADSR-ENV macro, and can be attached to the P input of any oscillator.)

    to upload a pic, click the 'go advanced button' at the bottom of the quick reply box, then click on manage attachments. sendspace works too but not as well ;)
     

    Attached Files:

  5. Pidworth

    Pidworth New Member

    Messages:
    17
    Cool, I'll give this a go. Thanks very much!

    (& cheers for the heads up on uploading pics too!)
     
  6. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    you need to multiply the output of the Envelope by at least 24 or even 36. to do this connect a multiplier to the output of the ADSR and attack a knob with values 0-1 on one of the inputs and a constant of 24 or 36 to the other input.

    btw, Plastikick v4.0 by Jens Michaelis in the User Library is wroth a study.

    sowari
     
  7. Pidworth

    Pidworth New Member

    Messages:
    17
    Brilliant, gonna get onto this now. I'll grab Plastikick, too.

    Just wondering, where can I find that Compare Macro? I'm likely to stare at the the screen for ages and not see what's straight in front of me :/
     
  8. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    you will find it under Math.

    sowari
     
  9. Pidworth

    Pidworth New Member

    Messages:
    17
    So now I'm looking like this, but still no pitch modulation.

    I'm guessing I've misunderstood something.
     

    Attached Files:

  10. Pidworth

    Pidworth New Member

    Messages:
    17
    Oh, I connected to the env input instead of the oscillator. I knew it'd be something silly like that.

    Thanks for all your help Sowari!
     
  11. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    actually you shouldn't need to multiply by 24 (i don't think), the pitch is setting the top of the ADSR without doing that
     
  12. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    maybe we are at cross purposes here ?

    in terms of modulating the Pitch of an Oscillator - such as a Sine Oscillator - by an ADSR to get that quick Pitch change that is characteristic of a Kick Drum surely the output of the ADSR needs to be more than 1 otherwise the pitch change is hardly noticeable?

    sowari
     
  13. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    perhaps we're talking about different things - i'm referring to the picture i posted above, which instead of multiplying by 24 simply sets the gate to the value of the incoming pitch. if you hit note 36 and then multiply that by 24, you're going to get a pitch that is way too big ;)
     
  14. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    yes :eek:

    but i am not talking about your picture, i am talking about modulating the pitch of an Oscillator by an ADSR, to create the thump of a kick drum ;)

    sowari
     
  15. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    right but i think he thought you were talking about my picture, judging by what he's posted above ;)
     
  16. Pidworth

    Pidworth New Member

    Messages:
    17
    Hello, I was talking about the picture. What I found was that 6 seemed to work for giving the punch to the kick that I was after, as higher numbers gave some weird high pitched noise first.

    The only problem I'm having now is that the sustained/tail end of the kick isn't on the note that I'm playing, because to get a decent sounding kick I need to have the sustain set to around 0.5 & the Knob to about 0.5, so I'm not too sure the notes are being played on. They different keys don't sound a semitone apart, either.

    Still, it's all goin in the right direction so I just need to carry on gettin stuck in with it. Cheers again, to you both :D
     

    Attached Files:

  17. Pidworth

    Pidworth New Member

    Messages:
    17
    I haven't yet managed to work out a way of keeping the pitch of each key. Is it having the pitch multiplied by the gate that means that the pitch isn't correct? Can anybody help me with an alternate way to modulate the pitch?
     
  18. sowari

    sowari Moderator Moderator

    Messages:
    27,759

    can you compress - .zip - the file and upload this Ensemble?

    and maybe we need to clarify this Pitch thing. are you saying you want the Pitch of the Kick drum to change depending which MIDI Note you play?

    what i am talking about with Pitch Modulation is an extremely quick change in Pitch at the start of kick drum, when the skin is hit. the Decay of your PItch Modulation Envelope should be quite quick, and in some ways the Sustain is redundant, often an AD Envelope is used for this kind of Modulation.

    the reason i suggest using the multiplier is that the skin can change pitch drastically depending on how fast the drummer moves the beater.

    sowari
     
  19. Pidworth

    Pidworth New Member

    Messages:
    17
    Yes, I would like the pitch to change with which note I play.

    At the moment I'm getting some nice sounding kicks but with the music I write the kicks last longer than the sharp-punchy attack, there's a kind of after bass note which drives the tracks, so it would be beneficial to have the kicks in the same key as the tracks.

    Thanks for being patient with me!
     

    Attached Files:

  20. Pidworth

    Pidworth New Member

    Messages:
    17
Thread Status:
Not open for further replies.