Old 11-16-2021, 02:24 PM   #441
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

I get this error msg when I drag and drop a template into the TCP panel only when there are no tracks in the TCP panel
__DEV__Track Templates VIP.lua:6178: bad argument #1 to 'SetOnlyTrackSelected' (MediaTrack expected)
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 11-17-2021, 05:37 AM   #442
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default v1.4.4 (2021-11-17)

Thanks... fixed.

* v1.4.4 (2021-11-17)
# fix crash when dragging to empty project (Thanks @UknownSource)


I forgot to post about previous fixes too:

* v1.4.3 (2021-11-16)
# fix: Do not solo tracks that are muted, when rendering audio previews. (Thanks @Reflected)
# fix: remove invalid characters in track names when saving template files (Thanks @Reflected)
heda is offline   Reply With Quote
Old 11-17-2021, 07:23 AM   #443
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Quote:
Originally Posted by heda View Post
Thanks... fixed.

* v1.4.4 (2021-11-17)
# fix crash when dragging to empty project (Thanks @UknownSource)


I forgot to post about previous fixes too:

* v1.4.3 (2021-11-16)
# fix: Do not solo tracks that are muted, when rendering audio previews. (Thanks @Reflected)
# fix: remove invalid characters in track names when saving template files (Thanks @Reflected)

Ty!!

FR:
it's really nice that it automatically saves name of the first track for quick saving (especially when saving single tracks)

it could be also nice if there was an option to "save as" (so we can choose different name), this will be useful especially when saving an idea rather than a single track
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 11-17-2021, 08:06 AM   #444
Skorobagatko
Human being with feelings
 
Skorobagatko's Avatar
 
Join Date: Mar 2017
Location: Ukraine, Kyiv
Posts: 546
Default

Quote:
Originally Posted by UknownSource View Post
Ty!!

FR:
it's really nice that it automatically saves name of the first track for quick saving (especially when saving single tracks)

it could be also nice if there was an option to "save as" (so we can choose different name), this will be useful especially when saving an idea rather than a single track
I support this!
Skorobagatko is offline   Reply With Quote
Old 11-25-2021, 04:11 AM   #445
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Quote:
Originally Posted by UknownSource View Post
Ty!!

FR:
it's really nice that it automatically saves name of the first track for quick saving (especially when saving single tracks)

it could be also nice if there was an option to "save as" (so we can choose different name), this will be useful especially when saving an idea rather than a single track
Quote:
Originally Posted by Skorobagatko View Post
I support this!
Thank for supporting

this is the best script ever!
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 12-06-2021, 12:51 PM   #446
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

render audio previews for fxchains doesn't work :X
Reflected is offline   Reply With Quote
Old 12-08-2021, 04:42 AM   #447
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default v1.4.5 (2021-12-08)

Added Save As... and render audio for FX Chains, but what I'm thinking also is to add a way to dynamically preview FX Chains on selected tracks by clicking them as we play in the project. I'll see if it works.

* v1.4.5 (2021-12-08)
+ Save As (prompt for file name when saving track template) (FR @UknownSource)
# fix: small double click issue
# fix: Render FX Chain audio preview (thanks @Reflected)
heda is offline   Reply With Quote
Old 12-08-2021, 08:29 AM   #448
pcp
Human being with feelings
 
pcp's Avatar
 
Join Date: Oct 2021
Location: Singapore
Posts: 182
Default

Fantastic updates, thanks Heda for this awesome script!
pcp is offline   Reply With Quote
Old 12-09-2021, 02:30 PM   #449
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by heda View Post
Added Save As... and render audio for FX Chains, but what I'm thinking also is to add a way to dynamically preview FX Chains on selected tracks by clicking them as we play in the project. I'll see if it works.

* v1.4.5 (2021-12-08)
+ Save As (prompt for file name when saving track template) (FR @UknownSource)
# fix: small double click issue
# fix: Render FX Chain audio preview (thanks @Reflected)
Thank u so much for these updates!
looking forward ur great idea!
Reflected is offline   Reply With Quote
Old 12-15-2021, 11:30 AM   #450
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Hey Heda
I've noticed that for some reason the template windows losing their focus in their dockers while changing screensets

