![]() | Instrument Class |
Namespace: MidiGremlin
The Instrument type exposes the following members.
Name | Description | |
---|---|---|
![]() | InstrumentType | The instrument sound that will be used when playing MusicObjects from this instance. |
![]() | Octave | The octave(from the middle octave) that the instrument plays in. |
![]() | Scale | The scale that the instrument plays in. This is only used by MIDI Gremlin when playing chords. |
Name | Description | |
---|---|---|
![]() | Play(MusicObject) |
Plays the MusicObject using this instrument.
|
![]() | Play(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.
|
![]() | Play(Tone, Double, Byte) |
Plays a tone with duration and velocity specified.
|
![]() | Play(Double, Tone, Double, Byte) |
Plays a tone with duration, velocity and start-time specified.
Time is measured in beats from the start of the music. Get the curent time by calling CurrentTime from the orchestra.
|