BASS FX

BASS_FX_BPM_BeatGetParameters

Get current beat values.

BOOL BASS_FX_BPM_BeatGetParameters(
    DWORD handle,
    float *bandwidth,
    float *centerfreq,
    float *beat_rtime
);

Parameters

handle Stream/music/wma/cd/any other supported add-on format   
bandwidth Current bandwidth in Hz NULL = don't retrieve it
centerfreq Current center frequency NULL = don't retrieve it
beat_rtime    Current beat release time in ms NULL = don't retrieve it

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_BeatSetParameters, BASS_FX_BPM_BeatFree