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

Basic signal handling question

Discussion in 'REAKTOR' started by whatalob, Apr 4, 2008.

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

    whatalob NI Product Owner

    Messages:
    86
    Hi all

    I 've started building my first patch and am stuck already in what is probably a very simple answer for. I am triggering a sinewave with the amplitude of a sample by using an Audio to Gate macro and an ADSR.
    This does the job of triggering my sine but as soon as I route the Sampler Loop output to a mixer, addition or amp it stops working. The only thing I notice is that when i hover the pointer over the wire in the former case I get just an amplitude reading, wheras in the latter I get a reading of Midi + amp, i.e. "001 Note Off, 0.1212.....0.3434".
    If I turn the threshold of the 'audio to gate' to 0 I do have signal coming through but the behaviour of the whole thing change a lot just by using an adder/mixer. (thats without adding a 2nd signal yet)

    So I guess my question is what is going on? Is there some signal transformation I should know about?

    thanks
     
  2. ew

    ew Moderator Moderator

    Messages:
    21,328
    Look at the tool tips. The only part that's triggering the gate is when the slope rises above 0. As soon as it falls, it's cut off (in other words, a note off). Therefore, you almost have to use 0 as the threshold (or a negative value- the gate will trigger as soon as it rises above 0).
    ew
     
  3. whatalob

    whatalob NI Product Owner

    Messages:
    86
    well the thing is that I have exactly the same signal going through and the same threshold settings. what I don't understand is why things change just by adding a mixer in the path...
     
  4. ew

    ew Moderator Moderator

    Messages:
    21,328
    Want to post a screenshot of what you're doing?

    ew
     
  5. whatalob

    whatalob NI Product Owner

    Messages:
    86
    sure! here goes, first pic is without mxer where the triggering works fine and the second through mixers where no gate signal is coming out.

    thanks for your help
     

    Attached Files:

  6. whatalob

    whatalob NI Product Owner

    Messages:
    86
    hi ew did the pics help at all?
     
  7. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    the mixer is connected to a switch which is not connected to anything. i am confused.

    sowari
     
  8. ew

    ew Moderator Moderator

    Messages:
    21,328
    As am I. Without the switch output going anywhere, you don't have a signal path, hence it won't work...

    ew
     
  9. whatalob

    whatalob NI Product Owner

    Messages:
    86
    Im so sorry that was just a mistake on that screenshot from moving things around, not the problem. Here is another set where clearly just by adding a mixer, the "data type" seems to change (from raw audio to midi event + signal) and the 'audio to gate' stops firing without anything else changing. (the mouse is hovering on the wire that inputs ot the audio to gate but the pointer cannot be seen)

    thanks again
     

    Attached Files:

  10. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    i don't think you need 4 voices for this instrument, so try changing the number of voices to 1. i notice the output of the Instrument is Mono, so you need to make the instrument with the Mixer Audio to Gate etc, etc, one voice..

    btw, which Mixer macro are you using?

    sowari
     
  11. whatalob

    whatalob NI Product Owner

    Messages:
    86
    this particular mixer is simple mono from macro->classic modular. I have tried all library mixers as well as a simple addition. as you can see in this screeschot just the adder changes the signal as well. strange..

    all I want to do is to be able to switch from live in to internal sampler. the general idea is to epxeiriment with amplitude tracking, I have the amplitude of one acoustic source drive a synth or something. perhaps my approach with the Audio to gate is entirely false?
     

    Attached Files:

    • add.png
      add.png
      File size:
      44 KB
      Views:
      224
  12. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    please reduce the number of voices to 1 as i suggested in my previous post.

    the Audio to Gate should be fine.

    also make the adder that comes after the Instrument Mono.

    to clarify, there are problems with the number of voices in your Instrument... so you could

    1/ Reduce the number of voices to 1.

    2/ Make the Mixer Mono (click on the Mixer Properties and check mono).

    3/ put a voice combiner after the Mixer and before the Audio to Gate Macro.

    i bet that if you looked into the Audio to Gate Macro, you would find
    a Red cross at the beginning of the structure.

    sowari
     
  13. whatalob

    whatalob NI Product Owner

    Messages:
    86
    Im sorry I misunderstood no. of voices for no. of inputs. Yes that has worked now. I appreciate your help very much.

    If you feel like it, a quick explanation of why the no of voices affects the signal flow in that way would be very useful for me, because I thought it was only related to MIDI polyphony

    (as you say as soon as the voices go more than one the red cross appears)

    thanks
     
  14. sowari

    sowari Moderator Moderator

    Messages:
    27,759
    when a Macro or Module is orange it is Mono (single data stream). when a Module or Macro is yellow, it is Poly (the number of data streams is the same as the number of voices selected in the instrument).

    a Mono Module and/or a Mono Macro cannot process more than one data stream. the Audio to Gate macro has been set to Mono, so it can only process one data stream

    you could put a Voice Combiner (for Audio Signals) or Event Combiner (for Event Signals) in front of a Mono Macro, that should stop red crosses... or simply reduce the number of voices.

    Reaktor Gurus out there will give a better description, but as you get more experience you will see some ensembles that use a number of voices to process different data streams at the same time.

    sowari

    sowari
     
  15. whatalob

    whatalob NI Product Owner

    Messages:
    86
    very useful. many thanks

    whatalob
     
  16. CList

    CList Moderator

    Messages:
    3,299
    Read the manual!

    Especially Chapter 17.
    Very especially Section 17.6

    Cheers,
    CList
     
Thread Status:
Not open for further replies.