KSP midi file player - MAKE IT STOP :(

Sampler and Sampling discussion (techniques, tips and tricks, etc.)
Post Reply New Topic
RELATED
PRODUCTS

Post

I downloaded the very excellent midi2file http://peteroregan.com/scripts.html and used it to create a script that plays my midi files in Kontakt.

Alas there are a few limitations to the script created that I would like to build on. I would like a stop function generated by notes being played.

E.g. in the below example C2 (midi note 48) starts the midi file playing how do I add to this so that playing C2 again stops it?

I would also like to have the monophonic function that playing another note (midi note 49) would interrupt/stop the midi file assigned to C2 as it starts the midi file assigned to C#2

on note
if ($EVENT_NOTE = 48)
play_note(36,100,0,3156250)
wait(3158333)
play_note(37,100,0,3155208)
wait(3157291)
end if
if ($EVENT_NOTE = 49)
play_note(36,100,0,3156250)
wait(3158333)
play_note(37,100,0,3155208)
wait(3157291)
end if
end on

Perhaps there are sequencing scripts I can purchase or download that handle this type of thing?

Any takers?

:)

Post

Hi, i search a script that can make a multi midifiles player like the abbey roads drummer for kontakt.
If any one have this please.

Best Regards.
+ de 500 Tutoriels MAO :

http://www.tuto-mao-guitare.com

Post

Modifying such script (series of play_note and wait commands) to stop sequence at another note would be tedious task. You would have to add a control statement (like "if") before each play command in the string.
I don't know Abbey Road Drummer, but if it's any similar to Kontakt's factory drumming instruments (if it's NI, I bet it's the same script), then the patterns are coded into scripted sequencer (based on listener callback, so you can adjust tempo), not quite recorded.
I guess it could be possible to write a recorder/player script at multiscript level, I'll think about the idea.

Post Reply

Return to “Samplers, Sampling & Sample Libraries”