Post subject: How to disable gap killer via PAL script ?
Posted: November 13th, 2008, 8:29 am
New User
Joined: November 13th, 2008, 8:23 am Posts: 2
How can I disable the gap killer via pal script for
a) the next song in queue
b) globally until gap killer is activated again?
To a): It is possible to disable gap killer for one song manually by opening Song information editor for this song, setting Gap Killer = Disabled in "Settings". However, I can't find the setting in TSongIngo object. It might be hidden in "xfade" or "flags".
Post subject: Re: How to disable gap killer via PAL script ?
Posted: November 13th, 2008, 8:34 am
SVS Member
Joined: October 14th, 2006, 9:38 am Posts: 4447 Location: Deep in the heart of the PRNJ
Gap killer is a global setting. To the best of my knowledge it cannot be controlled by a PAL script.
You can enable/disable and assign different crossfade settings for a particular song. That may help you do what you want. Check the Fading tab in Song Info.
_________________ - Stan Olochwoszcz - SVS (Spacial Volunteer Support) A proud licensed SAM user since 2003
Post subject: Re: How to disable gap killer via PAL script ?
Posted: November 13th, 2008, 8:58 am
New User
Joined: November 13th, 2008, 8:23 am Posts: 2
I just found out that the you can set the gap killer setting for each file.
SongInfo['xfade'] must contain '&ge=1' for gap killer DISABLED SongInfo['xfade'] must contain '&ge=0' for gap killer ENABLED SongInfo['xfade'] without '&ge=...' for gap killer global DEFAULT
Take care, 'xfade' can contain other values as well. Don't just overwrite the settings. I am working on a nice function for PAL and will post it later.
Post subject: Re: How to disable gap killer via PAL script ?
Posted: November 13th, 2008, 9:27 am
SVS Member
Joined: October 14th, 2006, 9:38 am Posts: 4447 Location: Deep in the heart of the PRNJ
Learn something everyday. I've looked at Song Info hundreds of times and never once noticed that control because I never had the need for it. Talk about a blind spot!
Yeah, xfade is a string with which one wants to not mess lightly.
_________________ - Stan Olochwoszcz - SVS (Spacial Volunteer Support) A proud licensed SAM user since 2003
… and unfortunately XFade is language settings-dependant … so I had to convert 22,000 files to work on a German Windows!
(The XFade &bmp= [sic] setting for BPM stores the decimal separator that is used in Windows’ regional settings, not a uniform ».«. This is why I had to re-tag all my files to contain BPM settings like »&bmp=120,5« instead of »&bmp=120.5« to make SAM understand the BPM values on a German Windows. Sigh.)
@ Roman12: Sure you haven’t accidentally exchanged »enabled« and »disabled«? As far as I remember, &ge=0 is »Gap Killer Enabled = false«, i.e. no gap killer.
_________________ Moonbase: The Problem Solver I will not give any support for unlicensed or pirated software.
Post subject: Re: How to disable gap killer via PAL script ?
Posted: November 13th, 2008, 1:34 pm
SVS Member
Joined: October 14th, 2006, 9:38 am Posts: 4447 Location: Deep in the heart of the PRNJ
Ouch! That's why I'm hoping those settings will be in a separate table or at least separate columns in the future. That way they can used for other things like event triggers, e.g., play a certain drop when a certain point is hit in a song.
_________________ - Stan Olochwoszcz - SVS (Spacial Volunteer Support) A proud licensed SAM user since 2003
And I hope for more support of the Tags that are defined for some things … It’s actually some work fiddling around with »XFade« in Mp3tag, but fortunately we have RegExp.
_________________ Moonbase: The Problem Solver I will not give any support for unlicensed or pirated software.
Users browsing this forum: No registered users and 3 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum