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

Advice needed for drum sampler idea

Discussion in 'Building With Reaktor' started by Seretith, Nov 7, 2006.

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

    Seretith New Member

    Messages:
    12
    Hi
    I dont like to double post but i have this also in the main reaktor forum area and it occured to me that prehaps i should really have this in the creators sub-forum.
    I would really like to put the following idea into action.
    Below is an explination of the initial plan i had for this thing but i've been held up by the fact that the "sel" input on the resynth sampler selects between key mapping rather than samples loaded and therefore limits me to how many samples i can use.

    I'll try to explain in as much detail as I can exactly what it is that i'm trying to achieve here.

    I wanted to have 12 samplers. one for each of the following drum hits;

    KICK
    SNARE
    CLAP
    O-HAT
    C-HAT
    RIDE
    CRASH
    L-TOM
    M-TOM
    H-TOM
    and 2 for general percussion

    The sampler containing all the KICK hits would have all the samples mapped to C1
    The sampler containing all the SNARE hits would have all the samples mapped to C#1
    etc etc etc

    Each sampler would then have a sample selection knob to determine which sample is being used. This could then be set to be randomized by a toggle button.
    The main aim of this being that i could make a midi drum pattern and then at any point completely randomize all the hits therefore creating custom kits at the touch of a button.

    I thought I was on the right track with making this thing but now i'm not so sure because of the way that the "sel" input works.
    It seems that the only way I can get the "sel" input to switch between samples is to map them onto different keys.

    Any advice and suggestions on this idea would be greatly appreciated.


    thanks for taking the time to read.
     
  2. CList

    CList Moderator

    Messages:
    3,299
    I think the problem is that you need separate the midi note number triggering the sample from the note number as it applies to the sampler module. You'd use a SelGate module to cause a particular note to trigger a particular sampler, and in that SelGate you'd select the MIDI note that is triggering say the KickDrum. The midi note numbers in the sampler module would not be used for determining which midi note causes the sample to play. You need one sampler for each sound (one for kick drum, or for snare drum, etc) you cannot use one polyphonic sample-player module for all the sounds (I'm not sure if that's what you were trying to do).

    Take a look at this instrument and the way it's sampler's work...
    http://www.native-instruments.com/i...y_us&type=0&ulbr=1&plview=detail&patchid=4773

    Cheers,
    CList
     
  3. Seretith

    Seretith New Member

    Messages:
    12

    thanks for the reply.
    i kinda get what you're saying and you're right about needing a seperate sampler for each type of hit. that was always the plan.
    I'm still not sure that you've solved the problem i'm having though.
    If we talk about just 1 sampler for the moment and say that it contains 500 kick samples all mapped on c1-c1.
    my question is how do you make a knob that will select through them samples without having to map them all to different keys?
    I wanted to keep all the kick samples inside the sampler mapped to the same key. that way i figure im not limited to how many i can load in.
    obviously the problem i have there is that they then all have the same midi note number.
    do you think this is even possible?
     
  4. Comfy

    Comfy Forum Member

    Messages:
    392
    You can ONLY have 127 selectable samples in a sample map... unless I've been really silly and missed something. Usually to save editing the root key in sample maps I use the Sel value(from a knob) to select the pitch of the sample. That way the Sample selected always plays at the original note. This can be modified by another knob to change the pitch if you wish. This way you can just chuck in samples to the sample map and not worry about changing root key values etc but as I said 127 sample's is the limit. As Clist said Sel Note Gate is the bast way to go.

    Not sure if this will help you out at all but I'll attach a macro that I did a while back when making a drum sampler which uses Sel Note Gate.... set a C2 I think or the Z key on the keyboard, but theres no samples loaded so you'll have to add your own.

    Matt
     

    Attached Files:

  5. CList

    CList Moderator

    Messages:
    3,299
    I think you're missing the way the sampler map works in this case.

    You *don't* map them all to C1-C1 in the sampler map. Since the pitch input of the sample player is not connected, the "mapping" in the sample map is set to 0...127 (you can only have up to 127 samples), and the Sel knob controls which one plays - REGARDLESS of the midi note. The midi pitch input is in no way connected or related to the smapler moduler if you build it correctly, so the sample-player's map has nothing to do with the midi note that controls the triggering of the sample playback.

    The SelGate midi input module is set to "C1" in it's properties and sends a trigger to cause the sample to start playing by triggering an amplitude envelope and the "G" input of the sample player.
    See the attached file - which is just a single sample player taken from the CL-909 and simplified.

    Notes:
    1. Press the Z key (C2) to play the sample. The midi note that plays the sample is set in the SelGate module.
    2. The "sel" knob sends an event to the "G" input of the sampler so that the sample displayed will change as soon as you turn the knob, if you don't do that the displayed sample won't change until a new note is played.

    http://www.semaforte.com/Reaktor/Files/cl909-xi.sample.zip

    - Chris
     
  6. Seretith

    Seretith New Member

    Messages:
    12
    thank you both for all the advice. its very much appreciated.
    I actually already have a drum machine that i made which uses 10 samplers and i put about 70 kits into it. so im all cool with making one that way. i was just really hoping that there was a way of loading more samples but obviously not.
    i'll abort this project now. :(

    thank you very much for taking the time.
     
  7. CList

    CList Moderator

    Messages:
    3,299
    You could have muiltiple 4 samplers, each one with a range of 0...127, and then map your select knob with a range of 0...500 to each of the 4 samplers depending on the value, but, at least in R5 , you can't have a sample map with more than 127 samples. Maybe in a future release you will.

    - CList
     
  8. Seretith

    Seretith New Member

    Messages:
    12
    thats actually a pretty neat idea but i think by the time i do that for each hit my cpu will explode.
    i would end up with about 50 samplers running.
    its a real shame coz i really wanted a useful way of using the countless hit samples i've gathered other the last few years.
     
  9. Comfy

    Comfy Forum Member

    Messages:
    392
    Try this.... uses 4 samplers attached to switches so they turn off when not in use. Placed in a stacked macro so they only display the current sampler module in use. Its been adapted to fit into that Drum sampler I posted earlier but could be adapted for other stuff. This gives you 508 selectable samples with cpu usage of 1 sample module. You'll have to load in 4 sample maps into the seperate sampler modules inside. This was just wooped together so hasent been fully tested but seems ok...

    Matt

    #Deleted Attachment.... See Post below#
     
  10. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    have a look at:-

    LIME.lite v1.1 by Jörg Remmer Müller, in the User Library

    http://www.nativeinstruments.de/index.php?id=userlibrary_us&type=0&ulbr=1&plview=detail&patchid=3434

    each drum (some using the resynth sampler) can be triggered by a sequencer OR a Sel. Note Gate module. but look at the mapping! the samples start at Midi note 60, and go upwards. the Sel knob is used to choose the samples BUT the Sel. Note Gate just acts as a trigger.

    to clarify, all the samples are NOT mapped to the same note in the sampler but the sampler is triggered by 1 note.

    sowari

    PS Comfy uses a similar idea with deeper programming
     

    Attached Files:

  11. Comfy

    Comfy Forum Member

    Messages:
    392
    Sorry... I forgot to add a switch on one of the outputs!

    This one seems Ok........ I think
     

    Attached Files:

  12. Seretith

    Seretith New Member

    Messages:
    12

    thats awesome
    thank you so much.
    this will be intresting to see how cpu heavy it gets when i copy what you just did 12 times over.
    im gonna go have a good long stare at this now and try to work out exactly how this is operating.
    thank you very much :)
     
  13. Comfy

    Comfy Forum Member

    Messages:
    392
    No Probs...... Just make sure you have V2 (see above).
     
  14. Seretith

    Seretith New Member

    Messages:
    12
    cheers. very much appreciated
     
  15. sleen

    sleen NI Product Owner

    Messages:
    890
    I know its a late reply but the MASSIVE drum machine in the 5.1 update was designed to allow you to modulate the sample selection. It doesn't have gobs of samples, but the basic idea and concept is pretty much there....with fewer 'hits'. Kicks are all together, snares as well...allows you to keep the sequence intakt while swapping out the hit samples. You could run 2 massives if you had to.

    -jonathan
     
Thread Status:
Not open for further replies.