11-14-2020, 12:41 AM | #1 |
Human being with feelings
Join Date: Feb 2017
Posts: 4,820
|
get item notes on video processor , possible?
I have one track with video processor and several item notes . I would like a way to use text overlay preset to display in the video window the text of the item notes.
Is this possible? Thank you
__________________
🙏🏻 |
11-15-2020, 11:38 AM | #2 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Working on something like that.
I guess I'll finish a first version so you can write a Lua-script which allows feeding such a VideoProcessor-preset at runtime. So you will be able to display anything you want directly from Lua.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish On vacation for the time being... |
11-16-2020, 06:25 AM | #3 |
Human being with feelings
Join Date: Feb 2017
Posts: 4,820
|
Thank you for reply and efforts!
I am not sure , but item names aren't already able to be showed in video processor? if so item notes makes so much more sense to me to be supported..
__________________
🙏🏻 |
11-16-2020, 11:01 AM | #4 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
I think markertexts, regiontexts, takemarker-texts, item-notes would all be nice to have natively.
I think, only take-names are supported yet. Iirc, leave the text in the preset blank to show them but I might be wrong.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish On vacation for the time being... |
02-09-2021, 07:50 AM | #5 |
Human being with feelings
Join Date: Apr 2018
Posts: 516
|
Current workaround
If you use:
#text=""; in the Text Overlay preset, there is this line of code: strcmp(#text,"")==0 ? input_get_name(-1,#text); which gets the item take name and will overlay that. X-Raym has a script: Convert selected item notes to take name.lua which will push your notes into the take name so that the Video Processor can see it. |
02-17-2021, 11:51 AM | #6 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Does this support newlines as well?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish On vacation for the time being... |
02-18-2021, 06:36 AM | #7 |
Human being with feelings
Join Date: Apr 2018
Posts: 516
|
parse on ~
It doesn't handle new line, so I change the new line into tilde on the way into the
take name and then split the text on the tilde in the video processor code. Last edited by Sid; 02-18-2021 at 06:42 AM. |
02-18-2021, 07:25 AM | #8 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,900
|
I have mostly a X-Raym_Set selected items video processor text to current regions.lua script which could be ported to item notes if needed. and added to the pack! :P
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
Thread Tools | |
Display Modes | |
|
|