Bewerken

Delen via


KSNODETYPE_SYNTHESIZER

The KSNODETYPE_SYNTHESIZER node represents a MIDI synthesizer. A synth node takes as input a MIDI stream and outputs one of the following:

  • A wave stream

  • An analog audio signal

  • Raw MIDI

The DMusUART audio sample driver in the Microsoft Windows Driver Kit (WDK) is an example of a miniport driver that outputs raw MIDI to an external synthesizer and contains a synth node (on its DirectMusic pin).

A synth node should support the following required properties:

KSPROPERTY_SYNTH_CAPS

KSPROPERTY_SYNTH_PORTPARAMETERS

A synth node that supports multiple channel groups should also support the following property:

KSPROPERTY_SYNTH_CHANNELGROUPS

If the node does not support this property, the number of channel groups defaults to 1.

A synth node can also support the following optional KSPROPSETID_Synth and KSPROPSETID_Synth_Dls properties:

KSPROPERTY_SYNTH_LATENCYCLOCK

KSPROPERTY_SYNTH_MASTERCLOCK

KSPROPERTY_SYNTH_RUNNINGSTATS

KSPROPERTY_SYNTH_VOICEPRIORITY

KSPROPERTY_SYNTH_VOLUME

KSPROPERTY_SYNTH_VOLUMEBOOST

KSPROPERTY_SYNTH_DLS_APPEND

KSPROPERTY_SYNTH_DLS_COMPACT

KSPROPERTY_SYNTH_DLS_DOWNLOAD

KSPROPERTY_SYNTH_DLS_UNLOAD

KSPROPERTY_SYNTH_DLS_WAVEFORMAT