 | InstrumentPlay Method (Double, MusicObject) |
Plays the MusicObject at the given start time, using this instrument.
Start time is measured in beats from the start of the music. Get the curent time by calling CurrentTime from the orchestra.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void Play(
double startTime,
MusicObject music
)
Public Sub Play (
startTime As Double,
music As MusicObject
)
public:
void Play(
double startTime,
MusicObject^ music
)
member Play :
startTime : float *
music : MusicObject -> unit
Parameters
- startTime
- Type: SystemDouble
The moment when the music should play. - music
- Type: MidiGremlinMusicObject
The music to play.
See Also