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

wishlist : modules sdk

Discussion in 'REAKTOR' started by lxl:::;xl::, Aug 10, 2002.

Thread Status:
Not open for further replies.
  1. Jim Aikin

    Jim Aikin NI Product Owner

    Messages:
    52
    Interim Wishlist Item

    An SDK would be cool for real programmers, but I'm not a real programmer. I'd settle for a well-defined algebra/formula module. I just spent an hour trying to cobble together a handful of accumulators, comparators, values, routers, and event merges to the output of a counter in order to do this:

    if x>127 output 127 else output x

    if x<0 output 0 else output x

    ...and my algorithm is still buggy. There are times when "musician-friendly" graphic programming languages are just unbelievably stupid.

    --JA
     
  2. CList

    CList Moderator

    Messages:
    3,299
    Jim,

    A simple algebra module sure would be nice. I think an SDK would be a waste for all but .1% of the users (being a programmer, I'd definitely get into it, but I don't think many others would). I'd just really like to see drop-list panel control, an insturment properties window with a grid that lets you manage which controls have what MIDI settings, and another window with a grid for managing snap-shots. I think this would be much simpler to add and give a lot more value to a lot more of the user-base.

    As for what you were trying to do, you're re-inventing the wheel (something I do all the time, so don't feel bad).

    There's a macro called "EventLimit" that's used in *a lot* of ensembles. It has inputs for min / max values that you usually connect to constants.
    It's used a bunch in the ensemble I just uploaded yesterday called Loop Trippa. Download it form the user lib, open up the "4BP Delay" instrument, then open one of two "delay" macros inside that instrument, and you'll see the "EventLimit" macro in there. Make a folder for all you utility macros and save it there.

    That ensemble also has an "EventMorph" macro - sort of a linear x-fade for events - that a lot of ensembles use, and a "for-next-loop" macro buried several layers down in the "Seq. Parms" section of the sequencer.

    - CList

    p.s. Thanks for all the great Keyboard articles over the years! If you need any Reaktor programming advice, you can bet we'll do our best to help!
     
  3. Jim Aikin

    Jim Aikin NI Product Owner

    Messages:
    52
    I found a macro called Clipper (max-min), but nothing called EventLimit. Clipper will save me some work, but the actual problem I'm trying to solve is a little more convoluted than just limiting the event value of an output. What I want is to have my external trigger source incr or decr an accumulator ONLY if the current value in the accumulator is within the 0-127 range -- that is, greater than or equal to 1 for a decr message, and less than or equal to 126 for an incr message. If the accumulator has reached the min or max, the incoming event should be ignored. So there has to be a dual feedback loop between the output of the accumulator and its Set input. I haven't quite figured out how to do this.

    It's a shame the accumulator module doesn't have internally settable min and max values. (Hate to keep saying it, but this kind of thing is a piece of cake in Max.)

    --JA
     
Thread Status:
Not open for further replies.