|
|
|
03-24-2021, 01:39 AM
|
#521
|
Human being with feelings
Join Date: Mar 2021
Posts: 482
|
Hi! Thanks for the awesome tools! Very impressive!
I have two questions about "js_Mouse Editing - Slice Notes"
Is there a way to turn off snapping for that tool ?
Is there a way to trim the starts of notes instead of ends? Would be super useful.
For now slicing the notes and deleting the left slice works, but is a bit tedious.
Anyway your scripts are so well commented that I think I could edit it myself, I was just wondering if it is already included and I am missing it.
Thanks again
|
|
|
03-25-2021, 04:29 AM
|
#522
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Is there a way to turn off snapping for that tool ?
|
The script follows the MIDI editor's snap setting.
Quote:
Is there a way to trim the starts of notes instead of ends? Would be super useful.
|
I have uploaded version 4.21 with new options to trim note starts. Please let me know if it works OK.
(I'm glad to see that some people are using this script. It hasn't been updated for more than two years, so it's in need of some work to make it faster and sleeker.)
|
|
|
03-25-2021, 07:42 AM
|
#523
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Quote:
Originally Posted by _Stevie_
@Julian, you have this fantastic feature implemented in the multi tool: when pressing shift, snap is turned off temporarily. If it isn't too much of work, could we also have this feature in "swipe select", as well?
|
Just quoting this again, in case this was overlooked
|
|
|
03-25-2021, 08:51 AM
|
#524
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Originally Posted by _Stevie_
Just quoting this again, in case this was overlooked
|
Coming soon!
I plan on catching up with some long-overdue scripting this weekend.
Last edited by juliansader; 03-25-2021 at 09:04 AM.
|
|
|
03-25-2021, 11:21 AM
|
#525
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
YEAH!!!! Can't wait
|
|
|
03-26-2021, 03:29 AM
|
#526
|
Human being with feelings
Join Date: Mar 2021
Posts: 482
|
Quote:
Originally Posted by juliansader
The script follows the MIDI editor's snap setting.
|
Yeah, I don't know why I didn't try before, but I just created a custom action with
-Toggle snapping
-JS_Slice
-Toggle snapping
And it works like a charm! Just need to transform it into a cycle action as there's no "enable" and "disable" snap actions for MIDI Editor and it won't work if snapping is disabled when starting the script.
Thanks!
Quote:
Originally Posted by juliansader
T
I have uploaded version 4.21 with new options to trim note starts. Please let me know if it works OK.
|
I just updated (ReaPack is soo cool!!) and it works perfectly, thanks a lot for the really quick response and update
Also, I noticed what seems to be a bug with the multi tool. If I mousewheel over the center square it sometimes crashes with:
Quote:
The script encountered an error:
continueStep: ...am Scripts/MIDI Editor/js_Mouse editing - Multi tool.lua:1936: attempt to perform arithmetic on a nil value (field 'globalLeftmostValue')
continue: nil
pcallRetval: nil
* The original, unaltered MIDI has been restored to the take.
|
Thanks again for all your work !
|
|
|
03-26-2021, 08:43 PM
|
#527
|
Human being with feelings
Join Date: Sep 2018
Location: lugansk
Posts: 153
|
Quote:
Originally Posted by juliansader
I have uploaded version 4.21 with new options to trim note starts. Please let me know if it works OK.
|
Thanks! I always waited for this function)
Works good!
|
|
|
05-07-2021, 09:14 AM
|
#528
|
Human being with feelings
Join Date: Jul 2007
Location: New Joisey
Posts: 6,027
|
Julian, what do you think of renaming this thread (as well as post #1 and updating your sig) to be more relevant to the current state? This is much more than just a set of MIDI Editor tools.
I went looking for a Multitool thread and couldn't find one. Saw the thread title and post #1 and didn't think this thread was it. Maybe something like, "Multitool: warp, stretch, manipulate envelopes and MIDI data"? Just a suggestion. Not trying to make work for you but it would make the current-state tool easier to find by updating the thread title, first post, sig.
Next step for me: figure out what I'm doing wrong in setting this script up. Read the Readme in the script itself last night, but it was late and I could not get it going.
|
|
|
05-07-2021, 10:14 AM
|
#529
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
I think the forum limit changing titles :/ Maybe moderators can edit (?)
|
|
|
05-07-2021, 04:13 PM
|
#530
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Originally Posted by Funkybot
Julian, what do you think of renaming this thread (as well as post #1 and updating your sig) to be more relevant to the current state? This is much more than just a set of MIDI Editor tools.
|
This thread contains many other MIDI scripts that are essential for (my own) workflow -- from the MIDI Inspector to channel stuff to the humble Deselect script -- so I think it would be confusing to change the title of this thread. However, it might be a good idea to spin the Multi Tool out into its own thread, similar to the (once mighty, now largely forgotten) LFO Tool.
(The first page is seriously outdated. I will update it soon.)
Last edited by juliansader; 05-07-2021 at 04:29 PM.
|
|
|
05-07-2021, 05:01 PM
|
#531
|
Human being with feelings
Join Date: Jul 2007
Location: New Joisey
Posts: 6,027
|
Quote:
Originally Posted by juliansader
This thread contains many other MIDI scripts that are essential for (my own) workflow -- from the MIDI Inspector to channel stuff to the humble Deselect script -- so I think it would be confusing to change the title of this thread. However, it might be a good idea to spin the Multi Tool out into its own thread, similar to the (once mighty, now largely forgotten) LFO Tool.
(The first page is seriously outdated. I will update it soon.)
|
Agree that a Multi-Tool specific thread would be welcome. Thanks!
Got up and running with Multi-Tool today. Very cool stuff. Big thanks!
|
|
|
08-22-2021, 02:29 PM
|
#533
|
Human being with feelings
Join Date: Sep 2020
Posts: 149
|
Is it possible to write a script that edits velocity values by "drawing" only?
The user would have to hold a key while editing.
When key is released the script ends.
The script would be similar to "insert CC at mouse cursor".
Reapers own "Draw" feature is bundled up with "Edit", which means the 2 contexts are mixed up and always fighting each other.
I find the "edit" context to be in the way constantly.
Draw and Edit dont clash just as hard in the cc lanes, as they do in the velocity lane.
Last edited by Malfunction; 08-22-2021 at 02:55 PM.
|
|
|
08-23-2021, 03:45 PM
|
#534
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Could you explain a bit more what you mean by "drawing velocities"? Drawing usually involves inserting new events, and new velocities would mean new notes.
|
|
|
08-24-2021, 03:13 AM
|
#535
|
Human being with feelings
Join Date: Sep 2020
Posts: 149
|
This is drawing velocity
Draw and Edit is mixed up , thus fighting each other
|
|
|
08-24-2021, 06:59 AM
|
#536
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Which mouse modifier are you using?
Are you perhaps referring to this bug report?
|
|
|
08-25-2021, 03:21 AM
|
#537
|
Human being with feelings
Join Date: Sep 2020
Posts: 149
|
wow, i didnt know that was a bug.
I wasnt really refering to that.
Im using leftclick/drag to "Draw/Edit CC events ignoring snap and selection" on "MIDI CC lane", "MIDI CC event", "MIDI CC segment".
Notice that there is no "Draw CC events ..." option.
I just dont like the fact that two different actions (draw and edit) are bundled into one mouse modifier.
When you draw velocity ,you should draw regardless of the initial starting position.
But if the mouse cursor suddenly has switched into a double edged arrow ,you cant draw. Cos now you are all of a sudden "editing" velocity.
This is an apparent conflict.
|
|
|
08-27-2021, 05:04 AM
|
#538
|
Human being with feelings
Join Date: Sep 2020
Posts: 149
|
Im shit at explaining things.
|
|
|
08-27-2021, 09:59 PM
|
#539
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Originally Posted by Malfunction
Im using leftclick/drag to "Draw/Edit CC events ignoring snap and selection" on "MIDI CC lane", "MIDI CC event", "MIDI CC segment".
Notice that there is no "Draw CC events ..." option.
|
I think this might be a bug. In the "MIDI CC event" context of the Velocity lane -- but not of other CC lanes -- "Draw/Edit CC events" and "Edit selected events if any" automatically selects the event under the mouse, and then limits the draw/edit to only that event.
I have reported it here.
|
|
|
10-11-2021, 07:23 AM
|
#540
|
Human being with feelings
Join Date: Sep 2020
Posts: 149
|
Quote:
Originally Posted by juliansader
I think this might be a bug. In the "MIDI CC event" context of the Velocity lane -- but not of other CC lanes -- "Draw/Edit CC events" and "Edit selected events if any" automatically selects the event under the mouse, and then limits the draw/edit to only that event.
I have reported it here.
|
Is there a way to block/intercept/annihilate that antihelpful double arrowed terribleness?
|
|
|
10-15-2021, 04:06 PM
|
#541
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Originally Posted by Malfunction
Is there a way to block/intercept/annihilate that antihelpful double arrowed terribleness?
|
Unfortunately not that I can quickly think of.
|
|
|
10-21-2021, 01:29 PM
|
#542
|
Human being with feelings
Join Date: Sep 2020
Posts: 149
|
Quote:
Originally Posted by juliansader
Unfortunately not that I can quickly think of.
|
This seems to fix it.
Context : "CC Event "
Action : "Edit CC event ignoring selection"
left/click drag.
Im embarrased , cos ive been raising hell about this.
|
|
|
12-16-2021, 06:15 AM
|
#543
|
Human being with feelings
Join Date: Dec 2020
Posts: 227
|
Hi Julian,
Do you think the note selector could be made to select from more than one midi item, if the items are made to be editable?
Been using FeedTheCat's MidiEditorMagic with multiple midi items in the Midi Editor, and the ability to select across these parts in one go would be really helpful.
|
|
|
12-16-2021, 05:01 PM
|
#544
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
REAPER recently added new API functions that (finally!) allow scripts to quickly and easily detect which takes are editable in the MIDI editor. I have already updated several of my scripts to work with all editable takes, but it takes quite a lot of time to do all the updates, so I can unfortunately not promise when I will get to the Note Selector. It will happen eventually!
|
|
|
12-22-2021, 04:44 AM
|
#545
|
Human being with feelings
Join Date: Nov 2010
Posts: 1,747
|
I regularly use "Draw ramp" in the midi editor. I have it on a shortcut key on my x keys. It's brilliant!
I noticed in the script it says that it's deprecated due to native CC envelopes being introduced.
So far I've not found a native way in the editor to draw ramps as easily.
I've found a way to ramp existing CC's but not to draw a ramp from from scratch so quickly.
So unless someone can point me to a way to do this as quick as "draw ramp", I humbly suggest that this script shouldn't be deprecated and is still very useful.
If it is still being developed, is there a way to make it draw just two points? One at the beginning and one at the end?
|
|
|
12-22-2021, 02:53 PM
|
#546
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
I also use this script daily for drawing ramps. I don't think there is a quicker (native) way to do it.
|
|
|
12-23-2021, 03:54 AM
|
#547
|
Human being with feelings
Join Date: Nov 2010
Posts: 1,747
|
Quote:
Originally Posted by _Stevie_
I also use this script daily for drawing ramps. I don't think there is a quicker (native) way to do it.
|
Oh excellent. Glad it's not just me :-)
|
|
|
01-25-2022, 04:13 AM
|
#548
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,827
|
Hi Julian, I found a bug with lfo tool and take pitch envelope. While it's working fine with rest take envelopes, with take pitch it doesn't use the whole pitch range.
|
|
|
01-28-2022, 04:04 AM
|
#549
|
Human being with feelings
Join Date: Jan 2017
Location: London
Posts: 328
|
Hi Julian,
I have been using your script Script: js_Razor edit - Enclose selected media items and automation items in minimal razor areas.lua as a workaround for Reaper's lack of Razor Edit areas following item grouping.
The script has been working very well and also provides a very intuitive way of editing automation based on media items.
However, with the recent 6.4.3 upgrade this script is no longer working. All previous versions of Reaper I still have in my downloads folder are working as expected (6.33 to 6.42),
With 6.43 the script still creates the Razor Edit area but no longer includes grouped items or visible automation lanes.
__________________
PC Ryzen 7950x|W11 Pro|Reaper (latest)
2x RME HDSPe MADI FX | SSL UF8|UF1|UC1
PC Ryzen 5950X|W11 Pro|AudioGridder Server
|
|
|
01-29-2022, 06:30 AM
|
#550
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Could you please upload a few screenshots to demonstrate the problem?
Re the grouped items: the script only encloses *selected* items, so perhaps the option "Selecting one item selects group" has been disabled?
Re visible automation lanes: the script only encloses AIs, not plain automation. However, if the option "Envelope points move with items" is enabled, REAPER will automatically expand any razor area from the item lane onto all visible automation lanes. Perhaps this option has been disabled?
|
|
|
01-29-2022, 10:09 AM
|
#551
|
Human being with feelings
Join Date: Jan 2017
Location: London
Posts: 328
|
Quote:
Originally Posted by juliansader
Could you please upload a few screenshots to demonstrate the problem?
Re the grouped items: the script only encloses *selected* items, so perhaps the option "Selecting one item selects group" has been disabled?
Re visible automation lanes: the script only encloses AIs, not plain automation. However, if the option "Envelope points move with items" is enabled, REAPER will automatically expand any razor area from the item lane onto all visible automation lanes. Perhaps this option has been disabled?
|
Thank you for your replay, Julian. Both options are enabled but I have found the cause of my issue: Reaper 6.43 introduced the option Razor edits affect all track envelopes which is disabled by default. When enabled the script behaves as expected.
Reaper 6.42 did not have this option:
__________________
PC Ryzen 7950x|W11 Pro|Reaper (latest)
2x RME HDSPe MADI FX | SSL UF8|UF1|UC1
PC Ryzen 5950X|W11 Pro|AudioGridder Server
|
|
|
02-05-2022, 12:29 PM
|
#552
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,295
|
Julian,
You Are So talented!
Thanks for all your great scripts
btw
maybe you can also create a mouse modifying tool to adjust the vol of selected items? (ramp tools, free draw etc..)
https://forum.cockos.com/showthread.php?t=262766
|
|
|
02-13-2022, 03:17 AM
|
#553
|
Human being with feelings
Join Date: Apr 2018
Posts: 516
|
Quote:
Originally Posted by mozart999uk
I regularly use "Draw ramp" in the midi editor. I have it on a shortcut key on my x keys. It's brilliant!
|
I came here just to say this! When I saw it was "deprecated" I became concerned.
I saw this from juliansader in this thread in 2016:
https://forums.cockos.com/showpost.p...31&postcount=9
Quote:
Draw ramp:
The following GIF is of an old, outdated version of the Draw ramp script:
|
So what replaces it? I use this script on a shortcut nearly every day since I found it.
I currently have that script backed up in four places just in case.
Last edited by Sid; 02-14-2022 at 01:17 AM.
|
|
|
02-14-2022, 12:52 AM
|
#554
|
Human being with feelings
Join Date: Nov 2010
Posts: 1,747
|
Julian, would you be able to comment on this? Would you be prepared to keep the draw ramp script in development?
|
|
|
02-22-2022, 04:47 PM
|
#555
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Sorry for not replying sooner!
I expected to deprecate the script when REAPER got CC envelopes, but because some users still use the script (somewhat to my surprise), it has not been been deprecated. I will remove that line from the Description (and when I have some time again, I will update the script to draw in all editable takes).
The note in the linked post merely means that the version of the script that is shown in the GIF is very outdated. For example, it doesn't even change the mouse cursor while drawing.
Quote:
Originally Posted by Sid
So what replaces it? I use this script on a shortcut nearly every day since I found it.
|
I'm not sure which version you're using, but nowadays the script is named "js_Mouse editing - Draw ramp.lua".
|
|
|
02-22-2022, 06:30 PM
|
#556
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Quote:
Originally Posted by Vagelis
Hi Julian, I found a bug with lfo tool and take pitch envelope. While it's working fine with rest take envelopes, with take pitch it doesn't use the whole pitch range.
|
I've uploaded v2.15 of the script, which should hopefully fix the bug.
|
|
|
02-23-2022, 01:14 AM
|
#557
|
Human being with feelings
Join Date: Nov 2010
Posts: 1,747
|
Quote:
Originally Posted by juliansader
Sorry for not replying sooner!
I expected to deprecate the script when REAPER got CC envelopes, but because some users still use the script (somewhat to my surprise), it has not been been deprecated. I will remove that line from the Description (and when I have some time again, I will update the script to draw in all editable takes).
The note in the linked post merely means that the version of the script that is shown in the GIF is very outdated. For example, it doesn't even change the mouse cursor while drawing.
|
Great news :-)
|
|
|
04-08-2022, 12:49 AM
|
#558
|
Human being with feelings
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 314
|
Strange bug with "js_Edit - Insert chased CCs at edit cursor in selected MIDI items" that should trigger with this session if you run it with the edit cursor somewhere over the MIDI item (not at the start). Everything just disappears.
|
|
|
04-08-2022, 11:44 AM
|
#559
|
Human being with feelings
Join Date: Jul 2009
Posts: 3,714
|
Thanks for the report! I found the cause of the problem, and it seems to be a REAPER bug. Your take somehow contains a ModWheel event *before* the start of the source (i.e. with a negative tick position), which is not valid, and REAPER's MIDI functions fail when they encounter such a MIDI event.
I will report the bug and try to figure out a workaround.
Do you perhaps have any idea how this could have happened?
In the meantime, if you wiggle the left edge of the item, the invalid MIDI should update to correct positions again.
|
|
|
04-08-2022, 10:20 PM
|
#560
|
Human being with feelings
Join Date: Aug 2011
Location: Los Angeles, CA
Posts: 314
|
Quote:
Originally Posted by juliansader
Thanks for the report! I found the cause of the problem, and it seems to be a REAPER bug. Your take somehow contains a ModWheel event *before* the start of the source (i.e. with a negative tick position), which is not valid, and REAPER's MIDI functions fail when they encounter such a MIDI event.
I will report the bug and try to figure out a workaround.
Do you perhaps have any idea how this could have happened?
In the meantime, if you wiggle the left edge of the item, the invalid MIDI should update to correct positions again.
|
Thanks for checking it out! I hadn't even realized that's a thing. Looks like MIDI_InsertCC and MIDI_SetCC do not check against negative values. So it's quite likely one of my own CC scripts has a bug that has caused that stray event. I should be able to find it quite easily the next time this happens now that I know where to look. Thanks again, and thanks for so many awesome MIDI scripts! The multi tool is simply incredible.
|
|
|
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 05:13 AM.
|