BASS_ATTRIB_TEMPO_PITCH attribute
Set pitch of a channel.
BOOL
BASS_ChannelSetAttribute( |
Parameters
handle | Tempo stream (or source channel) handle | |
pitch | Pitch (key) | [-60....0....+60] semitones |
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 invalid |
BASS_ERROR_ILLPARAM | An illegal parameter was specified |
Info
Pitch
(key) : Changes the sound pitch or key, without affecting the sound tempo or
speed.
See also
BASS_FX_TempoCreate,
BASS_FX_TempoGetSource,
BASS_FX_TempoGetRateRatio