1. dock the template window in a docker
2. dock project bay window in the same docker
3. save a screenset with the project bay window on focus
4. save a screenset with the templates window on focus
5. load the screen set with the project bay on focus - works!
6. load the screenset with the templates window on focus - the project bay window steal the focus.. (no change)
Reflected is offline   Reply With Quote
Old 12-17-2021, 05:42 AM   #451
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

another bug:

the templates is saved without grid positions..

i mean when loading something that saved in 175bpm into a project with 125bpm, the items ignore the grid positions (getting off the grids)
Reflected is offline   Reply With Quote
Old 12-19-2021, 06:29 AM   #452
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Thank you heda for the updates!

Quote:
Originally Posted by Reflected View Post
Hey Heda
I've noticed that for some reason the template windows losing their focus in their dockers while changing screensets

1. dock the template window in a docker
2. dock project bay window in the same docker
3. save a screenset with the project bay window on focus
4. save a screenset with the templates window on focus
5. load the screen set with the project bay on focus - works!
6. load the screenset with the templates window on focus - the project bay window steal the focus.. (no change)
Quote:
Originally Posted by Reflected View Post
another bug:

the templates is saved without grid positions..

i mean when loading something that saved in 175bpm into a project with 125bpm, the items ignore the grid positions (getting off the grids)

confirmed both.

Also if I save the template from reaper's save template option, there is no such problem. so it's not a reaper thing I guess.
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 12-19-2021, 09:15 AM   #453
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

this is strange.... I am testing to export it normally, and then with the script and it seems the chunk data is not exactly the same. I don't know why

I see some differences like this:

normal export:

<ITEM {7C6BD353-E7E5-C0B3-0391-7C1D3DB8B49A}
POSITION 1 2
SNAPOFFS 0 0
LENGTH 2.5 5


script export:
<ITEM
POSITION 1
SNAPOFFS 0
LENGTH 2.5
heda is offline   Reply With Quote
Old 12-21-2021, 01:05 PM   #454
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by heda View Post
this is strange.... I am testing to export it normally, and then with the script and it seems the chunk data is not exactly the same. I don't know why

I see some differences like this:

normal export:

<ITEM {7C6BD353-E7E5-C0B3-0391-7C1D3DB8B49A}
POSITION 1 2
SNAPOFFS 0 0
LENGTH 2.5 5


script export:
<ITEM
POSITION 1
SNAPOFFS 0
LENGTH 2.5

it wasn't like this in the paste, i just don't know which version changed that.

do you have any a clue how to fix this?
Reflected is offline   Reply With Quote
Old 12-24-2021, 09:12 AM   #455
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

is it worth to ask justin/shcwa for help ?

I can't use my templates properly in different bpms projects.
Reflected is offline   Reply With Quote
Old 12-26-2021, 06:24 AM   #456
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Quote:
Originally Posted by heda View Post
it seems the chunk data is not exactly the same. I don't know why
ohhh no
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 12-26-2021, 11:16 AM   #457
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

can it be a issue in the settings?
Reflected is offline   Reply With Quote
Old 01-02-2022, 11:05 AM   #458
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

Quote:
Originally Posted by gvanbrunt View Post
I'm just setting up TT and have a strange issue. For some reason the directory doesn't show up unless the pane is nearly half the screen.
in the menu, check the "Minimum window width pixels to fit horizontally..."
changing that value affect how wide the window can get before switching to the normal display mode.
if you set it to 1, it will always display the panels normally.
heda is offline   Reply With Quote
Old 01-02-2022, 11:07 AM   #459
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

Quote:
Originally Posted by Reflected View Post
can it be a issue in the settings?
no.. I need to sit down and figure out what is happening.
I think the native track template saving may do something else and not only copy the chunk to a file. If that is the case, maybe we cannot do anything.. and wait for a API function to export templates from Cockos.
heda is offline   Reply With Quote
Old 01-02-2022, 11:14 AM   #460
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by heda View Post
no.. I need to sit down and figure out what is happening.
I think the native track template saving may do something else and not only copy the chunk to a file. If that is the case, maybe we cannot do anything.. and wait for a API function to export templates from Cockos.
oh no.. please don't say it.... wait for cockos?! it might take a decade mate.

