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'd like to have a K2 script extension

Discussion in 'Scripting Workshop' started by crowning, Jan 31, 2006.

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

    crowning NI Product Owner

    Messages:
    55
    Howdy,

    from within a K2 script I'd like to address other(!) instruments
    than the one loaded with the K2 script, e.g.
    play_note(<note>,<velocity>,<offset>,<duration>,<midi-channel>)
    where <midi-channel> would be the midi channel to which this
    event would be send. If <midi-channel> isn't used the default
    behaviour would be like it is now, so backward compatibility
    wouldn't be an issue.

    I couldn't find anything like this in the manual.

    Thanks for your time to read so far :D

    Tom
     
  2. kotori

    kotori NI Product Owner

    Messages:
    1,153
    Hi Tom

    I would like such an extension too. An excellent suggestion!
    Markus, please answer this.

    I feel NI has done a pretty good job with the scripting but severly limited its usefulness by not allowing scripts to send notes to other channels and by restricting the number of UI control rows/columns to only 6x6. The first limitation means that you need one big script to handle everything (moving everything into one big instrument) and the second means that you cannot make the script very big since you cannot present that many settings anyway :-(

    Something that's also missing is functions for event queue introspection, eg. a function that returns an array with all active event ID's that corresponds to a certain note. At least some way to guarentee that notes that no longer are used never stay in the event queue.

    Best,
    Nils
     
Thread Status:
Not open for further replies.