• Register
  • Help
Results 1 to 7 of 7

Topic: loop management idea: k2 script?

Share/Bookmark
  1. #1

    loop management idea: k2 script?

    i'd like to realize the following with Kontakt2, is it possible?

    example
    i have two loops, mapped to C2 and D2, each 4 bar long, named "A" and "B"
    when i press C2, the loop A starts and continue to play.
    at the bar 2, i press D2 and loop B starts (from the beginning) and loop A is muted

    at bar 3, i release D2 and loop A starts playing again, but from bar 3 and NOT from the beginning! (bar1)

    in this way it should be possible to combine several phrases from different loops, creating a huge numbers of variations.

    the basic idea should be this one, perhaps should it be possible to implement with a K2 script?

    any suggestion?
    thanks!

  2. #2
    Senior Member Tom Crowning's Avatar
    Join Date
    Sep 2005
    Location
    On the other side of the big pond
    Posts
    226

    Re: loop management idea: k2 script?

    Quote Originally Posted by bosone
    i'd like to realize the following with Kontakt2, is it possible?

    example
    i have two loops, mapped to C2 and D2, each 4 bar long, named "A" and "B"
    when i press C2, the loop A starts and continue to play.
    at the bar 2, i press D2 and loop B starts (from the beginning) and loop A is muted

    at bar 3, i release D2 and loop A starts playing again, but from bar 3 and NOT from the beginning! (bar1)

    in this way it should be possible to combine several phrases from different loops, creating a huge numbers of variations.

    the basic idea should be this one, perhaps should it be possible to implement with a K2 script?

    any suggestion?
    thanks!

    If I understand your idea correctly it can be done with K2-script.
    It'll be a good exercise for you to learn it

    Tom

  3. #3

    Re: loop management idea: k2 script?

    You can start sample (loop) playback from an offset by way of Kontakt script, but only if the engine is in "sampler" mode. "DFD" mode will not work here.

    Your idea could be implemented.

  4. #4
    Senior Member Big Bob's Avatar
    Join Date
    Jun 2005
    Location
    Apple Valley, California
    Posts
    323

    Re: loop management idea: k2 script?

    You can start sample (loop) playback from an offset by way of Kontakt script, but only if the engine is in "sampler" mode. "DFD" mode will not work here.
    If the two loops are synchronous, such that if loop A continues muted while loop B is played for one bar, then it could simply be unmuted at bar 3. So, if you need to use the DFD mode, you could just leave the first loop running and have the script simply mute it and then unmute it later when you finish bar 2. Unfortunately, muting would require the use of the 'noisey' change_vol() function so the results may or may not be satisfactory.

    Bob
    Big Bob (aka Wonderful Bob)

  5. #5

    Re: loop management idea: k2 script?

    hi!
    i think the best solution could be to start the playback of all the loops simultaneously at the pressure of just one key.
    then, with the other key, and in a sort of legato mode, it will be possible to mute/unmute the different samples.
    maybe it is possible to use the change volume command if the samples are inserted in different groups?
    anyway, this is just an idea, i still have to translate in code!
    thanks!

  6. #6

    Re: loop management idea: k2 script?

    hi!
    i changed my mind on this problem, and i eventually came to the idea that the best solution is to load all loops in "samlpe mode" (no DFD) and implement a sort of legato in which the sample start offset is modulated by the duration of the previous note...
    i will try and let you know! :-)

  7. #7

    Re: loop management idea: k2 script?

    Quote Originally Posted by bosone
    hi!
    i changed my mind on this problem, and i eventually came to the idea that the best solution is to load all loops in "samlpe mode" (no DFD) and implement a sort of legato in which the sample start offset is modulated by the duration of the previous note...
    i will try and let you know! :-)
    One problem with Sampler mode that might be good to be aware of, apart from being more RAM hungry, is that one has to loop the samples manually - that is determine when a loop has reached it's end and is to be restarted. And you have to hard code the length of each loop or make it possible to specify this with script UI controls since there is no way for a script to determine the length of samples (at least not that I know of, please someone correct me if I'm wrong).

    To me it seems the DFD way would be simpler. That said however, Sampler mode gives you a lot of flexibility since you can start playback from arbitrary positions.
    Good luck, and feel free to post any questions you might have!

    Best,
    Nils

Go Back to forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •