 | ChordVarietyWithBaseTone Method (Tone, Double) |
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
)
Public Function WithBaseTone (
tone As Tone,
duration As Double
) As MusicObject
public:
MusicObject^ WithBaseTone(
Tone tone,
double duration
)
member WithBaseTone :
tone : Tone *
duration : float -> MusicObject
Parameters
- tone
- Type: MidiGremlinTone
An enum value depicting the root of the chord. - duration
- Type: SystemDouble
The duration of the chord.
Return Value
Type:
MusicObjectA single chord with the given root tone.
See Also