View Single Post
Old 01-02-2018, 07:51 PM   #1
tufb
Human being with feelings
 
Join Date: Dec 2017
Posts: 152
Default Lua: Convert MIDI notes to items

Convert MIDI notes to items

* bfut_MIDI notes to items (explode note rows to subtracks).lua
* bfut_MIDI notes to items (notes to subtrack, note pitch as item pitch).lua
* bfut_MIDI notes to items (notes to subtrack, note pitch as item rate).lua
* bfut_MIDI notes to empty items (explode note rows to subtracks).lua
* bfut_MIDI notes to empty items (notes to subtrack, note pitch as item pitch).lua
* bfut_MIDI notes to empty items (notes to subtrack, note pitch as item rate).lua



Converts MIDI notes to media items in one go.

Multiple users had been requesting this over the years.

How to set up item/sample loader:
1) Select MIDI item(s) on one track.
2) Select another track with various media items.
3) Script maps each used note row to successive media items on selected track.
4) If there are not enough media items, script inserts empty items.

How to use:
1) Select MIDI item(s).
2) Select a track. (optional)
3) Run the script.


Installation
Directly from https://github.com/bfut/ReaScripts or
Copy and paste this URL in Extensions > ReaPack > Import repositories:
Code:
https://github.com/bfut/ReaScripts/raw/main/index.xml
Then install individual scripts in Extensions > ReaPack > Browse packages.



Screencaptures & Pictures

bfut_MIDI notes to items (explode note rows to subtracks).lua
videoclip: https://streamable.com/5blt0 (900 KB)
Note row mode: New subtrack for every used note row. Note row names become subtrack names.




bfut_MIDI notes to items (notes to subtrack, note pitch as item pitch).lua
Note pitch mode: Creates one subtrack. Note pitch is translated to item pitch. (Default reference pitch is 60 (C4); can be changed easily in the script.)




bfut_MIDI notes to items (notes to subtrack, note pitch as item rate).lua
videoclip: https://streamable.com/y7cz4 (600 KB)
Note pitch mode: Creates one subtrack. Note pitch is translated to item playrate. (Default reference pitch is 60 (C4); can be changed easily in the script.)


Last edited by tufb; 12-22-2020 at 07:33 AM.
tufb is offline   Reply With Quote