Share via


MIDI/Performance Options Dialog Box

Windows Media Encoder SDK banner art

Click the MIDI/Performance Options Button to display the following dialog box, which contains miscellaneous options for playback and MIDI input.

MIDI/Performance Options dialog box

This dialog box contains the following settings:

  • MIDI Input

    From the drop-down list, select the MIDI sound card that your MIDI input device is connected to.

  • Echo MIDI Input

    Select a MIDI input device to be echoed through the Microsoft Synthesizer. This can be the same as the MIDI Input device, or another device. Making selections from the Echo MIDI Input Device box enables you to hear the actual instrument sounds that will be used for playback. Select the Echo MIDI In check box to activate echoing, and select a range in the Output PChannels box to be used in echoing the input channels.

  • Adjust Latency

    Select a latency value between 0 and 9999 milliseconds for the Microsoft Synthesizer. Latency is the delay between the time a port receives a message and the time it has synthesized enough of a wave to play. You can adjust the latency to improve playback when the Microsoft Synthesizer has a great deal of information to process, such as when many DLS instruments are used at one time.

Notes Settings below 10 milliseconds can cause the Microsoft Synthesizer to continue playing for several seconds after playback is stopped. You can use the All Notes Off Button to stop any notes.

The actual latency shown in the [Synthesizer Status Window](ms809884\(v=msdn.10\).md) is usually greater that the value set here, because of latency added by the sound card driver and audio stack.
  • Super Low Latency

    Select the check box to enable playback from keyboard input with very low latency, playing directly to the hardware specified in the Use This Sound Card drop-down list.

  • Persist to all Audiopaths

    Select the check box to ensure that the latency remains the same when the default audiopath is changed. If this option is not selected, the Adjust Latency value reverts to the default value when the audiopath is changed.

  • Number of Voices

    Set the desired number of simultaneous voices available for the default synthesizer and any synthesizers that support output to DirectSound buffers. For more information, see Voice Allocation.

  • Sample Rate

    Set the desired sample rate for the default synthesizer and any synthesizers that support output to DirectSound buffers.

  • Default Synthesizer

    Set the default synthesizer, used for all standard audiopaths and for the Default Synth option in all custom audiopaths. If the chosen default synthesizer does not support 128 different PChannels, then the standard audiopaths will use the maximum number of PChannels available. The synthesizer referenced by the Not Specified (Use DirectMusic Default) option is always the Microsoft Synthesizer.

Note Settings in the Adjust Latency and Audio Initialization Settings areas affect only the Microsoft Synthesizer and other synthesizers that support output to DirectSound buffers. For all other synthesizers, the only place to edit settings is in the Mix Group Properties window.

  • Download Status

    Select Download to download the entire GM.dls collection or all open custom DLS collections, or both, to the default audiopath, making available all instruments in those collections. If you select Unload, you must explicitly download instruments by using a script.