Did you send a request for this API?
Reflected is offline   Reply With Quote
Old 01-02-2022, 11:21 AM   #461
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

no.. because maybe it is just that I am doing something wrong? I don't know.
maybe mpl is the one to ask.. he is the expert in API and chunks
heda is offline   Reply With Quote
Old 01-02-2022, 11:26 AM   #462
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

sent him a pm
cross your fingers
Reflected is offline   Reply With Quote
Old 01-02-2022, 03:05 PM   #463
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

Quote:
Originally Posted by heda View Post
no.. because maybe it is just that I am doing something wrong? I don't know.
maybe mpl is the one to ask.. he is the expert in API and chunks
Totally not an expert here, but from first look, that looks like difference is only GUID after ITEM. And POSITION, SNAPOFFS and LENGTH duplicated with a same value, but measured with a beats (I guess it is for internal import handling, most likely item time-related values validation for specific timebase modes during import track template).

Last edited by mpl; 01-02-2022 at 10:02 PM.
mpl is offline   Reply With Quote
Old 01-03-2022, 04:13 AM   #464
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

Quote:
Originally Posted by mpl View Post
Totally not an expert here, but from first look, that looks like difference is only GUID after ITEM. And POSITION, SNAPOFFS and LENGTH duplicated with a same value, but measured with a beats (I guess it is for internal import handling, most likely item time-related values validation for specific timebase modes during import track template).
hey mpl. thanks.
yes I see that the difference may not be much... but I wonder if there could be more differences that we don't know and if it would be easier to ask Cockos for the API function to export a template to a specified file. Because the action to export a template is always prompting for a filename so it cannot be used on a script.
heda is offline   Reply With Quote
Old 01-03-2022, 06:57 PM   #465
Mavriq
Human being with feelings
 
Mavriq's Avatar
 
Join Date: Aug 2016
Location: Thunder Bay, Canada
Posts: 297
Default

How do you change the color of the background and border that surrounds the image of a directory? Currently it is a olive color and its rather jarring with my current theme. I couldn't find it anywhere in the template file unless I'm missing something.
Mavriq is offline   Reply With Quote
Old 01-04-2022, 04:30 AM   #466
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Quote:
Originally Posted by gvanbrunt View Post
How do you change the color of the background and border that surrounds the image of a directory? Currently it is a olive color and its rather jarring with my current theme. I couldn't find it anywhere in the template file unless I'm missing something.
it's right in this file:
\REAPER\Scripts\HeDaScripts\Track Templates VIP settings ---> Default_6.0.TT_theme

make a copy and play with the numbers.
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 01-04-2022, 04:31 AM   #467
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Quote:
Originally Posted by heda View Post
hey mpl. thanks.
yes I see that the difference may not be much... but I wonder if there could be more differences that we don't know and if it would be easier to ask Cockos for the API function to export a template to a specified file. Because the action to export a template is always prompting for a filename so it cannot be used on a script.
this way or another
I hope that you will find a soution.

this script is amazing but this bug is a pain in the azz.
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 01-04-2022, 09:45 AM   #468
Mavriq
Human being with feelings
 
Mavriq's Avatar
 
Join Date: Aug 2016
Location: Thunder Bay, Canada
Posts: 297
Default

I did look in the theme file. I don't see a setting for this anywhere. I'm I missing something?
Mavriq is offline   Reply With Quote
Old 01-04-2022, 11:17 AM   #469
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

Quote:
Originally Posted by gvanbrunt View Post
I did look in the theme file. I don't see a setting for this anywhere. I'm I missing something?
change the text_color2 values... for example this would have a cyan tone... I know... text_color2 is not very descriptive of what it does.


["text_color2_red"]=128,
["text_color2_green"]=255,
["text_color2_blue"]=255,


