11-28-2024, 07:42 AM | #1 | |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
SlipView - Full item waveform preview in the timeline
Hey everyone,
happy to share my first Script/functionality with you! SlipView allows it to display the full waveform of one or multiple selected items when pressing a (bindable) key.This was meant with Slip Editing (using ALT to move the contents of an item without moving the item itself) in mind, but can of course also be used to simply show the full waveforms whenever desired. Key Features
Requires SWS, ReaPack, js_ReaScriptAPI extension Where to get If you want to support me, you can "purchase" it for whatever price you want via GumRoad: https://leonbeilmann.gumroad.com/l/SlipView Otherwise, here's the ReaPack URL https://raw.githubusercontent.com/LA...main/index.xml Huge kudos to my colleague Andrej Novosad who first came up with the idea of finding a way to show the full waveform! Hope you enjoy! Changelog Note: You'll have to stop the main script before updating, otherwise ReaPack won't be able to overwrite the file(s)! Quote:
Last edited by LeonBeilmann; Yesterday at 08:35 AM. |
|
11-28-2024, 08:30 AM | #2 |
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 4,056
|
VERY nice!
|
11-28-2024, 08:40 AM | #3 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
Interesring idea, and it seems well done !
What is the trick ? As far as I can see, it create a second item behind the first, so I guess itnalso turn off Display overlapping items and other things like auto -crossfade and ripple. Bravo for your first script, very original !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
11-28-2024, 08:42 AM | #4 |
Human being with feelings
Join Date: May 2019
Location: Berlin
Posts: 2,391
|
Wow, that looks amazing! What a nice idea and impressive execution!
__________________
Featured scripts: REAPER Update Utility Lil Chordbox Gridbox/Adaptive grid MX Tuner RS5K Link MIDI Editor Magic Donate💝: PayPal|ko-fi |
11-28-2024, 08:47 AM | #5 |
Human being with feelings
Join Date: Feb 2021
Location: Right here
Posts: 2,324
|
Congratulations, very nice
__________________
My Scripts |
11-28-2024, 08:51 AM | #6 |
Human being with feelings
Join Date: Dec 2012
Posts: 13,631
|
Nice idea and even better implementation!
|
11-28-2024, 09:19 AM | #7 | |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Thanks for the nice words, everyone!
Totally forgot to mention on here, shame on me, that the original idea came from a colleague of mine, Andrej Novosad. He transitioned from Ableton to Reaper and was the first to create a macro that creates a new track to display the full waveform. I then took it from there and things escalated, haha! Quote:
Thank youu! I adore your stuff, the chord- and gridbox are my go-tos! |
|
11-28-2024, 10:43 PM | #8 |
Human being with feelings
Join Date: Jun 2020
Posts: 723
|
So cool! thank you for this, honestly it should be native now that I see it nice one!
|
11-29-2024, 08:32 AM | #9 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
the script doesnt report its on/off state on toolbars,
here is how to do it https://github.com/ReaTeam/ReaScript...script.lua#L22
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
11-29-2024, 08:35 AM | #10 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 333
|
Holy Slipview, Batman!
This is seriously gonna change my life when it comes to laying in sound effects. Thank you!
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
11-29-2024, 10:08 AM | #11 |
Human being with feelings
Join Date: Oct 2013
Location: Brooklyn, NY
Posts: 285
|
Cool! Looking forward to trying it!
|
11-29-2024, 10:27 AM | #12 | |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Quote:
Ohh neat, thank youuuu! Edit: Wait, I just realized I'm doing this already. I think the toggle actions need to be executed once before it works - Could you please check it out and let me know if it still doesn't work for you?
__________________
SlipView - Full item waveform preview in the timeline! |
|
11-29-2024, 11:22 AM | #13 |
Human being with feelings
Join Date: Mar 2021
Posts: 92
|
Super idea!
|
11-29-2024, 01:49 PM | #14 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,177
|
Very useful. Would love to see that once at the prerelease thread as a native appearance/editing behaviour option.
|
11-29-2024, 03:21 PM | #15 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 333
|
Because the script isn't active when Reaper first opens, you have to toggle it on every time, correct? In my toolbar, I have an icon to do this, but the toolbar icon doesn't highlight when I click it and it probably should since something is now active. (I'm talking about action _RS1a405.) It would be nice to have that visual feedback.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
11-29-2024, 03:46 PM | #16 |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Hmm I'm honestly not sure - Will put it on my to-do, I've honestly not put much time into checking the functionality for this. As usual, it comes back to bite me haha Might take a bit because I'll be travelling for work next week.
__________________
SlipView - Full item waveform preview in the timeline! |
11-29-2024, 05:59 PM | #17 | |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
Quote:
Here is the fix for button state: https://gist.github.com/X-Raym/a79cc...102f4028571bd5 Diff check against your version: https://gist.github.com/X-Raym/a79cc...1bd5/revisions
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
|
11-30-2024, 04:26 AM | #18 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
When item is already full source, maybe it is not necessary to import the source item
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
11-30-2024, 05:19 AM | #19 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
It would nice also if the ghost item only appears if mouse is over arrange view area,
ALT key can be used in other context like track FX on TCP to remove them, and it is not needed to see the ghost item in this case It is just a simple check: Code:
window, segment, details = reaper.BR_GetMouseCursorContext() if window == "arrange" then -- DISPLAY THE GHOST ITEM end
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
11-30-2024, 12:10 PM | #20 | |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Quote:
Ohh I like the idea, will do!
__________________
SlipView - Full item waveform preview in the timeline! |
|
11-30-2024, 02:35 PM | #21 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
this is how i use it
so just a toolbar button display when it is on and when it is off, wich is expected for all background/defer/gui script.
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
11-30-2024, 02:58 PM | #22 |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Ohhhh I see now!
Up until now, I honestly didn't even think about adding a toggle state for the main function, even though it's super obvious and makes so much sense! I just updated the script, check the changelog in the first post. Also make sure to stop the script before updating via ReaPack, otherwise ReaPack won't be able to overwrite the file(s)!
__________________
SlipView - Full item waveform preview in the timeline! |
11-30-2024, 03:30 PM | #23 | |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
Quote:
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
|
11-30-2024, 07:26 PM | #24 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 333
|
Just updated to 1.12 and the main script toggle works great. Thanks.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
Yesterday, 05:00 AM | #25 |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Thanks for this rabbithole - V 1.13 now contains custom icons (and I don't contain enough of sleep )
Wishing y'all a great start into the week tomorrow.
__________________
SlipView - Full item waveform preview in the timeline! |
Yesterday, 05:42 AM | #26 |
Human being with feelings
Join Date: Jan 2011
Posts: 1,359
|
Nice idea!
Some feedback: There is an option "Trim content behind media items when editing". When enabled and user stretch item (alt drag item edge) it can be dangerous: So maybe temporary disabling this option in script is a good idea. Also showing full source while stretching not so useful by itself so would be great to have an option to show it not when alt+drag performed but only when slip editing performed. Otherwise it will show up when item stretched, envelope points deleted, moved (ctrl+alt = fine movement) and other situation when alt+drag used but full source preview is no useful and sometimes bad: Sure it can be solved by using additional mouse modifier but the problem is that most modifiers used by default. Add some additional that already in use and you can't find another good modifier (and memory to remember another one). Input it using VK codes also a bit hard. Another one is that it works well when "offset overlapping..." enabled, but when it's off sometimes the wrong part of item appears muted: And the last one: Undo/redo can show temporary item for too long. I know, it's all complicated. Sorry. Just my feedback |
Yesterday, 06:43 AM | #27 |
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Oh no worries, feedback like this is more than welcome - It's valid points that helps improve the script and shows me how much stuff in Reaper I don't know about despite using it for over 5 years now
- The trim thing was crucial, fixed it immediately, thanks! - I also lowered the "cleanup" time from 2 to 1, should remove items returning with undo etc. quicker - I wasn't even aware that you could stack the items vertically like that. As for the actual visual thing, I don't think this is really fixable and I consider it minor - The other TAB actions: I think a lot of people (including myself) will not only want to use it when slip editing, but also just to show the waveform in general. I don't want to adapt the script to be this specific, especially since the keybinds allow for some customization. Again, many thanks!
__________________
SlipView - Full item waveform preview in the timeline! |
Yesterday, 07:14 AM | #28 | |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 333
|
Quote:
In Linux, folders are case sensitive, so your new icons in "Toolbar_Icons" are in a different folder than the default "toolbar_icons" which makes them invisible to Reaper. I have manually moved them for now. Thanks for the icons too. Much nicer than the ones I hacked together.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
|
Yesterday, 07:45 AM | #29 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,350
|
Also unexpected behavior with MIDI items (extended too long)
and empty items (script crash because it miss a "if take" check) Code:
...aperScripts\Various\LAx_SlipView\LAx_SlipView - Main.lua:181: bad argument #1 to 'GetMediaItemTakeInfo_Value' (MediaItem_Take expected)
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
Yesterday, 08:16 AM | #30 | ||
Human being with feelings
Join Date: Apr 2022
Posts: 10
|
Quote:
Quote:
__________________
SlipView - Full item waveform preview in the timeline! |
||
Yesterday, 08:27 AM | #31 |
Human being with feelings
Join Date: Jan 2022
Location: Kalamazoo, MI
Posts: 333
|
Regarding toobar_icon folder...
Yes. This is fixed. Thanks.
__________________
Audio Post Engineer: JennAudio.com Adjunct Faculty: Columbia College Chicago - Retired! |
Thread Tools | |
Display Modes | |
|
|