Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 02-18-2018, 08:18 PM   #1
woogish
Human being with feelings
 
Join Date: Feb 2011
Posts: 693
Default select midi notes by their position in a measure

I want to be able to select midi notes by their position in a measure. A use for this option would be something like this-

say I have a 16 bar passage of trap cymbal 8th notes, all the same velocity. I want to
pulse them by selecting all the "ands" and then increasing their velocity. Anyone?
woogish is offline   Reply With Quote
Old 02-19-2018, 02:08 AM   #2
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Maybe this script is interesting for you?

ReaScript name: js_Select and deselect MIDI notes by step pattern.lua
Version: 1.21
Author: juliansader
Website: http://forum.cockos.com/showthread.php?t=176878
Screenshot: https://stash.reaper.fm/30964/js_Sel...ons%20mode.gifE


Edit:
There is another simpler version, which I personally found very useful:

* ReaScript Name: Select every N-th item within time selection
* EEL script for Cockos REAPER
* Author: spk77
* Author URI: http://forum.cockos.com/member.php?u=49553

Don't know if that one fits your needs..

Last edited by o_e; 02-19-2018 at 02:23 AM. Reason: add
o_e is offline   Reply With Quote
Old 02-19-2018, 02:37 AM   #3
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

No need to use scripts, this is all possible with MIDI filter built into Reaper...

EvilDragon is offline   Reply With Quote
Old 02-19-2018, 04:00 AM   #4
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by EvilDragon View Post
No need to use scripts, this is all possible with MIDI filter built into Reaper...
Ahh, interesting..
But I don't get it how to use it properly, for example, if I have a 4/4 bar with 4 quarter notes and I want to select all notes but the first, how would I do that? The manual does not really help..

thanks!
o_e is offline   Reply With Quote
Old 02-19-2018, 04:44 AM   #5
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

You would set position in measure: 1/4, <empty>, Repeat every: measure.

Basically, position in measure sets from-to range (you can type values that are not in the menu if you want, weird stuff like 5/16 works), and then you set how often you want that to repeat.
EvilDragon is offline   Reply With Quote
Old 02-19-2018, 06:55 AM   #6
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by EvilDragon View Post
You would set position in measure: 1/4, <empty>, Repeat every: measure.

Basically, position in measure sets from-to range (you can type values that are not in the menu if you want, weird stuff like 5/16 works), and then you set how often you want that to repeat.
What am I missing?

o_e is offline   Reply With Quote
Old 02-19-2018, 07:01 AM   #7
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

Not sure, it works here...
EvilDragon is offline   Reply With Quote
Old 02-19-2018, 07:30 AM   #8
Michael AD
Human being with feelings
 
Michael AD's Avatar
 
Join Date: Jul 2017
Location: Hackensack
Posts: 347
Default

Quote:
Originally Posted by o_e View Post
What am I missing?
Not positive... but it appears that you only have whole notes and are asking it to find 1/4 notes.
Michael AD is offline   Reply With Quote
Old 02-19-2018, 08:13 AM   #9
o_e
Human being with feelings
 
o_e's Avatar
 
Join Date: May 2016
Posts: 681
Default

Quote:
Originally Posted by Michael AD View Post
Not positive... but it appears that you only have whole notes and are asking it to find 1/4 notes.
Thank you, you were right, good eye!
o_e is offline   Reply With Quote
Old 02-20-2018, 04:58 AM   #10
DynamicK
Human being with feelings
 
Join Date: Nov 2017
Location: Gloucestershire, UK
Posts: 223
Default

Quote:
Originally Posted by EvilDragon View Post
No need to use scripts, this is all possible with MIDI filter built into Reaper...
Thanks for the tip...new to me. I was using the other scripts.
DynamicK is offline   Reply With Quote
Old 02-20-2018, 09:30 PM   #11
woogish
Human being with feelings
 
Join Date: Feb 2011
Posts: 693
Default Thanks ED

This looks like my answer
woogish is offline   Reply With Quote
Old 09-06-2021, 01:21 AM   #12
jprykiel
Human being with feelings
 
Join Date: Jan 2018
Posts: 59
Default

Hello,
are there any resources regarding the syntax to use in these 3 fields. What the user guide says is wrong, and doesn't even mention the "repeat every" field.
Quote :
Position in measure behavior will vary with the event type. For example, if the event type is Note, position in measure allows you to restrict display
to a range you define anywhere between 0 and 127...
End of quote.

By default, "repeat every " says measure, but how are we supposed to guess what to write if we want for example the selection to repeat every 2 beats?
Thanks for your help,
Cheers,
JPR
jprykiel 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 06:44 PM.


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