Interface IMusicalObject
Musical objects that can be played.
Namespace: Melanchall.DryWetMidi.Interaction
Assembly: Melanchall.DryWetMidi.dll
Syntax
public interface IMusicalObject
Properties
Channel
Gets the channel which should be used to play an object.
Declaration
FourBitNumber Channel { get; }
Property Value
| Type | Description |
|---|---|
| FourBitNumber |
Remarks
Channel is a zero-based number in DryWetMIDI, valid values are from
0 to 15.
Other libraries and software can use one-based channel numbers (i.e.from 1
to 16) so be aware about that: channel 10 in such software will be 9
in DryWetMIDI.