• SONAR
  • How do I extract specific MIDI notes from a track? (p.3)
2016/02/03 22:55:00
lawajava
Anderton
The simplest solution is the MIDI plug-in, "MIDI Event Filter."
 
For example, suppose you want to extract only the C3 notes from a clip. 
 
1. Copy the clip to a new track so you don't disturb the existing track.
2. Insert the MIDI Event Filter in the new track's FX Rack.
3. Open the MIDI Event Filter and check the "Notes" box. Enter C3 in the two note fields (don't try to use the little arrows to adjust notes, they're squirrely. I've alerted QC about this).
4. With the clip selected, choose Process > Apply Effect > MIDI Effects.
5. All the notes except C3 will be cut because your selection consists only of those notes - the others are filtered out.
 


Very cool! A new technique for me. I'll try that! Thanks!
2016/02/03 23:16:09
Paul P
Anderton
The simplest solution is the MIDI plug-in, "MIDI Event Filter."
 
For example, suppose you want to extract only the C3 notes from a clip. 
 
1. Copy the clip to a new track so you don't disturb the existing track.
2. Insert the MIDI Event Filter in the new track's FX Rack.
3. Open the MIDI Event Filter and check the "Notes" box. Enter C3 in the two note fields (don't try to use the little arrows to adjust notes, they're squirrely. I've alerted QC about this).
4. With the clip selected, choose Process > Apply Effect > MIDI Effects.
5. All the notes except C3 will be cut because your selection consists only of those notes - the others are filtered out.
 



That's quite a bit more than my "type one character - click mouse - type one character".
 
2016/02/03 23:29:22
dilletant
For me the simplest way is 1) select note(s) in PRV, 2) drag the clip to another track holding Shift...
2016/02/04 01:06:30
Anderton
Paul P
Anderton
The simplest solution is the MIDI plug-in, "MIDI Event Filter."
 
For example, suppose you want to extract only the C3 notes from a clip. 
 
