[mad-user] Winamp plug-in pre-release 0.12.3b-pre4

David Shin naw@pobox.com
Mon, 18 Dec 2000 05:43:51 -0500


Rob Leslie wrote:
> 
> The fourth pre-release:
> 
>   http://www.mars.org/home/rob/proj/mpeg/mad-plugin/in_mad-0.12.3b-pre4.zip
> 
> Not much has changed for auto attenuation, but this version does have a few
> extra bonuses:
> 
>   - output channel selection now works (that's for you, Roj)

Interesting.  How about a center channel only as well?  Would that be
useful for some odd diagnostic purpose you think?


>   - by request, the title format can now include conditionals
> 
> What are title conditionals?
> 
> If you want the title to include the ID3 Title if present but the filename
> otherwise, you can now enter:
> 
>   %?2<%2|%7>
> 
> These can nest, so something more complicated might be:
> 
>   %?1<%1%?3< (%?4<%4/>%3)>: >%?0<%0. >%?2<%2|%7>%?6< [%6]>

Whoa, I like very much!  Much more powerful than any other formatting
system out there.  I can see myself spending long nights trying to get
the formatting just perfect.  :D

However, while you can nest if-then statements, you can't nest
if-then-else statements.
if((if(then | else))| else)  won't work.

Like this:
%?2<%?1<%1 - %2|%2>|%7>

Formats fine for mp3 files with ID3 tags, but messes up for files
without tags.

So it has to be changed into this:
%?2<%?1<%1 - >%2|%7>

Which is actually simpler, but I was trying to do some other crazy,
complicated formatting and found I couldn't do it.

> The default title is now:
> 
>   %?1<%1 - >%?2<%2|%7>

You have to look at 2 separate conditionals with that, even for files
without ID3 tags.  Wouldn't the following be faster (when loading
thousands of songs without ID3 tags that is...)?

%?2<%?1<%1 - >%2|%7>

Does this call for a time test you think?  Ehh, it probably wouldn't
make any difference. Sorry, I'm just bored.


Thanks for your hard work Rob,

naw