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) - 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]>
This results in titles like:
Filename Title Artist: Filename Artist: Title Artist (Album): Title Artist (Year/Album): Title Artist (Year/Album): 01. Title Artist (Year/Album): 01. Title [Genre]
...all depending on which ID3 tag values are present in the file.
The default title is now:
%?1<%1 - >%?2<%2|%7>
Cheers, -rob
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
David Shin naw@SoftHome.net wrote:
- 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?
Center channel? What's that?
%?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>
Yes, sorry, there is a small bug affecting this. I've already fixed it for the next release.
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.
Your version may be *slightly* faster, but I seriously doubt it is enough to make a significant difference. The biggest bottleneck is reading the ID3 tag from the file (whether or not it is really there -- you don't know until you've looked); the parsing routine is otherwise very efficient.
I propose the first version is better as a default because it is slightly easier to understand.
Cheers, -rob
Rob Leslie wrote:
David Shin naw@SoftHome.net wrote:
- 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?
Center channel? What's that?
This came to mind as I used to play around with a A3D plug-in for Winamp, where you could manipulate the left, center, and main channels and place them in 3-d space around you. Very neat stuff. You could make it so it sounded like the music was coming from 1 meter or 10 meters away, or above you, below, wide stereo separation, etc. But after reading the doc for it, I realized the main channel is just a mono mix of the left and right channels. Nevermind... :(