andy_grahammer
Max Output Level: -90 dBFS
- Total Posts : 40
- Joined: 2015/03/30 10:37:22
- Location: Germany
- Status: offline
How to select midi events with a specific value only
Hey guys, hope you can help me with this. Here´s my problem: I recognised that Sonar records not only the on/off event on my sustain pedal (0 and 127) but also values between, like 31, 72 and so on. I already figured out how to change my settings on my midikeyboard, so that it only transmits the 0 and 127 value. So no problem for future projects, but now I have many many recordings with this values between, which leads to some unwanted results in some of my VSTs. Also I have to change the settings on my keyboard every time it was turned off. The only way I know how to solve this problem, is to open the event list view and delete every unwanted value by hand. Is there any other (more practical) way to selects those unwanted events and delete them with a few clicks, like a filter? Thank you for your help :-)
|
Cloud_Ruler
Max Output Level: -90 dBFS
- Total Posts : 16
- Joined: 2015/02/05 01:25:45
- Status: offline
Re: How to select midi events with a specific value only
2015/04/20 18:04:00
(permalink)
If you highlight the track number and then view the clip in the piano roll view any changes you make to one note will be made to every note in that clip. If you're talking about a ton of notes here then try this: duplicate the clip and in one clip delete all notes except for the ones you want to have velocity 0. In the other clip delete all notes except for the ones you want to be velocity 127. then highlight each clip and when you view it in piano roll every note will be highlighted and you should be able to change the velocity for each note in the clip at once by right clicking any note and making the change. Then you just paste each clip back together one right on top of the other. I know this works with note duration but I've never tried it with velocity. hopefully this helps!
|
Cloud_Ruler
Max Output Level: -90 dBFS
- Total Posts : 16
- Joined: 2015/02/05 01:25:45
- Status: offline
Re: How to select midi events with a specific value only
2015/04/20 18:04:53
(permalink)
If you highlight the track number and then view the clip in the piano roll view any changes you make to one note will be made to every note in that clip. If you're talking about a ton of notes here then try this: duplicate the clip and in one clip delete all notes except for the ones you want to have velocity 0. In the other clip delete all notes except for the ones you want to be velocity 127. then highlight each clip and when you view it in piano roll every note will be highlighted and you should be able to change the velocity for each note in the clip at once by right clicking any note and making the change. Then you just paste each clip back together one right on top of the other. I know this works with note duration but I've never tried it with velocity. hopefully this helps!
|
andy_grahammer
Max Output Level: -90 dBFS
- Total Posts : 40
- Joined: 2015/03/30 10:37:22
- Location: Germany
- Status: offline
Re: How to select midi events with a specific value only
2015/04/21 04:59:14
(permalink)
Hey Cloud_Ruler, thanks for your reply :-) Unfortunately, this won´t work, because the events I want to change are controller events (sustain pedal) and no note events. There is a controller view in the piano roll, but it would result the same: I´d have to edit this by hand, event by event. ;-) But thanks for the tip :D
|
ston
Max Output Level: -71 dBFS
- Total Posts : 965
- Joined: 2008/03/04 12:28:40
- Status: offline
Re: How to select midi events with a specific value only
2015/04/21 07:42:27
(permalink)
Input Transformer and Logical Editor are what you need, but alas both only available in Cubase AFAIK. There are a quite a lot of MIDI plugins from the following websites (some free, some commercial), I don't think that the first two links have anything you need, but the last one seems promising (LOTs of plugins, I don't have the time to check them all): www.midi-plugins.de/ http://www.codefn42.com/http://www.midiplugins.com/I'm not sure if Sonar's MIDI Event Filter will give you what you want, but it might be worth checking out perhaps(?) Ah, just found this which looks very interesting: https://code.google.com/p/midi-shape-shifter/Any use?
|
andy_grahammer
Max Output Level: -90 dBFS
- Total Posts : 40
- Joined: 2015/03/30 10:37:22
- Location: Germany
- Status: offline
Re: How to select midi events with a specific value only
2015/04/21 07:46:02
(permalink)
Hey Ston, thank you for the link. The last one sounds promising, especially the "Filter out specified MIDI data"-feature. I will give it a try tonight and let you know. :-)Sounds promising ^^
|
ston
Max Output Level: -71 dBFS
- Total Posts : 965
- Joined: 2008/03/04 12:28:40
- Status: offline
Re: How to select midi events with a specific value only
2015/04/21 11:23:10
(permalink)
☄ Helpfulby andy_grahammer 2015/04/21 13:17:09
|
bitflipper
01100010 01101001 01110100 01100110 01101100 01101
- Total Posts : 26036
- Joined: 2006/09/17 11:23:23
- Location: Everett, WA USA
- Status: offline
Re: How to select midi events with a specific value only
2015/04/21 11:47:28
(permalink)
☄ Helpfulby andy_grahammer 2015/04/21 13:16:58
For this type of task, the Process -> Interpolate tool works perfectly. It's a two-step process: first you select the events and then choose what you want done to them. You'll need to do it twice, first to set everything >= 64 to 127 and again to set everything < 64 to zero. In the event filter dialog, un-check everything except "Control", then set both Min and Max values to 64 next to "Number" to specify pedal events. Next, set the "Value" Min to 64 and Max to 127. Click OK to select all the pedal events with values between 64 and 127. In the Replace dialog, set the Min and Max values to 127 and click OK. Now repeat the process, except this time use Min = 0, Max = 63 in the selection dialog and set Min = 0, Max = 0 in the Replace dialog. All your pedal events should now be 0 or 127.
All else is in doubt, so this is the truth I cling to. My Stuff
|
andy_grahammer
Max Output Level: -90 dBFS
- Total Posts : 40
- Joined: 2015/03/30 10:37:22
- Location: Germany
- Status: offline
Re: How to select midi events with a specific value only
2015/04/21 13:27:53
(permalink)
@ston: Thanks again for the additional link. There´s also a lot plugins I can try out :-) @bitflipper: Thank you, this quite nailed it. :-D As long as the values are 0 or 127, there´s no problem with my VSTs. But I want my MidiTracks tidy tidy ;-) , so, thanks to you, I found the function I was looking for. Under EDIT -> SELECT -> FILTER I chose controller first value 64 to 64 and then 1 to 126. After that, I could delete every pedal value that wasn´t 0 or 127. Thanks again @all for being a great help!
|