Click or drag to resize
WinmmOut Class
The class Winmm Windows Multi Media Output. This class communicates with winmm which outputs to the speaker using the specified device.
Inheritance Hierarchy
SystemObject
  MidiGremlinWinmmOut

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class WinmmOut : IMidiOut, IDisposable

The WinmmOut type exposes the following members.

Constructors
  NameDescription
Public methodWinmmOut
Creates a new instance of the WinmmOut class which opens a MIDI port at the specified device ID.
Top
Properties
  NameDescription
Public propertyBeatDuratinInMilliseconds
The duration of 1 beat in milliseconds.
Public propertyBeatsPerMinute
How many beats corresponds to 60 seconds. If the value is set to 60, 1 beat will be the same as 1 second.
Public propertyCurrentTime
The amount of beats that have passed since this class was instantiated.
Public propertyDeviceID
The ID of the device to use. If the device is not found, the default(ID 0) Windows virtual synthesizer will be used.
Top
Methods
  NameDescription
Public methodDispose
Closes the WinmmOut instance safely.
Top
See Also