Miles Sound System SDK 7.2a

AIL_set_XMIDI_master_volume

The function AIL_set_XMIDI_master_volume establishes an overall "master volume" value which is used to scale the volumes of all subsequent XMIDI note events in all sequences.

void AIL_set_XMIDI_master_volume(
  HMDIDRIVER mdi,
  S32 master_volume
);

In Parameters

mdi
indicates the driver for which the new master volume setting is to be specified.
master_volume
specifies a linear volume scaling level in standard MIDI units (0-127, with 0 corresponding to complete silence and 127 corresponding to zero attenuation).

Discussion

This function controls an attenuation factor which is applied to all XMIDI note events in software. Like other MSS level-control functions, it has no effect on any hardware mixer settings.

By default, the XMIDI master volume value is initialized to 127 (no attenuation).


Group: XMIDI Services
Related Functions: AIL_XMIDI_master_volume, AIL_set_sequence_volume
Related Basic Types: HMDIDRIVER, S32, void

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.