Old 05-23-2019, 04:56 PM   #1681
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

I'm not in the studio for the next 2 days but I tried it on my laptop. This looks really really good!
Have to check more in-depth when I'm back home. Thank you HeDa!
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-24-2019, 08:07 AM   #1682
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

I don't know... I may revert it and think more about it... I lost the ability to isolate one tag only, meaning to show all tracks that has this tag, even if they have other tags. Maybe we en up having to make the defeat mode.. for example turning off some tags by ALT clicking.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-24-2019, 02:50 PM   #1683
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

I see, this is very tricky. Yeah okay, let's go for the defeat mode, then.
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-25-2019, 07:07 AM   #1684
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,443
Default track height?

HeDa... is there a tweak to tell TI the size for when the switch for enlarge track height is ON?

I stumbled into another thread where you showed up and pointed to it... the one where Cubic is asking about scripting track heights...
And that got me to look into the kawa script for AutoHighLite.... which turns out to be very kewl... so it got me wondering about TI's settings for this.
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-25-2019, 08:03 AM   #1685
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Yes right click the button to define the height
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-25-2019, 10:15 AM   #1686
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

HeDa: I was just thinking about something for the isolate tracks function.

Instead of making isolate tracks work with the defeat idea, how about this?

- isolate tracks would not introduce its own function but work like this: hide all tracks (TCP off) and then toggle (for example) Woodwinds

- the advantage would be, that you can toggle the other tags without the use of isolate tags, but instead you could use the toggle tags function

This would spare you to always find a solution for the isolate tracks function (maybe for future use cases).
Means, defeat only needs to be implemented with toggle tracks (since isolate is TCP off + toggle tags).

So let me try to explain this more precisely:

I want to isolate the Woodwinds, and then I want to show the Brass.

- TCP off -> Toggle Woodwinds ( = would be isolate woodwinds)
- now, simply toggle Brass can be used. No need for isolate Brass (the current solution)

Not sure if I'm missing something, but I though I would propose this.
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...

Last edited by _Stevie_; 05-25-2019 at 11:12 AM.
_Stevie_ is offline   Reply With Quote
Old 05-25-2019, 12:16 PM   #1687
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

You can SHIFT click to turn all tags off. Then right click one tag to show this tag.
The only advantage of isolation mode is that when finishing isolating, it returns to previous configuration. If it is all tags on, you can work without isolating by SHIFT clicking again and it turn on all tags.

all the problems come when a track has more than one tag... my brain is not good enough for all these logic issues

I'm working on some special tags... that are dynamically assigned automatically.. so you don't need to manually tag tracks with them. for example like (Empty) for tracks that have no items... (Folders) for folder tracks... etc. suggestions for more new special tags welcome. They are shown separated at the bottom of the "normal" tags list.
look:
__________________
HeDaScripts for REAPER

Last edited by heda; 05-25-2019 at 12:22 PM.
heda is offline   Reply With Quote
Old 05-25-2019, 12:29 PM   #1688
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Maybe with this you don't need isolating mode:
you could use the Presets to start isolating without VCA or Folders and then add more tags as needed. Here I stored one preset for English Horns(preset number 2) and another for "ALL on" (preset 1). But you could also SHIFT click any to turn all on.
see:
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-25-2019, 12:54 PM   #1689
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,443
Default

Quote:
Originally Posted by heda View Post
Yes right click the button to define the height
ah ha! GREAT! a very hidden setting... thanks

EDIT: Ok so another one... show env of selected tracks... is seeming a little odd to me
my env's are in lanes... and with it on I see them for selected track but when I turn it off
the previously selected track still shows the envelope lane
I was expecting to be able to show or not show

Next... when we have enlarge track set to big size like 400, and there are also env's in lanes, the lanes get big also
which is not great... I wish I could enlarge the track and keep the env lanes much smaller... is that possible, ...maybe with
a diff action or new lua that could become a button?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain

Last edited by hopi; 05-25-2019 at 01:23 PM.
hopi is online now   Reply With Quote
Old 05-25-2019, 03:52 PM   #1690
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Quote:
Originally Posted by heda View Post

