Is there a keyboard shortcut to delete ALL notes in the current block track?
-
- Posts: 34
- Joined: 06 Jan 2018 23:03
Is there a keyboard shortcut to delete ALL notes in the current block track?
Again, title says it all...
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
Left Alt + x deletes everything, notes/fx/etc., but there isn't a function to only delete the notes. You can add it like this though:
Code: Select all
ALT_L SHIFT_L X: ra.evalScheme "(begin (ra:undo-notes) (while (> (ra:get-num-notes) 0) (ra:delete-note 0)))"
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
Shorter version:
Code: Select all
ALT_L SHIFT_L X: ra.evalScheme "(begin (ra:undo-notes) (ra:delete-all-notes-in-track))"
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
It's a bit strange that the function ra:deleteNotesInTrack didn't make undo, so I've now fixed this in the program. So I would recommend this instead:
Until the next release, undo won't be created when pressing ALT_L SHIFT_L X though, so maybe you want to wait using this simple version until next release.
Code: Select all
ALT_L SHIFT_L X: ra.deleteNotesInTrack
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
Oh no! The deleteAllNotesInTrack function is unstable. Don't use it before next release.
Use the original one for now:
Use the original one for now:
Code: Select all
ALT_L SHIFT_L X: ra.evalScheme "(begin (ra:undo-notes) (while (> (ra:get-num-notes) 0) (ra:delete-note 0)))"
-
- Posts: 34
- Joined: 06 Jan 2018 23:03
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
Thanks for the thorough responses.
Still being a Radium "newbie", I didn't realize my question would have been interpreted as track notes (only) vs. notes/fx/etc not realizing that anything other than notes could be in a track
At the risk of sounding nitpicky, I would humbly suggest to add a way to delete all notes/fx/etc from a track (i.e. Editor Edit -> Track-> Clear) without touching the clipboard- as I understand it, your initial response was "Left Alt + x deletes everything", which is I understand to be 'Clipboard -> Track Cut'...
Still being a Radium "newbie", I didn't realize my question would have been interpreted as track notes (only) vs. notes/fx/etc not realizing that anything other than notes could be in a track
At the risk of sounding nitpicky, I would humbly suggest to add a way to delete all notes/fx/etc from a track (i.e. Editor Edit -> Track-> Clear) without touching the clipboard- as I understand it, your initial response was "Left Alt + x deletes everything", which is I understand to be 'Clipboard -> Track Cut'...
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
Ah, yeah, I wasn't sure what you really asked for, so I took your question literally.
There is a really quick keyboard shortcut for this already. Namely to delete and insert track in one operation:
Left Alt + R + I
('I' is the letter I, not the number 1)
You lose the instrument assignment for the track though.
There is a really quick keyboard shortcut for this already. Namely to delete and insert track in one operation:
Left Alt + R + I
('I' is the letter I, not the number 1)
You lose the instrument assignment for the track though.
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
I'm surprised it's important not to copy into clipboard though. Do you often keep a track in clipboard while doing other operations?
-
- Posts: 34
- Joined: 06 Jan 2018 23:03
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
Being a software developer myself, it's just a nitpick- the user may want to clear a track without expecting to overwrite whatever was previously on the clipboard (could have been text that was copied 10 min earlier)... The Alt+X solution you gave is not perfect but adequate.
Re: Is there a keyboard shortcut to delete ALL notes in the current block track?
I guess it could be confusing not finding that function, at least. I've added a ra.clearTrack function now, and bound it to Left Alt + Delete, plus added it to the main menus and the main editor popup menu.