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

How to design polyphonic instrument?

Discussion in 'Building With Reaktor' started by mmower, Aug 14, 2011.

  1. mmower

    mmower NI Product Owner

    Messages:
    729
    I'm trying to build a sampler instrument, based on a Grain Cloud module where, for example each note played will get a different loop, speed, granularity, etc..

    This means I need to deal with voices and triggering things to happen when notes are played on voices and it's not something I've done before.

    As a concrete example: When a note is played I need to sample a random number generator to get values for "speed" and "loop length" which will be used a module in the instrument that generates ramps for the "Pos" value for that voice.

    Can anyone give me any guidance on how to go about designing these kind of structures? Or recommend an example instrument that does this and is easy to take apart?

    Many thanks in advance.

    Matt
    ---
    Something I am having particular difficulty getting my head around is working out when a voice is reused and how to "reset" the instrument for the new voice.

    I've tried looking inside some of the factory ensembles but they are so complicated structurally and with many things going on, I can't really pick apart what's what or why.

    It would be nice to have a simple model to work from.

    Matt
     
  2. Jeeboo

    Jeeboo Forum Member

    Messages:
    39
    +1
    I'm also interested in the poly instruments building. I'm in a quite similar position than you so any answer would help two people :)
    On my side i would be interested in the way to build "reglar poly synth with unison feature" and I have difficulties managing the voices things into the structure.
     
  3. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    i'm a little lost on exactly what you guys want to accomplish but i'm really really good at manipulating voices. they're a bit hard to explain but if you want to post a simple task you're having a hard time implementing i'll do my best to help out.

    i'm on vacation right now so it may take a while tho :p
     
  4. mmower

    mmower NI Product Owner

    Messages:
    729
    I think I more or less sorted myself out by experimenting and seeing what happened.

    In my case I think I thought I had to handle things that Reaktor just does. That I'd have to detect which voice was changing and adjust things.

    In fact I've found that using a polyphonic Gate module as a trigger for various Value modules setting voice related parameters works well.

    After that it's just a case of fiddling around until everything works :)

    Thanks anyway though. I will post again if I run into a specific problem I can't handle.

    Matt
     
  5. Jeeboo

    Jeeboo Forum Member

    Messages:
    39
    Hi Salamanderanagram.
    Thanks for your reply.
    In my case I build a mono synth that I quite like, but I would like to improve it by adding polyphony and unisson feature, that simple.
    However I have no idea how to handle the voices to get it poly, some modules stay in mono, or my testing do not work at all.
    Here's the ensemble:
    http://currencymaster.free.fr/Reaktor/Square Me (OSC control).rar
    It's pretty simple in the design so it shouldn't be difficult to check how to implement poly and unison?
    Thanks a lot for your help anyway.
     
  6. dtruchan

    dtruchan Forum Member

    Messages:
    52
    You have too many buried audio voice combiners "}"

    I removed them and, despite a few display tweaks, the synth works fine poly.
     
  7. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    i'm at a wedding all day but daryl is right - unless you are doing something quite complicated you only want one pair of audio voice combiners in your ensemble - at the very end.
     
  8. Jeeboo

    Jeeboo Forum Member

    Messages:
    39
    thanks for your replies.
    I reviewed my whole patch to get rid off the useless voice combiners to keep only two of them at the very end of the synth. It works now.
    Such a little thing... thanks a lot.

    Bonus question:
    -Is there a way to get unison feature right on the synth panel instead of the instrument function menu?
    - how to set a scope in poly mode ? (using XY pad). I mean, my scope was mono (taken from someone I couldn't built it), and now that it receives poly signal it do not show anything. I switched my whole scope macro to poly but I have 2 lines interlaced on my scope instead of one.. I tried comboining the poly signal jut before the scope but couldn't get any result working..
    Same for the mono lamps, values etc.... I think I should pick up only one voice for visual feedback stuff but I don't know how to do...
     
  9. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    i would connect your scope to the output of the audio voice combiner that you left in your project
     
  10. Jeeboo

    Jeeboo Forum Member

    Messages:
    39
    that's a LFO scope actually...
    did I miss something?