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

I search after a macro that converts pitch numbers to voice numbers

Discussion in 'Building With Reaktor' started by Jedinhopy, Jul 15, 2013.

  1. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    The input is:
    voice 1 = pitch 1
    voice 2 = pitch 2
    voice 3 = pitch 3
    voice 4 = pitch 4
    voice 5 = pitch 5
    voice 6 = pitch 6
    voice 7 = pitch 7
    voice 8 = pitch 8


    The output is:
    pitch 1 = voice 1
    pitch 1 = voice 1
    pitch 2 = voice 2
    pitch 2 = voice 2
    pitch 3 = voice 3
    pitch 3 = voice 3
    pitch 3 = voice 3
    pitch 4 = voice 4
     
  2. Big Gnome

    Big Gnome NI Product Owner

    Messages:
    574
    It's a little hard to get into specifics without knowing what you have in mind, but you could use the 'V' terminal of a Voice Info module to control the pitch input of whatever you plan to use; perhaps you could use a bunch of Sel. Gate inputs to control To Voice modules.
     
  3. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    What about if i use 512 voices in the ensemble?
    Do i need to use hundreds of (from voice) and (to voice) modules to translate pitch 17 from voice 1 into voice 17 ?



    Edit:
    Volume tracking (voice 1) and (voice 2). Get their pitches.
    If the pitch on (voice 1) is higher than the pitch on (voice 2).
    Only output the volume of (voice 1).

    Or if the pitch on (voice 1) is lower than the pitch on (voice 2).
    Only output the volume of (voice 2).



    Volume tracking (voice 3) and (voice 4). Get their pitches.
    If the pitch on (voice 3) is higher than the pitch on (voice 4).
    Only output the volume of (voice 3).

    Or if the pitch on (voice 3) is lower than the pitch on (voice 4).
    Only output the volume of (voice 4).



    Comparing the volume differencies between voices.
    If the pitches on (voice 1) and (voice 2) is higher
    than the pitches on (voice 3) and (voice 4).
    Only output the volume of one voice from the first voice pair.

    Or if the pitches on (voice 3) and (voice 4) is higher
    than the pitches on (voice 1) and (voice 2).
    Only output the volume of one voice from the second voice pair.



    And do the same thing on all voices.
     

    Attached Files:

  4. Chet Singer

    Chet Singer NI Product Owner

    Messages:
    822
    I'm still puzzled. It sounds like you have an array of parallel filters and you want to implement them as one filter per voice in a high-voice-count instrument. I've done that before and it's a very efficient way to build parallel filters.

    If you want to set the pitches of the filters to a list of constant values, that's not hard.

    If I'm wrong, disregard everything else here :)

    If the filter pitches are static, get the voice number output from a voice info module and perform a mathematical function on it, then feed it to the pitch input of your filter.

    If, for example, you have 100 filters and you want the lowest one to have a pitch of 24 and each one to be 2 semitones higher, implement this function between the voice number output and your filter's pitch input:

    P = 24 + 2 * (Vn - 1)

    The first voice will have a Vn of 1 so the P will be 24.
    The second voice will have a Vn of 2 so the P will be 26.
    And so forth.

    There are no voice reassignment modules required.

    Is this what you're looking for?
     
  5. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Look in your private message.
     
  6. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Where is Chet Singer?
     
  7. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Having a life.
     
  8. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    OFFLINE i guess.
     
  9. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Quite obviously. :D
     
  10. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Or you could take a look at my reaktor ensemble.
     
  11. Chet Singer

    Chet Singer NI Product Owner

    Messages:
    822
    I'm sorry, but I sometimes don't turn on Reaktor for days or even weeks at a time. I'll try to take a look at it this weekend.
     
  12. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Thanks.
     
  13. Chet Singer

    Chet Singer NI Product Owner

    Messages:
    822
    Hey, to download your file I first have to download an exe onto my computer. I'm not willing to do that.
     
  14. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Don't ILIVID!
     
  15. Chet Singer

    Chet Singer NI Product Owner

    Messages:
    822
    When I press the Download button that happens. If you want help with it could you attach it to the thread? That way others can help, too. Truthfully, I still don't understand what you're trying to do so I don't know how looking at it is going to help.
     
  16. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    This is my project:
    The features i want to add is (noise reduction) and (polyphonic gliding).
    The bandpassed sound is recreated with sinewaves following a volume tracker.
     

    Attached Files:

  17. tuone

    tuone Forum Member

    Messages:
    64
    pitch, you forgot to explain if you mean midi pitch. it's just a tovoice fromvoice macro.
     
  18. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    I mean constant pitches from the voice info module. The ensemble polyphony voices.
     
  19. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Now i have implemented (polyphonic portamento). :)
     

    Attached Files:

  20. Jedinhopy

    Jedinhopy NI Product Owner

    Messages:
    821
    Now that again.