1. Copy the clip to a new track so you don't disturb the existing track.
2. Insert the MIDI Event Filter in the new track's FX Rack.
3. Open the MIDI Event Filter and check the "Notes" box. Enter C3 in the two note fields (don't try to use the little arrows to adjust notes, they're squirrely. I've alerted QC about this).
4. With the clip selected, choose Process > Apply Effect > MIDI Effects.
5. All the notes except C3 will be cut because your selection consists only of those notes - the others are filtered out.
 



That's quite a bit more than my "type one character - click mouse - type one character".
 




Yes, you're right, and icontakt's technique is pretty effing brilliant too. When I see something where I can reply I open up the reply field but often get distracted as I test something out in SONAR (like this time, where I tried to see if Find/Change worked to do this - FYI it doesn't), so I end up posting without refreshing the page to see if there were additional posts. Probably a habit I should avoid.
 
However...do note that the MIDI Filter plug-in is a very powerful "universal extraction" tool. For example if you want to extract only notes with velocities above 110 in the range of C3-D#3 with durations longer than 256 ticks, this will do it easily. Another tool for the extraction toolchest.
 
Also, in case anyone has trouble getting icontakt's technique to work, note that "2" needs to be bound to the nudge down function. If it's not, choose Process > Nudge > Down.
2016/02/04 07:52:22
jyoung60
This is awesome.  Quite a few suggestions for accomplishing the same task.  I have no idea which one to mark as the answer, because there are more than one!
2016/02/04 10:29:50
Kylotan
Of course, as I've said in the past, Sonar shouldn't be second-guessing users and placing things at a different location like the Now time or whatever. If I haven't explicitly clicked on the timeline to say where I want something to go after the cut or copy operation, it should appear at the same time it was cut from when it is pasted.
2016/02/04 11:15:52
Beepster
Kylotan
Of course, as I've said in the past, Sonar shouldn't be second-guessing users and placing things at a different location like the Now time or whatever. If I haven't explicitly clicked on the timeline to say where I want something to go after the cut or copy operation, it should appear at the same time it was cut from when it is pasted.




I must admit I as well find a lot of these seemingly simple and rudimentary tasks to be overly awkward and complex in Sonar. I should not have to reference the manual for basics functions like copy/pasting (and that's just one example... I will avoid whining about automation yet again... lol).
 
I do understand why in this particular case (being handling of MIDI instructions) have so many layers of complexity. Without them a lot of power would be lost in how the data can be manipulated and managed but definitely, as you implied, perhaps there could be a system whereby a simple and logical default action/methodology is established for things like the topic of this thread. That being a simple Select, Copy/Cut and Paste move works how most would intend it to (all position/timing properties are retained and a duplicate of what has been selected just goes where it should based on the original data without any extra futzing).
 
If the user needs more advanced copy/pasta functions or wishes to insert to the Now Time or any of the bazillion other fancy things we may need they can start using modifiers or the "Special" dialogs (which could maybe use some updating if this is to work).
 
I get it though. It's hard enough to create a program that can perform all these tasks but it's WAY harder to design things to be user friendly enough to anticipate what MOST people would be attempting to do with such maneuvers.
 
Then there is the matter of changing things this late in the game which would inevitably disrupt many people's workflows. Still worth a shot... just as long as people are made aware of it and can customize the program to NOT have these user friendly simplifications overtake their workflows. But that again is another huge design/programming nightmare.
 
For Sonar though... if they want to have a broader appeal to the average musician and beat out the other guys this IMO is exactly the direction the team should be taking. Make it less awkward/cumbersome to perform general tasks in all commonly used areas without sacrificing complex functionality and I think people will be more likely to warm up to Sonar.
 
A perfect example, for me, of how the Cake team has really simplified an entire aspect of production is the "Inspector" and "Prochannel" concept. Just being able to mash "I" on my keyboard and having access to all sorts of crap I'd otherwise have to dig for and futz with is a huge bonus. I hardly ever have to use standalone plugs in the Bin/Rack and even then I'm actually preferring just using an FX Chain PC module instead so I can tweak things much more easily. I also think the new Comping stuff, although definitely a jewel in the rough, is another idea (once understood) that simplifies things (instead of constantly having crop, fade, mute/unmute crap one step at a time).
 
If they could get a bit more lucidity in some of the other areas (okay... gonna take a swipe at automation again... but seriously it needs work) and continue to refine the areas already noted I would be quite happy. I'm also not finding these "performance" improvements doing anything for me. Quite the opposite actually since X3 so maybe it's time to finish the surgery, stitch up the patient then focus on some workflow enhancements.
 
 
Of course Im just a rabid "fanbois" so what do I know. lol
 
Cheers.
2016/02/04 11:33:50
brundlefly
Kylotan
Sonar shouldn't be second-guessing users and placing things at a different location like the Now time or whatever.



The paste buffer (a.k.a. Clipboard) is a Windows object, and by definition contains no destination information. This allows you to freely paste from one part of an application to another or from one application to another or between applications and the operating system. The operating system's focus and cursor position define the destination.
 
The only way for SONAR too work around this Windows convention would be to automatically have track focus and Now time follow clip selection. But this would break all kinds of workflows that depend on keeping focus and selection independent. To get the behavior you want, you would need to request a 'Focus Follows Selection' editing mode, and it would need to be optional to avoid blowing up the established workflows of other users.
 
For now, if you want SONAR to paste at the same time as the start of the selection you can use the hotkey for Go to From (F7 in my case) to set the Now time before pasting.
 
As far as the task at hand goes, I most frequently use the method already suggested by 'dilletant': Click or sweep in the keyboard to select specific note number(s), and then Shift+drag the partial clip selection in the track view.
 
2016/02/04 12:09:37
Kylotan
brundlefly
Kylotan
Sonar shouldn't be second-guessing users and placing things at a different location like the Now time or whatever.



The paste buffer (a.k.a. Clipboard) is a Windows object, and by definition contains no destination information.

 
Sonar can embed whatever information it wants into the clipboard, while providing simplified data for other applications if it wants.
 
https://msdn.microsoft.co...9013%28v=vs.85%29.aspx
2016/02/04 12:12:19
Kylotan
Beepster
I get it though. It's hard enough to create a program that can perform all these tasks but it's WAY harder to design things to be user friendly enough to anticipate what MOST people would be attempting to do with such maneuvers.
 
Then there is the matter of changing things this late in the game which would inevitably disrupt many people's workflows.

 
The thing is... although I wouldn't bet $20 on it, I'm pretty sure that Sonar used to do the thing I expect, which is to preserve the time location when cutting/pasting. It's some point more recently - Platinum? The X series? - when it started dumping it at the Now time.
 
Same goes for other operations that used to operate on wherever I clicked, like Split Clip - I used to be able to click a clip in the middle, choose split, and it would split it there. Now, it splits at the Now time. Probably someone is assuming "Click to set now time" is always on, in which case you never notice the change in behaviour.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account