BASS_ATTRIB_MUSIC_VOL_GLOBAL attribute

The global volume level of a MOD music.

BASS_ChannelSetAttribute(
    HMUSIC handle,
    BASS_ATTRIB_MUSIC_VOL_GLOBAL,
    float volume
);

Parameters

handleThe MOD music handle.
volumeThe global volume level... 0 (min) to 64 (max, 128 for IT format). This will be rounded down to a whole number.

Remarks

This attribute is a direct mapping of the MOD's global volume, so the value can be changed via effects in the MOD itself.

During playback, the effect of changes to this attribute are not heard instantaneously, due to buffering. This latency can be reduced via the BASS_ATTRIB_BUFFER attribute.

See also

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute, BASS_ChannelSlideAttribute, BASS_ATTRIB_MUSIC_AMPLIFY