all the problems come when a track has more than one tag... my brain is not good enough for all these logic issues
I hear ya, so is my brain, LOL! I think you already did an excellent job!

As for other automatically assigned tags: what about tracks that have VCA, Bus and FX in the name?
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-25-2019, 03:57 PM   #1691
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Quote:
Originally Posted by heda View Post
Maybe with this you don't need isolating mode:
you could use the Presets to start isolating without VCA or Folders and then add more tags as needed. Here I stored one preset for English Horns(preset number 2) and another for "ALL on" (preset 1). But you could also SHIFT click any to turn all on.
see:
I see, I will check that out. I just fear this would create A LOT of presets.
I could also create a custom action, I guess: TCP off and then toggle tag X.
Would that still leave the folders out, when having them hidden?
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-26-2019, 01:12 AM   #1692
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

BTW, could you add toggle states to the actions?
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-26-2019, 03:12 PM   #1693
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Quote:
Originally Posted by _Stevie_ View Post
BTW, could you add toggle states to the actions?
Why? I've also been asked about this by email. The problem is we have 5 states for each action. Another problem is current actions need Track inspector to be running. Maybe I should create a separated script for the tags part?
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-26-2019, 03:37 PM   #1694
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Hm, I see what you mean. Maybe it's not feasable then. But let me explain anyway, what I plan to do.

I'm using LBX Stripper and put buttons for the tag toggle in there.
Now, when hiding tags, it would be great if the buttons on Stripper would
act accordingly. That way, I could always see a visual representation of the
shown/hidden tags. Pretty much like the view in TI itself, but directly in front of me on my touch screen.

