MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / addNote

Method addNote

packages/alphatab/src/midi/IMidiFileHandler.ts:33–33  ·  view source on GitHub ↗

* Adds a note to the generated midi file * @param track The midi track on which the note should be played. * @param start The midi ticks when the note should start playing. * @param length The duration the note in midi ticks. * @param key The key of the note to play * @param

(track: number, start: number, length: number, key: number, velocity: number, channel: number)

Source from the content-addressed store, hash-verified

31 * @param channel The midi channel on which the note should be played.
32 */
33 addNote(track: number, start: number, length: number, key: number, velocity: number, channel: number): void;
34
35 /**
36 * Adds a control change to the generated midi file.

Callers 15

addDrumHitMethod · 0.65
Beat.test.tsFile · 0.65
readNoteMethod · 0.65
_parseHeadMethod · 0.65
ensureBeatMethod · 0.65
_noteMethod · 0.65
setPropertyMethod · 0.65
_generateDeadSlapMethod · 0.65
_generateNoteMethod · 0.65
_generateOrnamentMethod · 0.65
_generateRasgueadoMethod · 0.65

Implementers 2

FlatMidiEventGeneratorpackages/alphatab/test/audio/FlatMidiE
AlphaSynthMidiFileHandlerpackages/alphatab/src/midi/AlphaSynthM

Calls

no outgoing calls

Tested by

no test coverage detected