View Single Post
Old 01-10-2018, 04:24 PM   #18
tufb
Human being with feelings
 
Join Date: Dec 2017
Posts: 152
Default

Quote:
Originally Posted by hopi View Post
thanks for your help... I did get it to run without errors... but I must not understand something:

what I was expecting to be able to do is this:

have a drum midi track loaded from the beats of Addictive Drums
set the note map in reaper to be correct for that so kick notes are named kick, snare named snare, etc.

then run this script and get the exploded notes as items on new tracks, each track with only the notes
for each drum hit...

what I get when exploded is each of the note rows, correctly named as in note map [that is good!!]
but the items do not contain any notes....

Am I doing something wrong or do I not understand the lua's intent correctly???
What you are describing there, is basically exploding one MIDI item to new MIDI items,
where each contains one note row from the original item. There is already a
default action for that (search for "MIDI explode" in the action list menu).

These scripts will "convert" each MIDI note to a new Media Item, containing an empty take.
These new items can hold whatever you want them to.

Actually, I thought about implementing a take/sample loader within this script,
not sure if there's enough interest?
tufb is offline   Reply With Quote