 | WinmmOut Constructor |
Creates a new instance of the WinmmOut class which opens a MIDI port at the specified device ID.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic WinmmOut(
uint deviceID,
int beatsPerMinutes = 60
)
Public Sub New (
deviceID As UInteger,
Optional beatsPerMinutes As Integer = 60
)
public:
WinmmOut(
unsigned int deviceID,
int beatsPerMinutes = 60
)
new :
deviceID : uint32 *
?beatsPerMinutes : int
(* Defaults:
let _beatsPerMinutes = defaultArg beatsPerMinutes 60
*)
-> WinmmOut
Parameters
- deviceID
- Type: SystemUInt32
The underlaying hardware port used to play music.
Windows should have a built-in virtual synthesizer as device 0.
The next port(if available) will be port 1 and so on. - beatsPerMinutes (Optional)
- Type: SystemInt32
Specifies the length of a beat, which is the unit of time used throughout MIDI Gremlin.
If left at 60, a beat will be the same as a second.
See Also