|
|
|
04-17-2018, 10:59 AM
|
#1
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
How to convert MIDI messages
I am trying to simply convert sustain pedal'ed notes into durations for a MIDI item. Clean it up nicely.
Logic can do it.
Cubase too.
Sustain Pedal to Note Length functions exist in other DAWs but I can't find any way in Reaper to do it.
Is there no way currently to convert pedal to note durations in Reaper?
__________________
47.8% of statistics are made up.
Last edited by lowellben; 04-17-2018 at 12:16 PM.
|
|
|
04-17-2018, 12:54 PM
|
#2
|
Human being with feelings
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
|
The first link in Google has returned: https://forum.cockos.com/showpost.ph...23&postcount=8
PS. in practice Reaper can convenient do ANY MIDI manipulations someone can imagine, thanks to the powerful scripting engine and "Input FX" chain.
|
|
|
04-17-2018, 01:08 PM
|
#3
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by azslow3
|
I've tried that script.
I have used it as a Item FX. But it does not work.
I tried glue and render to new.
Can you please tell me how to use it? I have the JSFX installed fine it just won't do anything to my MIDI item.
Thank you.
__________________
47.8% of statistics are made up.
|
|
|
04-17-2018, 03:37 PM
|
#4
|
Human being with feelings
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
|
Have you configured it correctly? I mean MIDI channel and Controller? It is really working (have you copied it correctly)?
I have just checked that it works all possible ways (as Item FX, Input FX, normal FX) and prolongs all notes till sustain is released.
|
|
|
04-17-2018, 03:49 PM
|
#5
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by azslow3
Have you configured it correctly? I mean MIDI channel and Controller? It is really working (have you copied it correctly)?
I have just checked that it works all possible ways (as Item FX, Input FX, normal FX) and prolongs all notes till sustain is released.
|
As the other thread says, I also want to convert sustain pedal to actual new duration NOTES in the midi item.
Others say it works. I cannot get it to work.
I would like to take a MIDI item and apply this FX to it and convert sustain pedal messages to new duration-notes in said item.
Please advise. Thank you kindly.
__________________
47.8% of statistics are made up.
|
|
|
04-17-2018, 11:55 PM
|
#6
|
Human being with feelings
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
|
Quote:
Originally Posted by lowellben
I would like to take a MIDI item and apply this FX to it and convert sustain pedal messages to new duration-notes in said item.
|
Yes, that is how this script works (when it works).
So the only question is why it does not work for you.
I propose you check/set one more time:
1) check that all Notes are on MIDI channel 1 and sustain is really sustain (CC 64) and also on MIDI channel 1 (easy in the event view of MIDI editor)
2) check that MIDI channel 1 and CC 64 are selected in the script options
3) may be re-create the script copy/pasting into some programmers editor (like Notepad++)
There can be no magic here...
|
|
|
04-18-2018, 03:27 AM
|
#7
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by azslow3
Yes, that is how this script works (when it works).
So the only question is why it does not work for you.
I propose you check/set one more time:
1) check that all Notes are on MIDI channel 1 and sustain is really sustain (CC 64) and also on MIDI channel 1 (easy in the event view of MIDI editor)
2) check that MIDI channel 1 and CC 64 are selected in the script options
3) may be re-create the script copy/pasting into some programmers editor (like Notepad++)
There can be no magic here...
|
Thanks for your help, but I can assure you.
Yes, the MIDI information is only on Channel 1, and the JSFX plugin sustain is configured correctly. I just inserted it as you always do.
It just doesn't work. I've used the plugin as both insert and item FX.
Can you show me how it's working for you? Do you have a project you can share with a simple example? Or a video licecap?
Thank you.
__________________
47.8% of statistics are made up.
|
|
|
04-18-2018, 04:16 AM
|
#8
|
Human being with feelings
Join Date: Jun 2013
Location: So Florida
Posts: 1,427
|
Hi,
Sorry don't have time for a lice cap but I just used it 2 days ago. Worked fine. As item fx, then glued. Are you sure these are normal cc64 events? Not hold 2?
|
|
|
04-18-2018, 05:04 AM
|
#9
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by LugNut
Hi,
Sorry don't have time for a lice cap but I just used it 2 days ago. Worked fine. As item fx, then glued. Are you sure these are normal cc64 events? Not hold 2?
|
What does that mean, hold 2?
I recorded a simple MIDI keyboard passage, using a MIDI sustain pedal for CC64.
The lane data is correct.
The channels are correct.
I applied the item fx to MIDI item after I stopped recording.
Then hit glue.
No durations in MIDI editor changed at all.
Are you doing it live or just on any MIDI item after?
__________________
47.8% of statistics are made up.
|
|
|
04-18-2018, 08:53 AM
|
#10
|
Human being with feelings
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
|
I guess that does not help you, but since you have asked...
In the FX window, press "Edit..." button. Start play.
Do you see any errors in the status bar of JS editor?
|
|
|
04-18-2018, 10:12 AM
|
#11
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by azslow3
I guess that does not help you, but since you have asked...
In the FX window, press "Edit..." button. Start play.
Do you see any errors in the status bar of JS editor?
|
Wow, that shows exactly what I want to have happen, yet no change for me in my MIDI item. Will check the JS edit errors now. Thank you so much for all this.
__________________
47.8% of statistics are made up.
|
|
|
04-18-2018, 10:18 AM
|
#12
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Son of a gun. There was an error, somehow there was a funky character in the script.
But I just downloaded it so I can't believe that could have happened.
But it's working now. Thank you. Big, big thank you.
__________________
47.8% of statistics are made up.
|
|
|
04-18-2018, 01:12 PM
|
#13
|
Human being with feelings
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
|
Quote:
Originally Posted by lowellben
Son of a gun. There was an error, somehow there was a funky character in the script.
But I just downloaded it so I can't believe that could have happened.
But it's working now. Thank you. Big, big thank you.
|
I am glad you have got it working.
Note there is a separate board with many interesting tools: https://forums.cockos.com/forumdisplay.php?f=3
|
|
|
04-20-2018, 04:01 PM
|
#14
|
Banned
Join Date: Sep 2015
Posts: 1,650
|
In case you're interested, I've rustled up a script to do this, you can use it from the MIDI editor or the arrange view on multiple selected items (active, MIDI takes) at the same time. It's attached here...
|
|
|
04-21-2018, 05:58 AM
|
#15
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by snooks
In case you're interested, I've rustled up a script to do this, you can use it from the MIDI editor or the arrange view on multiple selected items (active, MIDI takes) at the same time. It's attached here...
|
Thank you kindly. I will try it now!
__________________
47.8% of statistics are made up.
|
|
|
04-21-2018, 08:30 AM
|
#16
|
Human being with feelings
Join Date: Jun 2013
Location: So Florida
Posts: 1,427
|
Hi,
Glad you got it sorted. Hold 2 is that third pedal on an acoustic piano. Ofc in midi spec terms.
And thank you snooks, it looks to be an improvement as far as one fx for multiple items and use from midi editor. Grazie mille!
|
|
|
04-24-2018, 08:56 AM
|
#17
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
Quote:
Originally Posted by snooks
In case you're interested, I've rustled up a script to do this, you can use it from the MIDI editor or the arrange view on multiple selected items (active, MIDI takes) at the same time. It's attached here...
|
This script is not working for me. Like, at all.
Can you tell me how to use it correctly?
The other way worked fine but your lua does nothing. I've selected items in the arrange view even too and tried it. CC64 data disappears from CC lane, yes. But no note durations are changed. It just removes CC64 values.
Help?
__________________
47.8% of statistics are made up.
|
|
|
04-25-2018, 05:43 PM
|
#18
|
Human being with feelings
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,432
|
any ideas?
__________________
47.8% of statistics are made up.
|
|
|
05-21-2018, 04:05 AM
|
#19
|
Human being with feelings
Join Date: May 2018
Posts: 2
|
Quote:
Originally Posted by azslow3
Yes, that is how this script works (when it works).
So the only question is why it does not work for you.
I propose you check/set one more time:
1) check that all Notes are on MIDI channel 1 and sustain is really sustain (CC 64) and also on MIDI channel 1 (easy in the event view of MIDI editor)
2) check that MIDI channel 1 and CC 64 are selected in the script options
3) may be re-create the script copy/pasting into some programmers editor (like Notepad++)
There can be no magic here...
|
It really worked for me. Many thanks
|
|
|
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:33 AM.
|