Click or drag to resize
Orchestra Class
The Orchestra class creates and manages new instances of the instrument class.
Inheritance Hierarchy
SystemObject
  MidiGremlinOrchestra

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Orchestra

The Orchestra type exposes the following members.

Constructors
  NameDescription
Public methodOrchestra
Creates a new instance of the orchestra class. Needs a reference to an output class, which you can get by creating a new WinmmOut instance.
Top
Properties
  NameDescription
Public propertyInstruments
property of the instruments which is readonly
Top
Methods
  NameDescription
Public methodAddInstrument(InstrumentType, Int32)
Constructs a new instrument and adds it to the orchestra.
Public methodAddInstrument(InstrumentType, Scale, Int32)
Constructs a new instrument with a specified scale and adds it to the orchestra
Public methodCurrentTime
Returns the current time specified by the output class.
Public methodWaitForFinished
Blocks until the underlying IMidiOut have consumed all music
Top
See Also