Detects the cue-in and -out points of a given audio file.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public static bool DetectCuePoints( string filename, float blockSize, ref double cueInPos, ref double cueOutPos, double dBIn, double dBOut, int findZeroCrossing )
Parameters
- filename
- Type: SystemString
The audio file to analyze. - blockSize
- Type: SystemSingle
The block-size in seconds which will be used to scan the file (between 0.1 and 30 seconds). - cueInPos
- Type: SystemDouble
Returns the cue-in position in seconds according to dBIn. - cueOutPos
- Type: SystemDouble
Returns the cue-out position in seconds according to dBOut. - dBIn
- Type: SystemDouble
The threshold in dB to be used to detect the cueInPos. - dBOut
- Type: SystemDouble
The threshold in dB to be used to detect the cueOutPos. - findZeroCrossing
- Type: SystemInt32
Position adjustment flag. 0=no adjustment, 1=move to zero-crossing sample to avoid clicks, 2=move to quiter sample (threshold/2) to avoid clicks.
Return Value
Type: Booleanon success - else .
Remarks
See Also