 | SingleBeatWithChannel Constructor |
Creates a new instance of SingleBeat with the specified properties.
Namespace: MidiGremlin.InternalAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic SingleBeatWithChannel(
InstrumentType instrumentType,
byte tone,
byte toneVelocity,
double toneStartTime,
double toneEndTime,
byte channel
)
Public Sub New (
instrumentType As InstrumentType,
tone As Byte,
toneVelocity As Byte,
toneStartTime As Double,
toneEndTime As Double,
channel As Byte
)
public:
SingleBeatWithChannel(
InstrumentType instrumentType,
unsigned char tone,
unsigned char toneVelocity,
double toneStartTime,
double toneEndTime,
unsigned char channel
)
new :
instrumentType : InstrumentType *
tone : byte *
toneVelocity : byte *
toneStartTime : float *
toneEndTime : float *
channel : byte -> SingleBeatWithChannel
Parameters
- instrumentType
- Type: MidiGremlinInstrumentType
The type of instrument that should be playing the music - tone
- Type: SystemByte
MIDI note number. See this chart:http://www.tonalsoft.com/pub/news/pitch-bend.aspx - toneVelocity
- Type: SystemByte
Velocity of the note. - toneStartTime
- Type: SystemDouble
Start time of the note. - toneEndTime
- Type: SystemDouble
End of the note. - channel
- Type: SystemByte
The channel to play from.
See Also