I guess, if you can do this, I would limit this to tag toggles for now.
(that's why I suggested some days ago, that we use TCP off + show toggle for isolate tag, but I see your point with undoing and going to the previous tag state.)

On the other hand... Couldn't you introduce some kind of "store current tag state" and "restore tag state" ?

This would enable us to do the following:

1. store current tags
2. isolate = tcp off + toggle show tag Flute
3. toggle show Oboe
4. do your stuff... (recording, editing, etc...)
5. restore tag state (restore the previous tag state before we used isolate).

This way, you could completely get rid of the initial isolate function and it would strip down the toggle states to 2 (hide, show).

But that's just an idea!
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-26-2019, 04:05 PM   #1695
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

In next update I'm doing a new instance that only shows the tags panel. Maybe you can float this in your touch screen.

Store/restore states... That is what presets are... there are 9 slots to store states and load states of all tags, but you don't need to use them all, you could define to show only 1 preset, or 100 presets...(that would be crazy) it is in settings.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-26-2019, 05:01 PM   #1696
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Ah, great concerning the presets, then it's already there.

The problem with a tag panel will be that it can't be incorporated into Stripper, but will always have to be floating on top of it.

Would toggle states be a lot of work or even break something?
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-27-2019, 05:04 AM   #1697
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

implementing some basic toggle state support. If toggling from TI, it doesn't update the toolbar yet, but then using the toolbar again it gets the state correctly.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-27-2019, 05:14 AM   #1698
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Amaaaaaazing!!!!! Thanks so much HeDa
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-27-2019, 06:37 AM   #1699
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

This took me a while this weekend but finally I think it is working. The defeat(force always-off) mode: indicated in red
I'll publish the update later after some cleanup. I need to eat something
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-27-2019, 06:58 AM   #1700
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Craaaaazy! :O You spent all weekend on this?
Yeah get some food man, well deserved!
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-27-2019, 10:08 AM   #1701
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,443
Default

the tips says Lmb go to first track with tag... but I don't see it actually do that except for the first named tag... is it me or a bug?

also how do I get the presets for tabs to work? How to define them and move between them?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain

Last edited by hopi; 05-27-2019 at 11:26 AM.
hopi is online now   Reply With Quote
Old 05-28-2019, 06:09 AM   #1702
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

yes I didn't eat since Friday.... eating.... waste of time
Sorry I didn't have time to finish the update yesterday...
But now it is ready

@hopi. It works here... selecting a tag selects the first track that has this tag and scrolls TCP into it. Right clicking the tag, selects all tracks with the tag.
I don't understand the second question. Moving presets?
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-28-2019, 06:24 AM   #1703
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Haha oh man

Checking, can't see the update, yet. Is it still being uploaded?
How many lines of code did you add???
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-28-2019, 06:37 AM   #1704
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default v1.4rc16 (2019-05-28)

now it is updated
so now there is the new state Always-Off.. by ALT clicking. It will be shown in red. This means tags with one single tag with this state will never be shown no matter what.

you need to recreate tag actions again for the new ones
please test and tell me how it goes.

the changelog for the new things:
* v1.4rc16 (2019-05-28)
+ Special tags: Tags menu to enable/disable. At the bottom of the tags list you will see a list of special automatic tags that you don't need to assign
+ Special tags: (Untagged) Tracks that still have no non special tags
+ Special tags: (Folders) Tracks that are folders
+ Special tags: (Empty) Tracks without any items
+ Special tags: (Frozen) Tracks that have been frozen at least once
+ Tags: Always off mode. ALT+click on TCP or MCP buttons
+ Create Tag actions, Added: Save presets actions
+ Create Tag actions, Added: Always-Off TCP
+ Create Tag actions, Added: Always-Off MCP
+ Action: new TI instance action that defaults to show only tags panel: HeDa_Track Inspector VIP_Tags.lua
+ Tags actions: support for simple action state toggle
# Tags: Restored isolate tag behavior and allow toggle ON other tags when in isolating mode. Allow toggle Always-off(ALT+click) a tag when isolating mode too
# fix: crash trying to create tags actions when a tag had invalid characters for filenames
# fix: issue with scroll mixer view when changing track selection
# tags: changed current track tags display with tag-colored rectangle
# some general bug fixes
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-28-2019, 07:21 AM   #1705
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,443
Default

Quote:
Originally Posted by heda View Post
I don't understand the second question. Moving presets?
Thanks ... Ok maybe just give me a quick understanding of how to load and recall the presets for the tags?
I was assuming whatever tags were active could become a preset... one of the little numbers in the tags area... but I must be wrong.

EDIT:

OK plz explain this:
I have two tags.
Each has two tracks.
First tag is called one, second tag is called two.
The two tracks in one are both named one, the two tracks in two tag are both named two.

OK so then I rt clk on tag one and both tracks named 'one' are selected, but then
I right clk on tag two and both the two tracks named 'two' are selected BUT the first track named 'one' remains selected.
I would have expected that 'one' track to become unselected...

EDIT NEXT:
The toggle auto arm does not seem to work for me...
If I have the tracks already set to auto arm, the toggle does not turn that off
If I don't have the tracks already set to auto arm, the toggle does not them on for auto arm
Oh wait... the 'a' does do something but only for the top track in the tag group... not for all the traks in the group
and it set it to normal record mode, not to Automatically arm when selected...
The function in the TI is confusing to me
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain

Last edited by hopi; 05-28-2019 at 07:38 AM.
hopi is online now   Reply With Quote
Old 05-28-2019, 08:19 AM   #1706
Zirrex
Human being with feelings
 
Join Date: Jul 2017
Location: Russia
Posts: 67
Default

Cool... New options But in Track Inspector VIP v1.4rc15 switching presets is faster.
I try rc16 and then the load of the presets is very slow. :-(

I was set back rc15
Zirrex is offline   Reply With Quote
Old 05-28-2019, 09:15 AM   #1707
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Quote:
Originally Posted by hopi View Post
Thanks ... Ok maybe just give me a quick understanding of how to load and recall the presets for the tags?
I was assuming whatever tags were active could become a preset... one of the little numbers in the tags area... but I must be wrong.

EDIT:

OK plz explain this:
I have two tags.
Each has two tracks.
First tag is called one, second tag is called two.
The two tracks in one are both named one, the two tracks in two tag are both named two.

OK so then I rt clk on tag one and both tracks named 'one' are selected, but then
I right clk on tag two and both the two tracks named 'two' are selected BUT the first track named 'one' remains selected.
I would have expected that 'one' track to become unselected...

EDIT NEXT:
The toggle auto arm does not seem to work for me...
If I have the tracks already set to auto arm, the toggle does not turn that off
If I don't have the tracks already set to auto arm, the toggle does not them on for auto arm
Oh wait... the 'a' does do something but only for the top track in the tag group... not for all the traks in the group
and it set it to normal record mode, not to Automatically arm when selected...
The function in the TI is confusing to me
this is very strange... for me it is working... both selecting the tracks and the autoarm.. it doesn't change the autoarm feature in the track, but it will just arm it manually when selecting the track.
There must be some setting in your REAPER installation that may work differently when selecting tracks or something. I don't really know. Can you try in a new portable installation? We must know what is different in your configuration.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-28-2019, 09:17 AM   #1708
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Quote:
Originally Posted by Zirrex View Post
Cool... New options But in Track Inspector VIP v1.4rc15 switching presets is faster.
I try rc16 and then the load of the presets is very slow. :-(

I was set back rc15
oh. Thanks. Try to deactivate the new feature of Special tags from the tags panel menu. I think I know why this could happen and will fix.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-28-2019, 11:26 AM   #1709
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,443
Default

well OK in fresh new portable

same story about setting a group of tracks that in a tag to 'a'
they do not arm
I can arm them in the other ususal ways but not via the tag menu

It could well be that I don't understand something and what to expect
I am expecting when I have all trks in the tag selected and clk the 'a' that they all will become armed.
And clk the 'a' again and they unarmed
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-28-2019, 12:26 PM   #1710
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

HeDa, this update is HUGE! Thank you so much, donation sent!
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-28-2019, 03:39 PM   #1711
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Quote:
Originally Posted by hopi View Post
well OK in fresh new portable

same story about setting a group of tracks that in a tag to 'a'
they do not arm
I can arm them in the other ususal ways but not via the tag menu

It could well be that I don't understand something and what to expect
I am expecting when I have all trks in the tag selected and clk the 'a' that they all will become armed.
And clk the 'a' again and they unarmed
it doesn't do that now... Maybe it could be added if needed.. But for toggling arming to multiple tracks at once, wouldn't be better to use the track grouping in REAPER to arm master and arm slaves?
What it does now is to arm the track when it is selected. I did this with VST instruments tracks in mind. That always need to be armed to play with them via MIDI keyboard. But I don't like to use the autoarm feature in REAPER, because if I have all the tracks in autoarm mode, then sometimes if you select all tracks by accident or something it can get very slow. If you don't need this autoarm feature, you can hide it from the tags panel menu "show autoarm buttons"
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-28-2019, 03:40 PM   #1712
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Quote:
Originally Posted by _Stevie_ View Post
HeDa, this update is HUGE! Thank you so much, donation sent!
wow thank you! With that I can have some nice dinners
Let me know if anything can be changed or improved... I was thinking, that for your touch screen, it would be difficult to put all the actions for all the states and commands... so maybe we would need first to add some actions (modifier actions) that would define what do you want(isolate, turn on/off, always-off, etc) and then you would touch on the tag you want. This would look cleaner maybe than all the rows of different actions.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-28-2019, 04:50 PM   #1713
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 14,443
Default

Quote:
Originally Posted by heda View Post
it doesn't do that now... Maybe it could be added if needed.. But for toggling arming to multiple tracks at once, wouldn't be better to use the track grouping in REAPER to arm master and arm slaves?
What it does now is to arm the track when it is selected. I did this with VST instruments tracks in mind. That always need to be armed to play with them via MIDI keyboard. But I don't like to use the autoarm feature in REAPER, because if I have all the tracks in autoarm mode, then sometimes if you select all tracks by accident or something it can get very slow. If you don't need this autoarm feature, you can hide it from the tags panel menu "show autoarm buttons"
Ah OK well yes I have many ways to arm them otherwise... and now you have cleared up my misunderstanding about what the "a" is meant to do... so that's all just fine now... thanks as always...
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is online now   Reply With Quote
Old 05-28-2019, 06:31 PM   #1714
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

That's a pretty good idea with the modifier keys and would indeed save a lot of space on the touch screen

I will play around in the next few days and report back my findings.

Could it be, that TI got a bit more CPU intensive?
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-29-2019, 02:44 AM   #1715
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

Quote:
Originally Posted by _Stevie_ View Post
That's a pretty good idea with the modifier keys and would indeed save a lot of space on the touch screen

I will play around in the next few days and report back my findings.

Could it be, that TI got a bit more CPU intensive?
yes... I'm trying to optimize some things now.
Also, the special tags need to be updated on all tracks. To check if the track has now items or not, or if the track now is a folder or not... But I am thinking, we may not need to update this all the time, because it is not common that a track changes from folder to not folder, or once it has items etc... so maybe a manual "update special tags on all tracks" action will be better.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-29-2019, 05:53 AM   #1716
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

That's a very good idea. Are you constantly monitoring the changes of folders and items?
Maybe the tags can only be updated, when a command is executed.
Like: when you toggle (empty), the script checks for items on the tracks.
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-29-2019, 03:48 PM   #1717
Zirrex
Human being with feelings
 
Join Date: Jul 2017
Location: Russia
Posts: 67
Default

Will be great to have...

Script: HeDa_Track Inspector VIP_Tags add to 01. KICK & BASS .lua
Script: HeDa_Track Inspector VIP_Tags add to tracks kick & bass.lua
and other all tag... what we have. This is cool for new track...

And
Script: HeDa_Track Inspector VIP_Tagsremove all tag from selected track.lua

:-)
Zirrex is offline   Reply With Quote
Old 05-30-2019, 05:58 AM   #1718
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default v1.4rc17 (2019-05-30)

update
using tracks color by tag is faster now. except the first time you activate it which is the same as before refreshing all tracks colors.

tags states are saved in ExtState "HEDATITAGS" to be accessed by external Lua script if needed.
TCP and MCP states can be :
0 off
1 on
2 isolated
3 on (OR)
4 Always-off

mute and solo states can be 0 or 1

example code of reading the tag "Vocal" state:
Code:
function HEDATITAGS_gettagstate(tag, var)
	if reaper.HasExtState("HEDATITAGS", var .. tag) then 
		return reaper.GetExtState("HEDATITAGS", var .. tag)
	end
end

reaper.ShowConsoleMsg("\nTCP state: ")
reaper.ShowConsoleMsg(HEDATITAGS_gettagstate("Vocal", "TCP"))
reaper.ShowConsoleMsg("\nMCP state: ")
reaper.ShowConsoleMsg(HEDATITAGS_gettagstate("Vocal", "MCP"))
reaper.ShowConsoleMsg("\nMUTE state: ")
reaper.ShowConsoleMsg(HEDATITAGS_gettagstate("Vocal", "MUTE"))
reaper.ShowConsoleMsg("\nSOLO state: ")
reaper.ShowConsoleMsg(HEDATITAGS_gettagstate("Vocal", "SOLO"))
* v1.4rc17 (2019-05-30)
# optimizations in "color tracks by tag" by skipping tracks that have no tags, and update only selected tracks when it doesn't make sense to update all tracks
# fix: various fixes when using track colors by tag
+ Tags added action: HeDa_Track Inspector VIP_Tags Remove all tags from track(s).lua
+ Save tags state in "HEDATITAGS" extstate for integration with external script "TCP"..tagname "MCP"..tagname "MUTE"..tagname "SOLO"..tagname
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 05-30-2019, 11:37 AM   #1719
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,344
Default

Thanks so much HeDa!

2 questions:


1. did the method for the special tags change as well? I think they were the culprit concerning the CPU hogging.

2. I'm a bit lost with the tag storing (not the new ExtState method but the regular one). Are they stored per project or per TI instance?
When I remove all tags from the current project, all projects lose the tags
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote
Old 05-30-2019, 11:58 AM   #1720
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,183
Default

1) I did some tests and timings and special tags were fast enough, some milliseconds to update all tracks special tags. So no changes there. But I should test with a bigger project, but I think if something got slow, maybe it is something else.

2) Tags are stored per project, in the project file. But you must Save the project to store the data in the RPP file. Removing all tags shouldn't remove the tags of other projects. Only the current project. What do you mean all projects losing the tags? Other projects opened in another tabs? Or when you go an open another project it has no tags? New empty projects won't have any tags. But if you open another project that had tags assigned to tracks, the tags must be there. Please explain more what is going on.
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.