|
|
|
04-08-2022, 04:53 PM
|
#1
|
Human being with feelings
Join Date: Mar 2019
Posts: 428
|
Track Tags
Track Tags
Track tags is a script that lets you tag tracks and quickly show/hide them.
Tracks can have multiple tags.
INSTALLATION- Install ReaPack
- Install ReaImGui through ReaPack.
- Add my repository to your ReaPack repositories.
Code:
https://raw.githubusercontent.com/Bird-Bird/ReaScript_Testing/main/index.xml
- Install Track Tags.
FEATURES
Tags
You can add tags to selected tracks through the input at the top of the GUI. These tags can then be clicked on to show/hide tracks.
Right clicking the tags will reveal a few options.
Rename: Renames a tag.
Clear: Deletes a tag from all tracks.
Merge: This option will let you merge tracks from one tag into another. - Shift clicking tags will select all tracks that have that tag.
- You can add or remove existing tags to selected tracks through the "Add" button.
- If you wish to clear all existing tags from the project you can do it by right clicking the "Tag" button.
Locking
You can lock the visibility of certain tracks through the L button on the user interface.
Locking track visibility makes it so the locked tracks won't get affected by the operations executed by track tags. You can use this to always keep certain tracks hidden/visible.
You can also unlock track visibility from the same menu.
Global Blacklist
The blacklist feature lets you exclude tracks with certain names from all track tags operations. You can access this menu by right clicking the close button.
You can remove track names added to the blacklist through their right click context menu.
Automatic Tagging
The automatic tagging feature makes it so tracks that are newly created or made visible automatically get assigned the active tag that you have selected. This feature can be enabled through user settings, however it is disabled by default.
Tracks with locked visibility or blacklisted tracks will be excluded from automatic tagging.
User Settings
User settings and docking can be accesed by right clicking the close button. The blacklist can also be accessed through this menu.
Extra Notes
* Some scripts use hidden tracks to store information, if you let me know about what track names they use I can include the names by default in the blacklist.
* There are a few parts in the script that can be optimized to work quite faster. (at the cost of code complexity) If you try using the script in projects with lots of tracks let me know how it goes.
* I am aware that there is also an existing track tags script by spk77. However I don't have much experience with it.
* As always, big thanks to cfillion for ReaImGui
_
Last edited by BirdBird; 04-08-2022 at 05:06 PM.
|
|
|
04-08-2022, 11:29 PM
|
#2
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
Birdy you are on fire recently! One hit after another cant wait to use it in my projects !!! I use spk77 but have some nitpicks with it, glad you made your version!
Already added to my main toolbar
|
|
|
04-09-2022, 01:07 AM
|
#3
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,900
|
Quote:
* I am aware that there is also an existing track tags script by spk77. However I don't have much experience with it.
|
Seems close to what spk77 offers from what I can see,
it could maybe nice to have a toggle 'rule' setting for when two o more tags are selected, for either AND or OR segment. I guess more complex system with OR and AND possibility for each tags indepenently could be considered but surely completely overkill and ahead of user needs so a global button might just work enough for 99 % of he case.
Maybe try the spk77 script to see what it has more (or less). good thing is reaimgui for fast dev and nice look 👌
Side note : why Courrier type font for button ? can we have something cleaner ? 😋
|
|
|
07-02-2022, 03:07 AM
|
#4
|
Human being with feelings
Join Date: May 2022
Location: Spain
Posts: 11
|
colors
any way to tint the names like the color tracks?
really good work
|
|
|
07-02-2022, 07:34 AM
|
#5
|
Human being with feelings
Join Date: May 2019
Posts: 379
|
Really nice, thank you!
|
|
|
08-19-2022, 02:30 PM
|
#6
|
Human being with feelings
Join Date: Sep 2009
Location: Northern Lights
Posts: 749
|
Would it be easy to be able to reorder the tags by "grab" one and drag it up or down the tag list?
Fantastic script, love it, thanks
__________________
OS: Manjaro KDE Plasma, Reaper For Linux (64Bit) native linux-vst plugins, LSP-Plugins, TpL-Plugins, Harrison's AVA & VST Plugins. Behringer U-PHORIA UMC22.
|
|
|
08-19-2022, 06:32 PM
|
#7
|
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 365
|
Very Nice!
Thanks
Sorry is there a way to Dock this?
W
|
|
|
08-20-2022, 02:23 AM
|
#8
|
Human being with feelings
Join Date: Sep 2009
Location: Northern Lights
Posts: 749
|
Quote:
Originally Posted by WarrenG
Very Nice!
Thanks
Sorry is there a way to Dock this?
W
|
Upper right corner (x) button, right click, and here you have some options, like "Dock"
__________________
OS: Manjaro KDE Plasma, Reaper For Linux (64Bit) native linux-vst plugins, LSP-Plugins, TpL-Plugins, Harrison's AVA & VST Plugins. Behringer U-PHORIA UMC22.
|
|
|
08-20-2022, 01:40 PM
|
#9
|
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 365
|
Quote:
Originally Posted by Tobbe
Upper right corner (x) button, right click, and here you have some options, like "Dock"
|
Thanks
Should have spent more time fiddling with before freaking out.
I much appreciate it.
W
|
|
|
09-02-2022, 03:30 PM
|
#10
|
Human being with feelings
Join Date: Mar 2022
Posts: 59
|
Weird behaviour in Track Tags
Hi BirdBird,
first of all - you have made some seriously wild scripts! Just discovered your work some weeks ago, and I'm still amazed. Really interesting and useful stuff!
But I'm having trouble with Track Tags right now. I have installed all dependencies and I can open the script as expected. But now the GUI is not responding at all. The thing is, it worked fine right after first installation! It stopped after I was fiddling with some other script (Track Tags from spk77).
Tried uninstalling, re-installing, but no success.
Do you have any idea in which direction I could investigate further to understand and/or solve the problem?
I'm on Windows 10, Reaper version 6.66, ReaPack 1.2.4.1
|
|
|
09-05-2022, 01:45 PM
|
#11
|
Human being with feelings
Join Date: Dec 2019
Posts: 193
|
Really cool stuff!
Would be cool to be able to shift+click a tag and have those tracks visible on top of whatever's already visible. So:
1. click A to show only A
2. shift click B to show A+B
Some more logic is needed though, so if no tag is shown and I shift+click A, only A will be shown (so it will act like a regular click when there's no tag selected).
It would also be very cool to be able to have the script create custom actions to show tag X or show tag Y.
So that if I have a tag for "guitar" I could create an action to show tracks with the "guitar" tag without opening the script and clicking the tag.
That way I can assign those to a controller or to keyboard shortcuts.
|
|
|
11-27-2022, 06:53 PM
|
#12
|
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 365
|
I think an ReaImGui update may have caused the following error not sure though.
BirdBird_Track Tags.lua:32: attempt to call a nil value (field 'ImGui_AttachFont')
Can anyone else confirm?
Thanks
Warren
|
|
|
11-27-2022, 08:12 PM
|
#13
|
Human being with feelings
Join Date: Dec 2017
Location: Brazil
Posts: 2,011
|
Quote:
Originally Posted by WarrenG
I think an ReaImGui update may have caused the following error not sure though.
BirdBird_Track Tags.lua:32: attempt to call a nil value (field 'ImGui_AttachFont')
Can anyone else confirm?
Thanks
Warren
|
This will probably be fixed soon, the bug is caused by incapability with new imgui version released today. It is a small fix that bird should manage soon, although he is kinda busy...
Your options are
1) wait some days/hours until it got fixed (it shouldn't take long)
2) roll imgui back to 0.7.2, give some days and be sure to go back to 0.8 after
3) put this line of code in the start of each script with this error message :
Code:
dofile(reaper.GetResourcePath() .. '/Scripts/ReaTeam Extensions/API/imgui.lua')('0.7')
Last edited by daniellumertz; 11-27-2022 at 08:23 PM.
|
|
|
11-27-2022, 08:39 PM
|
#14
|
Human being with feelings
Join Date: Jan 2020
Location: In the studio at my desk
Posts: 365
|
Thank you.
I certainly can wait, was more concerned I jacked up my config.
I prefer to let those in the know adjust the scripts.
Thanks again.
W
|
|
|
11-28-2022, 02:22 PM
|
#15
|
Human being with feelings
Join Date: Sep 2018
Posts: 73
|
Wow awesome script! And love the gui also. I've got some ideas for future updates that would make it even more amazing at least to me:
- The right tags are lit up corresponding to the tag an active track is associated with. Right now its a bit hard to see what tags a track has.
- CMD click on the tag to assign a new track to an existing tag. I'd easily have a few common tags created in my default template so I can quickly start assigning new tracks.
- When a tag is active hiding other tracks, any newly created tracks gets assigned to the tag also.
- (advanced) Have all tracks in a tag send to a specified bus. I don't usually like using folders since I find it messy, this would be an amazing bus-routing tool.
Anyway thanks for a great script!
|
|
|
11-28-2022, 03:34 PM
|
#16
|
Human being with feelings
Join Date: Mar 2019
Posts: 428
|
Quote:
Originally Posted by WarrenG
I think an ReaImGui update may have caused the following error not sure though.
BirdBird_Track Tags.lua:32: attempt to call a nil value (field 'ImGui_AttachFont')
Can anyone else confirm?
Thanks
Warren
|
Thanks! Should be fixed now.
Quote:
Originally Posted by odedd
Really cool stuff!
Would be cool to be able to shift+click a tag and have those tracks visible on top of whatever's already visible. So:
1. click A to show only A
2. shift click B to show A+B
Some more logic is needed though, so if no tag is shown and I shift+click A, only A will be shown (so it will act like a regular click when there's no tag selected).
|
@daniellumertz have added some features to do this, but I haven't had the time to test it and merge it yet, will do soon.
Quote:
Originally Posted by bamsehopp
Wow awesome script! And love the gui also. I've got some ideas for future updates that would make it even more amazing at least to me:
- CMD click on the tag to assign a new track to an existing tag. I'd easily have a few common tags created in my default template so I can quickly start assigning new tracks.
Anyway thanks for a great script!
|
You can use the Add button to add tracks to existing tags. (I would have put it in a more obvious place if I was writing this now. )
For automatically tagging new tracks, right click the close button (X), go into the settings and check "Automatically tag tracks that are newly created or made visible when there is an active tag."
_
|
|
|
11-29-2022, 06:06 AM
|
#17
|
Human being with feelings
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,754
|
Thank you!
Very nice extension!
|
|
|
12-18-2022, 09:40 AM
|
#18
|
Human being with feelings
Join Date: May 2020
Posts: 11
|
This is great! Thanks BirdBird. Lately I've been working on 200+ track projects and I can see this being super valuable.
Looking forward to being able to select multiple tags at once.
I have a couple ideas to share, if you find them interesting:
1. alt+click to hide the tracks from a specific tag. With this, you could:
- set up an "archive" tag for hiding old tracks without having to commit to deleting them.
- render a large buss (ie, VOX) onto a single stereo track, and then mute the folder and hide it with a tag. Now you don't have to think about VOX while you work on production, and neither does your CPU - but it's all a few clicks away when you need it.
2. When shift+clicking to only select tracks, it would be nice if it also scrolled the arrange view so the top selected track is at the top. Then you could use track tags as a way to quickly navigate a large project.
3. It would be cool to have an option in settings to "Include all child tracks", so if you tag a parent track, it'll show all the child tracks even if they aren't tagged.
|
|
|
01-12-2023, 07:47 PM
|
#19
|
Human being with feelings
Join Date: Aug 2019
Location: Yekaterinburg, Russia
Posts: 16
|
Great script, Birdy! My everyday tool for sure. Hope more advanced filtering (as selecting several tags) is coming some day
|
|
|
03-21-2023, 12:16 PM
|
#20
|
Human being with feelings
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 813
|
Very nice script!
BUT - I cant get it to remember docked position.
I have saved a project as startup template but
the position for script is not remembered.
Bug? User error?
|
|
|
03-22-2023, 04:35 PM
|
#21
|
Human being with feelings
Join Date: Mar 2019
Posts: 428
|
Quote:
Originally Posted by tompad
Very nice script!
BUT - I cant get it to remember docked position.
I have saved a project as startup template but
the position for script is not remembered.
Bug? User error?
|
Thanks, I have managed to recreate the issue (bug), will look into it soon.
|
|
|
03-23-2023, 11:16 AM
|
#22
|
Human being with feelings
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 813
|
Quote:
Originally Posted by BirdBird
Thanks, I have managed to recreate the issue (bug), will look into it soon.
|
Thanks BirdBird!
|
|
|
04-05-2023, 01:43 AM
|
#23
|
Human being with feelings
Join Date: Jun 2020
Posts: 666
|
A way to reorder tags would be nice
|
|
|
04-07-2023, 01:37 PM
|
#24
|
Human being with feelings
Join Date: Jan 2014
Posts: 5,220
|
For both Track Tags and Parameter History, you can't get rid of the extra black space when stacked in a docker:
|
|
|
04-27-2023, 12:47 PM
|
#25
|
Human being with feelings
Join Date: Mar 2022
Posts: 62
|
Alt+click on a tag should delete it
If you want this behavior add the following to the library/functions.lua file
Code:
function get_alt()
local key_mods = reaper.ImGui_GetKeyMods(ctx)
local mod = reaper.ImGui_KeyModFlags_Alt and reaper.ImGui_KeyModFlags_Alt() or reaper.ImGui_ModFlags_Alt()
return (key_mods & mod) ~= 0
end
And then change the main script file to this
Code:
local shift = get_shift()
if shift then
reaper.Undo_BeginBlock()
select_tag_only(tag)
reaper.Undo_EndBlock('Select tracks containing tag', -1)
elseif get_alt() then
reaper.Undo_BeginBlock()
clear_tag(tag)
reaper.Undo_EndBlock('Clear tag', -1)
if selected_tag and selected_tag.name == tag.name then selected_tag = nil end
else
Last edited by captaincurrie; 04-27-2023 at 01:00 PM.
|
|
|
05-03-2023, 06:05 PM
|
#26
|
Human being with feelings
Join Date: Nov 2017
Location: Uruguay
Posts: 10
|
Hi BirdBird, and many thanks for this wonderful script.
Maybe you know, why could it be that the settings windows, when right clicking on "X", opens, and then closes by itself so fast that I can only barely see it for 1/10 of a second.
Thanks a lot in advance for any clue... I'd love to be able to use your script.
Reaper v6.79
Win 10
Several other scripts working without issue
|
|
|
05-03-2023, 11:03 PM
|
#27
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,967
|
Quote:
Originally Posted by Chipicui
why could it be that the settings windows, when right clicking on "X", opens, and then closes by itself so fast that I can only barely see it for 1/10 of a second.
|
Confirmed, this appears to be a regression in Dear ImGui v1.89.5. Will investigate and fix.
As a workaround until fixed you can downgrade to ReaImGui v0.8.5 using ReaPack.
EDIT: The bug is already solved upstream. Next version will likely be released in a month or so.
Last edited by cfillion; 05-04-2023 at 03:09 AM.
|
|
|
05-05-2023, 01:32 PM
|
#28
|
Human being with feelings
Join Date: Nov 2017
Location: Uruguay
Posts: 10
|
@cfillion
Thanks a lot for your fast answer and solution !
Looking forward to the new version.
|
|
|
10-04-2023, 10:35 AM
|
#29
|
Human being with feelings
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 813
|
Hi!
This script is awesome!
I have a FR - is it possible to make clicking tags solo the tracks that
is showed and mute all others? Or maybe make it selectable by a little
S in every tag.
Or is there another script that make me hear only the visible tracks,
I have searched but found none. Yes I can click on S on every visibly
track but it would be nice to have the script doing it :-)
Regards
Thomas
|
|
|
12-21-2023, 11:25 AM
|
#30
|
Human being with feelings
Join Date: Sep 2019
Posts: 24
|
Is there any way to have this Tag script effect only the track control panel and not effect the mixer control panel? When using Kontakt I would like the audio outs remain in the mixer control panel and just work with the tags I create in the track control panel.
Currently the tag selection updates both and seems to be lynched together.Any way to sever that link in the script?
|
|
|
12-21-2023, 10:26 PM
|
#31
|
Human being with feelings
Join Date: Aug 2019
Location: beijing
Posts: 612
|
how do I select multiple tags ? like just to show drum and bass etc.. ?
|
|
|
12-22-2023, 04:19 AM
|
#32
|
Human being with feelings
Join Date: Sep 2019
Posts: 24
|
Quote:
Originally Posted by todoublez
how do I select multiple tags ? like just to show drum and bass etc.. ?
|
I do not think you can select multiple tags. You either have to merge the drum and Bass tags into one or create a new tag for just the drums and Bass.
|
|
|
01-04-2024, 08:02 AM
|
#33
|
Human being with feelings
Join Date: Mar 2022
Posts: 62
|
Linux: Track Tags bugs out when ui_scale != 1
I love this script. I run linux and just switched to a highdpi screen so i have
to scale the ui. I do this in my reaper.ini file. Anyways when i set
ui_scale to something other than 1, track tags bugs out.
Last edited by captaincurrie; 01-04-2024 at 01:04 PM.
|
|
|
01-07-2024, 08:30 AM
|
#34
|
Human being with feelings
Join Date: Mar 2019
Posts: 428
|
Quote:
Originally Posted by captaincurrie
I love this script. I run linux and just switched to a highdpi screen so i have
to scale the ui. I do this in my reaper.ini file. Anyways when i set
ui_scale to something other than 1, track tags bugs out.
|
Could you send a screenshot of what you see?
|
|
|
01-10-2024, 09:16 AM
|
#35
|
Human being with feelings
Join Date: Mar 2022
Posts: 62
|
Quote:
Originally Posted by BirdBird
Could you send a screenshot of what you see?
|
I'm sorry for not doing so at first (tried to make a gif and failed then lost interest).
First in docked mode
As you can see on the right, Track Tags is displaying a massive gray area.
Same thing happens in floating mode
There was a time when track tags would literally move along my screen in floating mode but i cannot
replicate that.
This issue disappears when `ui.scale=1`. I have not seen any other behavior like this in any of my other addons.
Thank you
EDIT:
I just found out that souk21's script 'Key Sequencer' has this issue as well. That script also uses RealmGui.
I thought then that the problem was with Realmgui, but then i tried another script that uses RealmGui and it had no problem.
Last edited by captaincurrie; 01-27-2024 at 02:25 PM.
|
|
|
02-10-2024, 06:05 AM
|
#36
|
Human being with feelings
Join Date: Mar 2022
Posts: 48
|
Quote:
Originally Posted by BirdBird
Track Tags
Track tags is a script that lets you tag tracks and quickly show/hide them.
Tracks can have multiple tags.
INSTALLATION- Install ReaPack
- Install ReaImGui through ReaPack.
- Add my repository to your ReaPack repositories.
Code:
https://raw.githubusercontent.com/Bird-Bird/ReaScript_Testing/main/index.xml
- Install Track Tags.
FEATURES
Tags
You can add tags to selected tracks through the input at the top of the GUI. These tags can then be clicked on to show/hide tracks.
Right clicking the tags will reveal a few options.
Rename: Renames a tag.
Clear: Deletes a tag from all tracks.
Merge: This option will let you merge tracks from one tag into another. - Shift clicking tags will select all tracks that have that tag.
- You can add or remove existing tags to selected tracks through the "Add" button.
- If you wish to clear all existing tags from the project you can do it by right clicking the "Tag" button.
Locking
You can lock the visibility of certain tracks through the L button on the user interface.
Locking track visibility makes it so the locked tracks won't get affected by the operations executed by track tags. You can use this to always keep certain tracks hidden/visible.
You can also unlock track visibility from the same menu.
Global Blacklist
The blacklist feature lets you exclude tracks with certain names from all track tags operations. You can access this menu by right clicking the close button.
You can remove track names added to the blacklist through their right click context menu.
Automatic Tagging
The automatic tagging feature makes it so tracks that are newly created or made visible automatically get assigned the active tag that you have selected. This feature can be enabled through user settings, however it is disabled by default.
Tracks with locked visibility or blacklisted tracks will be excluded from automatic tagging.
User Settings
User settings and docking can be accesed by right clicking the close button. The blacklist can also be accessed through this menu.
Extra Notes
* Some scripts use hidden tracks to store information, if you let me know about what track names they use I can include the names by default in the blacklist.
* There are a few parts in the script that can be optimized to work quite faster. (at the cost of code complexity) If you try using the script in projects with lots of tracks let me know how it goes.
* I am aware that there is also an existing track tags script by spk77. However I don't have much experience with it.
* As always, big thanks to cfillion for ReaImGui
_
|
is it possible to move the created tags, I don't understand if there is such functionality?
|
|
|
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 11:24 AM.
|