addNote
Description​
Adds a note to the generated midi file
- JavaScript
- C#
- Kotlin
addNote(track: number, start: number, length: number, key: number, velocity: number, channel: number): voidvoid AddNote(double track, double start, double length, double key, double velocity, double channel)fun addNote(track: Double, start: Double, length: Double, key: Double, velocity: Double, channel: Double): Unit| Parameter | Summary | 
|---|---|
| trackAll | The midi track on which the note should be played. | 
| startAll | The midi ticks when the note should start playing. | 
| lengthAll | The duration the note in midi ticks. | 
| keyAll | The key of the note to play | 
| velocityAll | The velocity which should be applied to the note (derived from the note dynamics). | 
| channelAll | The midi channel on which the note should be played. |