|
|
|
09-04-2014, 02:54 PM
|
#1
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
EEL: Move edit cursor to start of next/prev MIDI note
It was a bit surprising that there really weren't actions for "move cursor to next or previous note".
("Oikea nuoli" = right arrow and "vasen nuoli" = left arrow)
Download:
Move edit cursor to start of next note.eel
https://stash.reaper.fm/21732/Move%20...ext%20note.eel
Move edit cursor to start of previous note.eel
https://stash.reaper.fm/21733/Move%20...ous%20note.eel
Save the scripts to your computer -> Load from the action list (choose MIDI editor section -> "ReaScript: New/load...")
Edit: There's a bug in "Move edit cursor to start of previous note.eel". If the last notes are exactly at the same position and the edit cursor is at later pos. -> the edit cursor doesn't move. Have to fix it tomorrow.
Last edited by spk77; 09-04-2014 at 03:27 PM.
|
|
|
09-04-2014, 04:50 PM
|
#2
|
Human being with feelings
Join Date: Jun 2014
Location: New Zealand
Posts: 227
|
Thanks spk. Perhaps the bug is the same reason my custom action isn't working?
I have downloaded the "next" script, but after reading up how to use it, and finding I don't have Python installed at present, decided not to run it yet as I have so many unknowns and variables going already, and Mac Mavericks is funny about some things, so I'll wait till I'm more familiar with using the Mavericks hidden library/Application Support (which I do when necessary, but with caution) Reaper, Aria, Garriton, and Extended Desktop monitor...
I'll follow this thread and mine to see what emerges from both your scripts and my attempted custom actions.
EDIT so as not to mislead other newbs - thanks for instructions in other thread, have now downloaded the .eel and uploaded directly into Reaper. ie no need for Python.
Last edited by Jacos; 09-05-2014 at 12:23 AM.
|
|
|
09-05-2014, 09:15 PM
|
#3
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
these seem to work perfectly here... thanks so much spk77. Your EEL work is adding greatly to what reaper can do!
|
|
|
09-06-2014, 06:39 AM
|
#4
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by hopi
these seem to work perfectly here... thanks so much spk77. Your EEL work is adding greatly to what reaper can do!
|
Thanks hopi!
Still haven't fixed the bug in the "Move edit cursor to start of previous note.eel".
...but I made two new versions:
They call the main section actions "Move cursor to next transient in items" and "Move cursor to previous transient in items" from the MIDI editor. These two scripts have to be loaded into "MIDI editor section" (instructions in the gif below).
(I'm pressing the "Special key" -button when adding shortcuts (ctrl+left/right arrow)- that's not necessary)
Download:
Move edit cursor to start of next note (native action).eel
https://stash.reaper.fm/21744/Move%20...0action%29.eel
Move edit cursor to start of previous note (native action).eel
https://stash.reaper.fm/21745/Move%20...0action%29.eel
|
|
|
09-06-2014, 07:15 AM
|
#5
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
I'm testing the StuffMIDIMessage function. I'm trying to make something like "Move cursor to start of next/note(s) + preview note(s)". (It plays the notes that starts at cursor)
Sending MIDI messages to "Virtual MIDI keyboard input" with StuffMIDIMessage
(The toolbar button is there just for testing purposes - I have a shortcut key for the script also)
EDIT: Here's a TEST VERSION OF "Move cursor to start of next note(s) + preview note(s)": https://stash.reaper.fm/21747/Move%20...%20preview.eel
- Arm track for recording -> add a VSTi on the track -> choose Input MIDI: Virtual MIDI keyboard -> All channels -> Record monitoring: On
- This sends only "Note On" messages (channel, pitch and velocity).
Last edited by spk77; 09-06-2014 at 07:45 AM.
|
|
|
09-07-2014, 05:28 PM
|
#6
|
Human being with feelings
Join Date: Jun 2009
Location: Earth
Posts: 1,340
|
Hi spk77,
A nice addition to this script might be for it to maybe store the initial cursor position and return there if it incounters a loop selection end or end of item.
Thanks
|
|
|
09-08-2014, 05:49 AM
|
#7
|
Human being with feelings
Join Date: Dec 2011
Posts: 406
|
As I see more and more interesting EEL scripts: is there one place where EEL scripts are collected for overview? Something like Darkstars approach on jsfxs?
|
|
|
09-10-2014, 12:41 PM
|
#8
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
Quote:
Originally Posted by Anton9
Hi spk77,
A nice addition to this script might be for it to maybe store the initial cursor position and return there if it incounters a loop selection end or end of item.
Thanks
|
Hi Anton,
Hmmm..I have to think how/where/when to save the initial cursor position, but I like the idea.
Quote:
Originally Posted by Nixon
As I see more and more interesting EEL scripts: is there one place where EEL scripts are collected for overview? Something like Darkstars approach on jsfxs?
|
I guess not, but I (and some others) have uploaded some scripts to the stash:
https://stash.reaper.fm/tag/Scripts
|
|
|
01-23-2015, 11:10 AM
|
#9
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Quote:
Originally Posted by spk77
It was a bit surprising that there really weren't actions for "move cursor to next or previous note".
|
hmm yes, indeed
Thanks for sharing !
|
|
|
12-29-2016, 05:44 PM
|
#10
|
Human being with feelings
Join Date: Jun 2014
Location: UK
Posts: 365
|
Quote:
Originally Posted by X-Raym
hmm yes, indeed
Thanks for sharing !
|
I followed instructions but no joy on osx 10.7.5. I take it native means windows ?
Was able to load the reascript and assign a short cut but it didn't work.
Can't believe there is no action for this basic task. Kind of whacked my plans for quicker midi editing.
Any work arounds / ideas - joining custom actions for this ?
cheers
|
|
|
12-29-2016, 07:21 PM
|
#11
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
I'm looking at the code for that script and I don't see anything Windows-specific about it; not sure why it doesn't work on Mac. Does the script do anything at all when you run it? Throw up an error message at all?
Anyway, you can half-ass the same behavior with a custom action like this:
Navigate: Select next note
Edit: Set time selection to selected notes
Move cursor to start of time selection
Never mind, just do:
Navigate: Select next note
Navigate: Move edit cursor to start of selected events
Last edited by Lokasenna; 12-29-2016 at 07:35 PM.
|
|
|
12-29-2016, 08:43 PM
|
#12
|
Human being with feelings
Join Date: Jun 2014
Location: UK
Posts: 365
|
Hi, the reascript opened up in a box in reaper but when i closed it it was added to the actions list and i was able to add a short cut for it but it just didn't work…..
Anyhow, not needed now as was able to create a custom action for the very two things you just mentioned there, so you would have set me on right track even if i hadn't managed it, good man.
really chuffed i've managed to sort out these custom actions as it would have made editing finger drums in midi editor way too time consuming without it.
Made another action to go back the way in the editor . Will speed things up thanks.
Last edited by hermitcrab; 12-30-2016 at 03:57 AM.
|
|
|
06-24-2017, 04:32 AM
|
#13
|
Human being with feelings
Join Date: Dec 2016
Posts: 62
|
WOW !!! thank you, thank you, thank you SPK77
i was like "what ? no move to next note ?" - 10 seconds googling and here are your scripts...
works like a charm on OSX 10.8.5, Reaper v5.201/64
I LOVE REAPER. The level of customability is totally from different dimension not only compared to other DAWs but computer software in general - Reaper feels more like an operating system
|
|
|
06-24-2017, 04:37 AM
|
#14
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
@rvrv
These great scripts are part, among many others, of the ReaTeam scripts collection downlodable with Reapack. Go check this project, you may find a lot of good things :P
|
|
|
06-24-2017, 08:12 AM
|
#15
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
Quote:
Originally Posted by spk77
I'm testing the StuffMIDIMessage function. I'm trying to make something like "Move cursor to start of next/note(s) + preview note(s)". (It plays the notes that starts at cursor)
EDIT: Here's a TEST VERSION OF "Move cursor to start of next note(s) + preview note(s)": https://stash.reaper.fm/21747/Move%20...%20preview.eel
- Arm track for recording -> add a VSTi on the track -> choose Input MIDI: Virtual MIDI keyboard -> All channels -> Record monitoring: On
- This sends only "Note On" messages (channel, pitch and velocity).
|
This test version, when used with my normal midi keyboard set as the input for the track, works BUT each note it goes to never goes off... so it becomes like a stuck midi note...
Is that because it MUST use the VMK?
If it could work without this problem this would be a super useful script!
|
|
|
09-13-2017, 12:26 PM
|
#16
|
Human being with feelings
Join Date: Jan 2012
Posts: 18
|
hi everybody,
Hopi, have you resolve the problem ?
I'm really interested to stop actual note just before the next will start.
If anyone could help us?
Thanx!
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:07 AM.
|