 | ChordVarietyWithBaseTone Method (Tone, Double, Byte) |
Creates a new muisc object which represents a chord with a given duration and velocity, using a tone as the value of the root.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic MusicObject WithBaseTone(
Tone tone,
double duration,
byte velocity
)
Public Function WithBaseTone (
tone As Tone,
duration As Double,
velocity As Byte
) As MusicObject
public:
MusicObject^ WithBaseTone(
Tone tone,
double duration,
unsigned char velocity
)
member WithBaseTone :
tone : Tone *
duration : float *
velocity : byte -> MusicObject
Parameters
- tone
- Type: MidiGremlinTone
An enum value depicting the root of the chord. - duration
- Type: SystemDouble
The duration of the chord. - velocity
- Type: SystemByte
The velocity of the chord.
Return Value
Type:
MusicObjectA single chord with the given root tone.
See Also