|
|
|
09-02-2014, 01:49 AM
|
#1
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
Remove duplicate midi on different note
Hi folks!
I have a Cajun that I'd like to use as a trigger for kick and snare.
So I set up a trigger on back-mic and front-mic to new track, one note for kick, another for snare.
This gives me basically two notes per hit, with different relative velocities, on same track.
So, now I need to remove the note that is lowest in velocity,
so one hit will be kick, another snare.
Is there a script somewhere for this?
Is it hard to make?
I might have to manually change some notes later, but such a script would make things much easier.
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
|
|
|
09-02-2014, 03:05 AM
|
#2
|
Human being with feelings
Join Date: May 2006
Location: Surrey, UK
Posts: 19,681
|
I do not know of a script but it would not be too difficult.
Code:
Get the next MIDI note.
If a first Note On, save the velocity.
If a second Note On,
use the max velocity of this note and the saved velocity,
send a Note On.
If a first Note Off, ignore it.
If a second Note Off, send it on.
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
|
|
|
09-02-2014, 07:00 AM
|
#3
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
Quote:
Originally Posted by DarkStar
I do not know of a script but it would not be too difficult.
|
Ok, nice.
I was thinking not like an fx, but as a script thinning the notes.
More like this maybe?
Code:
Get the next MIDI note.
If a first Note A On, save velocity A.
If a second Note B On within +20ms,
save the velocity B
If vel A > vel. B
delete note B
else
delete note A
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
|
|
|
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 06:28 PM.
|