Logo
It is currently September 6th, 2010, 10:26 am

All times are UTC - 6 hours [ DST ]


Forum rules


In order to provide you with the best support possible please read the following topics before posting:
Forum Rules can be found here. Ignorance is not bliss.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 8:29 am 
Offline
New User
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".

Any clues?


Top
 Profile E-mail  
 
 Post subject: Re: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 8:34 am 
Offline
SVS Member
SVS Member
User avatar

Joined: October 14th, 2006, 9:38 am
Posts: 4446
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

Raritan Bay Radio
Follow us on Twitter


Top
 Profile E-mail  
 
 Post subject: Re: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 8:58 am 
Offline
New User
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.


Top
 Profile E-mail  
 
 Post subject: Re: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 9:27 am 
Offline
SVS Member
SVS Member
User avatar

Joined: October 14th, 2006, 9:38 am
Posts: 4446
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

Raritan Bay Radio
Follow us on Twitter


Top
 Profile E-mail  
 
 Post subject: Re: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 12:25 pm 
Offline
Junior User
Junior User
User avatar

Joined: October 4th, 2008, 12:35 pm
Posts: 39
Location: Kaufbeuren, Germany
… 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.


Top
 Profile E-mail  
 
 Post subject: Re: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 1:34 pm 
Offline
SVS Member
SVS Member
User avatar

Joined: October 14th, 2006, 9:38 am
Posts: 4446
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

Raritan Bay Radio
Follow us on Twitter


Top
 Profile E-mail  
 
 Post subject: Re: How to disable gap killer via PAL script ?
PostPosted: November 13th, 2008, 2:05 pm 
Offline
Junior User
Junior User
User avatar

Joined: October 4th, 2008, 12:35 pm
Posts: 39
Location: Kaufbeuren, Germany
And I hope for more support of the Tags that are defined for some things … :wink: It’s actually some work fiddling around with »XFade« in Mp3tag, but fortunately we have RegExp. :D

_________________
Moonbase: The Problem Solver
I will not give any support for unlicensed or pirated software.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group