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

Scipts for Strings

Discussion in 'Scripting Workshop' started by Oliver Fries, Feb 13, 2006.

Thread Status:
Not open for further replies.
  1. Oliver Fries

    Oliver Fries NI Product Owner

    Messages:
    61
    Hi,
    is there a script collection for playing samples of Strings, Cello, Viola e.g. with K2 ? Which scripts from the program do you use?
     
  2. kotori

    kotori NI Product Owner

    Messages:
    1,153
    What is it you want to use the scripts for?
    One interesting script is Jay's Ensemble Maker script. You can use it with solo string instruments to make an ensemble. Some info in this thread.
    Also Theo Krueger has a page with scripts that you might find useful.

    Best,
    Nils
     
  3. robertb

    robertb NI Product Owner

    Messages:
    17
    How about a script that changes articulations based on the speed of the passage. Like the feature in the new Vienna Instrument? Is this possible with K2 scripting?
     
  4. kotori

    kotori NI Product Owner

    Messages:
    1,153
    Yes, it's possible. I assume here that the VI isn't perfect and will sometimes be too late with switching articulation (one can only determine how long it's been since the last note was played, not for how long the current note will be held). I was thinking of writing such a script, but I was a little let down by the fact that it would not be possible to change between the articulations of different K2 instruments (.nki's) without a lot of double configuration. This is because K2 doesn't let scripts communicate with multiple instruments, they are always local to a specific instrument.

    So it's possible to switch between staccato and sustain articulations (and writing a script do to it is pretty simple) since they are within the same K2 instrument, but for switching between sustain and legato one would have to load the same script for both instruments and manually specify the same settings. So while it's also possible in the case with separate instruments, it involves a lot of extra configuration work to make sure settings are the same everywhere.

    Best,
    Nils
     
  5. robertb

    robertb NI Product Owner

    Messages:
    17
    Nils,

    This speed control would work well on the key switched instruments. Like the VI ensemble all .nki included in the K2 library.

    You could create custom .nki's as well...

    What do you think?
     
  6. kotori

    kotori NI Product Owner

    Messages:
    1,153
    Re: Scripts for Strings

    Hi again Robert,
    I wrote a script to do speed based articulation switching. Please feel free to try it out. Beside note speed you can also use the mod-wheel to control articulation switches, and it's possible to do manual key switches where necessary (manual key switches affects the following note/chord).

    You can download the script from my web page.
    There's also an mp3 demo on that page that shows how it sounds when used with VSL solo cello.
    All comments and suggestions are very welcome.

    Best,
    Nils
     
  7. robertb

    robertb NI Product Owner

    Messages:
    17
    Nils,

    You are unbelievable!!!

    I will try it out and comment this evening.

    ps. Just listened to the mp3. Amazing work...

    Thanks,
    Bob
     
  8. Justin M

    Justin M NI Product Owner

    Messages:
    76
    Hi Nils, great script - Ive been after this idea for a while.

    I have found that all keyswitches (1-4) are active even if not selected. Is this me or a problem?

    Could I also request a midi CC# selector rather than just the mod wheel option (as in Big Bobs Scripts)

    All the best,

    Justin
     
  9. kotori

    kotori NI Product Owner

    Messages:
    1,153
    Thanks. This was really a kind of quick hack, so it could definitely benefit from some improvements. I made some small updates including possibility to choose CC, so please download the newest version.

    About your problem:
    make sure that the speed knobs to the left are set lower than the ones to the right. When you say they're all active, do you mean that you hear multiple articulations simultaneously? It sounds like you're not using a key switch instrument...
    What instrument do you use? The script should present you with a "Speed: ___" message. Please compare that number to what you set the four knobs to.

    Best,
    Nils
     
  10. Justin M

    Justin M NI Product Owner

    Messages:
    76
    Nils,

    What I was meaning is; if for instance you only want 2 or 3 keyswitches active how do you stop the third or forth activating at a higher speed than the previous. (I though selecting the active 1-4 buttons would turn them on or off)

    The other thing I have noticed is that in the learn keyswitch mode it will not learn from the K2 Keyboard where there are pink (KS) keys, only the none KS keys.

    Hope I am not becoming a pain in the neck,

    Justin
     
Thread Status:
Not open for further replies.