make sure you change it in a copy of the theme file in the settings folder. Otherwise it would be lost when replaced when updating the script.
heda is offline   Reply With Quote
Old 01-04-2022, 09:17 PM   #470
Mavriq
Human being with feelings
 
Mavriq's Avatar
 
Join Date: Aug 2016
Location: Thunder Bay, Canada
Posts: 297
Default

Perfect! That did the trick.

I know that at some point you are planning to overhaul the theming part of the Script, but it would be helpful if there were comment lines in the Theme. Especially about what some of the obscurely named settings do.

Thanks again for a great add on that has been a game changer for me.
Mavriq is offline   Reply With Quote
Old 01-06-2022, 11:39 AM   #471
Mavriq
Human being with feelings
 
Mavriq's Avatar
 
Join Date: Aug 2016
Location: Thunder Bay, Canada
Posts: 297
Default

Is there a script similar to "HeDa_Track Templates VIP_Save Track Template" for FX Chains? I'm looking to add a shortcut so I can do that from the keyboard.
Mavriq is offline   Reply With Quote
Old 01-10-2022, 11:19 AM   #472
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

any signs of solution?
Reflected is offline   Reply With Quote
Old 01-11-2022, 01:59 AM   #473
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

Quote:
Originally Posted by Reflected View Post
any signs of solution?
unfortunately not
Do you know any other script that saves track templates? Maybe someone has already figured it out? If not... I'll try to make an API request
heda is offline   Reply With Quote
Old 01-11-2022, 12:03 PM   #474
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by heda View Post
unfortunately not
Do you know any other script that saves track templates? Maybe someone has already figured it out?
couldn't find anything in the last 12 years. :X
Reflected is offline   Reply With Quote
Old 01-12-2022, 01:31 AM   #475
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

Quote:
Because the action to export a template is always prompting for a filename so it cannot be used on a script
Hey heda

i was thinking Maybe...
Is it possible that once we save a template using the "save as" feature in your script, it will save the template like Reaper's default template saving feature?

this might be a good temporary solution until Justin will answer your API request
what do you say?
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 01-12-2022, 03:00 AM   #476
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

you could always use REAPER's native export template to overwrite the one generated with the script. The thing was that the script automatically generates the file in the folder you currently are displaying in the script.
heda is offline   Reply With Quote
Old 01-12-2022, 06:23 AM   #477
UknownSource
Human being with feelings
 
UknownSource's Avatar
 
Join Date: May 2020
Posts: 434
Default

what do the developers have to say about it?
__________________
"FX-Container"
UknownSource is offline   Reply With Quote
Old 01-12-2022, 10:02 AM   #478
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,268
Default

Quote:
Originally Posted by UknownSource View Post
what do the developers have to say about it?
This is probably not a priority for devs right now, but I have just requested API function here just in case
https://forum.cockos.com/showthread....47#post2515647
heda is offline   Reply With Quote
Old 01-31-2022, 12:25 PM   #479
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

Quote:
Originally Posted by Reflected View Post
Hey Heda
I've noticed that for some reason the template windows losing their focus in their dockers while changing screensets

1. dock the template window in a docker
2. dock project bay window in the same docker
3. save a screenset with the project bay window on focus
4. save a screenset with the templates window on focus
5. load the screen set with the project bay on focus - works!
6. load the screenset with the templates window on focus - the project bay window steal the focus.. (no change)
dear heda can you fix this please?


btw - when if I close reaper and reopen it, the TrackTemplates doesn't stay open even if it was open before I closed reaper. (maybe this is related)

**edit: not solved it completely but if I set it as startup action it works better, but if I load a screenset that shouldn't include TT it will open it when restarting. not perfect but if it's too tricky to solve, I can live with that now.

Last edited by Reflected; 01-31-2022 at 12:43 PM.
Reflected is offline   Reply With Quote
Old 02-11-2022, 01:20 AM   #480
Reflected
Human being with feelings
 
Reflected's Avatar
 
Join Date: Jul 2009
Posts: 3,295
Default

hey heda

is it possible to make an option that will open extra panel for folders that are inside the selected folder?

this will really speed up my workflow
something like this:

Reflected 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:00 AM.


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