Old 06-24-2017, 02:23 AM   #1
Ulf3000
Human being with feelings
 
Join Date: May 2016
Posts: 369
Default getting all media items in midi editor ?

hey everyone , i want to get all media take items in the midi editor ..

reaper.MIDIEditor_GetActive ()

only returns the activated item ... but id like to get all notes across all items accessible in a single midieditor ..

how can i do that ?
Ulf3000 is offline   Reply With Quote
Old 06-24-2017, 09:07 AM   #2
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Take: Explode takes of items in place
Item: Open in built-in MIDI editor

I use one editor for all the items though, and separate takes are no problem for me. Maybe glue the takes too?

---
edit: nah, exploding the takes across the tracks and then using the custom merge action is the fastest I can work that one out...without any scripts that is. Can't find the original thread for this custom MIDI merge now, but here's the deal:

Item: Set item mix behavior to always mix
Item: Implode items across tracks into items on one track
Item: Glue items, ignoring time selection
Item: Set item mix behavior to project default

Last edited by xpander; 06-24-2017 at 09:35 AM.
xpander is offline   Reply With Quote
Old 06-24-2017, 05:19 PM   #3
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

I describe a 'trick' to get the editable items in ReaScript: Functions to get and set editable/visible state of takes in MIDI editor.

An example of a script that uses this trick is in the Notation pre-release thread.
juliansader is offline   Reply With Quote
Old 06-25-2017, 07:24 PM   #4
Ulf3000
Human being with feelings
 
Join Date: May 2016
Posts: 369
Default

Quote:
Originally Posted by juliansader View Post
I describe a 'trick' to get the editable items in ReaScript: Functions to get and set editable/visible state of takes in MIDI editor.

An example of a script that uses this trick is in the Notation pre-release thread.
i dig the effort , but thats total overkill , iterating through all midinotes in whole project many times to apply a small script to a few midi notes ...
not worth it
Ulf3000 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.