Quote: "
BOOL BASS_ChannelSetAttribute(
DWORD handle,
DWORD attrib,
float value
);
Parameters
handle The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
attrib The attribute to set the value of... one of the following.
BASS_ATTRIB_EAXMIX EAX wet/dry mix. (HCHANNEL/HMUSIC/HSTREAM only)
BASS_ATTRIB_FREQ Sample rate.
BASS_ATTRIB_MUSIC_AMPLIFY Amplification level. (HMUSIC)
BASS_ATTRIB_MUSIC_BPM BPM. (HMUSIC)
BASS_ATTRIB_MUSIC_PANSEP Pan separation level. (HMUSIC)
BASS_ATTRIB_MUSIC_PSCALER Position scaler. (HMUSIC)
BASS_ATTRIB_MUSIC_SPEED Speed. (HMUSIC)
BASS_ATTRIB_MUSIC_VOL_CHAN A channel volume level. (HMUSIC)
BASS_ATTRIB_MUSIC_VOL_GLOBAL Global volume level. (HMUSIC)
BASS_ATTRIB_MUSIC_VOL_INST An instrument/sample volume level. (HMUSIC)
BASS_ATTRIB_PAN Panning/balance position.
BASS_ATTRIB_VOL Volume level.
other attributes may be supported by add-ons, see the documentation.
value The new attribute value. See the attribute's documentation for details on the possible values.
Return value
If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE handle is not a valid channel.
BASS_ERROR_ILLTYPE attrib is not valid.
BASS_ERROR_ILLPARAM value is not valid. See the attribute's documentation for the valid range of values.
some attributes may have additional error codes, see the documentation.
Remarks
The actual attribute value may not be exactly the same as requested, due to precision differences. For example, an attribute might only allow whole number values. BASS_ChannelGetAttribute can be used to confirm what the value is.
"
Quote: "
// Channel attributes
#define BASS_ATTRIB_FREQ 1
#define BASS_ATTRIB_VOL 2
#define BASS_ATTRIB_PAN 3
#define BASS_ATTRIB_EAXMIX 4
#define BASS_ATTRIB_MUSIC_AMPLIFY 0x100
#define BASS_ATTRIB_MUSIC_PANSEP 0x101
#define BASS_ATTRIB_MUSIC_PSCALER 0x102
#define BASS_ATTRIB_MUSIC_BPM 0x103
#define BASS_ATTRIB_MUSIC_SPEED 0x104
#define BASS_ATTRIB_MUSIC_VOL_GLOBAL 0x105
#define BASS_ATTRIB_MUSIC_VOL_CHAN 0x200 // + channel #
#define BASS_ATTRIB_MUSIC_VOL_INST 0x300 // + instrument #
"
Does that get you anwhere?
@baxslash
Quote: "
BASS is an audio library for use in Windows and Mac OSX software. Its purpose is to provide developers with powerful and efficient sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and more via add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), MO3 music (MP3/OGG compressed MODs), and recording functions. All in a tiny DLL, under 100KB* in size.
"
I love it when I don't have to write anything to answer questions

_.