Archive: Avs / Render / Text / $(title) format


16th November 2005 02:23 UTC

Avs / Render / Text / $(title) format
Where can I find a full description of using text formats like $(title), $(playlen) etc. in avs?

My files are in folders like this:
C:\Music\Artist\Album (Year)\Title (Tracknumber).wav
Most of them are in WAV format recorded from LPs or tapes, so there is no tag available. Also they are too many to be able to tag them all.

Playlist displays them as:
001 Artist - Album (2001) - Title (01) - 4:59

What I need is to be able to show in AVS window only one, or some of what playlist's title displays.
For example:
"Artist - Album"
"Artist - Title" but not the tracknumber 01 in the "( )".

Is there a way to "tell" the text renderer to "search" the full title and display only what is in front of the 1st "-" or between the 3rd and 4th "-", or hide whatever between "( )", or something like that.

Any help sould be appreciated.


16th November 2005 14:25 UTC

I understand your problem, but i don't think that this is possible, cause the only command you have in render/text is the $(title:n) command. And all you can adjust here is how many characters of the title you want to be shown.

Actually i'm not even sure if you could display the titles like you want in winamp's playlist (using the titles menu in Winamp Preferences). But anyway, for AVS i'm sure that this won't be possible. Sorry. :hang:

Though, if someone knows any better he shall correct me! ;)


16th November 2005 14:47 UTC

converting the waves to a lossless format could be a solution (without losing soundquality), as long as it supports tags.

have a look at flac for instance.


18th November 2005 01:02 UTC

Thanks for reply.
Maybe the use of $(reg..) has something to do with it? (The title format?)
Where can I find a guide about it? It's all greek to me, even though I'm... from Greece!

Answer to ^..^ 's "Actually i'm not even sure if you could display the titles like you want in winamp's playlist":
-Preferences>Media library>Watch folders>Metadata reading settings>Configure>Simple(Detects Artist\Album\Title)
-Preferences>Titles>Advanced title display format>%artist% - %album% - %title%


18th November 2005 11:12 UTC

Ah, so for the playlists it is possible! Good to know! :)

But unfortunately reg won't help you displaying the title in AVS. Actually reg is an so called "global varaible" in AVS. I suppose you've already seen that many AVS-presets use a lot of code and many different effects to display those neat visualizations. Normally the code in one effect (let's say in one superscope) does not have any influence on another effect (let's say another superscope). But what if you want to sync both scopes, so that they move or rotate the same randomized way (just to give one example)? That's when global variables come in handy. You calculate their values once and from that on you can use them in all effects of your preset. This way you're able to sync all kinds of different effects. Now what the $(regXX) command in the render/text does is just displaying the value of one of the 99 global variables (where XX means a number between 00 and 99), that's all.
Ok, i hope you could follow my explanaition and that you now understand why reg won't help you with this problem... :(