BASS FX

BASS_FX_BPM_BeatSetParameters

Set new values for beat detection.

BOOL BASS_FX_BPM_BeatSetParameters(
    DWORD handle,
    float bandwidth,
    float centerfreq,
    float beat_rtime
);

Parameters

handleStream/music/wma/cd/any other supported add-on format   
bandwidthBandwidth in Hz [0<..<rate/2] Hz    [def. 10Hz]     -1.0f = leave current
centerfreq Center frequency [0<..<rate/2] Hz [def. 90Hz] -1.0f = leave current
beat_rtime    Beat release time in ms ms [def. 20ms] -1.0f = leave current

Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLE handle is not valid

See also
BASS_FX_BPM_BeatDecodeGet, BASS_FX_BPM_BeatCallbackSet, BASS_FX_BPM_BeatCallbackReset, BASS_FX_BPM_BeatGetParameters, BASS_FX_BPM_BeatFree