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

A to E (perm)

Discussion in 'REAKTOR' started by Hogus, Aug 4, 2004.

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

    Hogus New Member

    Messages:
    90
    Something I've recently noticed...

    If you set the frequency at which events are produced by the A to E (Perm) module to 44Khz it actually seems to produce events at that rate. The quality improves and the CPU usage shoots up.

    So it's not limited by the default control rate. Or am I hallucinating?
     
  2. Ab Wilson

    Ab Wilson NI Product Owner

    Messages:
    223
    I think you are correct. Notice also that the step filter can reduce the event rate (possibly to zero).
     
  3. John Nowak

    John Nowak Account Suspended

    Messages:
    3,493
    Much of event processing in Reaktor is asynchronous... meaning that it is not dependent on any sort of control rate (although it may only be calculated at a certain max scheduler rate... I do not believe 44100 pseudo-event rate is possible in Reaktor, it caps far below that). If you have an a-to-e perm running at 10,00Hz, everything triggered by that module will run at 10,000Hz as well. The control rate only really affects objects that send at a fixed rate (like LFOs) that need some way of knowing how fast to send. Max is another example of a program which uses asynchronous event processing (even more heavily than Reaktor). Asynchronous events give you a lot of flexibility and let you save a lot of CPU if you do it carefully.. but they also give you a lot of rope to hang yourself with if you treat them as synchronous objects.
     
  4. CList

    CList Moderator

    Messages:
    3,299
    Similarly, an event coming out of the EventHold or EventDelay modules are not timed up with the global control-rate clock. They can happen at any time.

    I'm not sure about knob-movements, and X/Y mouse movements, however - these may be timed to the control-rate clock.

    - CList
     
  5. Hogus

    Hogus New Member

    Messages:
    90
    This could link up with the other thread relating to internal connections.

    if I make an internal connection from a lamp to a knob and I send events at the lamp at 5000hz will the knob be updated at 5000hz or at the default control rate?
     
  6. dr. orange

    dr. orange NI Product Owner

    Messages:
    581
    I would say that modules, which only send events, do that with the internal control rate (if no other value is given like you can do it with the a-to-e (perm) module), like, as already mentioned, the LFO. A lamp receives events, so I would say, but I'm not sure, that it would be updated with the incoming control rate and also sent with that rate.
     
  7. John Nowak

    John Nowak Account Suspended

    Messages:
    3,493
    The knobs output will be updated at 5000Hz, but the actual image of the knob will be updated at whatever the graphic redraw rate is (obviously).
     
  8. CList

    CList Moderator

    Messages:
    3,299
  9. sw004g

    sw004g NI Product Owner

    Messages:
    511
    Not sure how this relates to the previous replies, but I do believe that a-to-e perm can send events at 44.1k. Look up a-table recorder in the user library. It uses an a-to-e perm into a counter to drive an audio table.
     
  10. dr. orange

    dr. orange NI Product Owner

    Messages:
    581
    So do I...
    I use it to quantize the signal with a lower rate and I have seen many other instruments which use it therefor, so it must be possible.

    I at least hear no difference between the original sound and that which goes through an a-to-e perm with 44.1khz
     
  11. CList

    CList Moderator

    Messages:
    3,299
    Huh, I'd alwys used a pulse wave driving a Sample&Hold for when I want to do Sample Rate reduction (BitCrush) style effects. AtoEPerm is probably much more efficient - nice one!

    - CList
     
  12. John Nowak

    John Nowak Account Suspended

    Messages:
    3,493
    What is this, dig up three month old threads day?
     
  13. Hogus

    Hogus New Member

    Messages:
    90
    It's also useful when you want to do non-realtime processing from one buffer to another. I've made a couple of sample-editing utilities this way. You can even run it in excess of 44Khz to get jobs done faster.
     
  14. sowari

    sowari Moderator Moderator

    Messages:
    27,759

    well,,,some of us dig up threads that are 2 years old;-)

    sowari
     
  15. sw004g

    sw004g NI Product Owner

    Messages:
    511
    I'd love to see these sample-editing utilities, if you wouldn't mind.

    Respect.
     
  16. Hogus

    Hogus New Member

    Messages:
    90
    It's mainly on the fly stuff like, create an impulse response from a wav file, so I can use it to control the amplitude on a reverb trail. Nothing comprehensive, just things that are difficult to do in cool edit.

    But if you're still interested I can make a little example when I'm at home again so you can see how it's done... with a <insert per-sample based algorythm here> macro.

    I guess it could be developed into a toolkit for all kinds of non-realtime functions.
     
  17. sw004g

    sw004g NI Product Owner

    Messages:
    511
    Sure, I'd like to see whatever you've got.

    Thanks.
     
Thread Status:
Not open for further replies.