velocities, positions, pitches, durations return the respective property when given some
Other functions follow:
notes for the given amount of
ticks. Also works for a single note.
notes by the given amount of
semitones. Also works for a single note.
Change the velocity of the notes by
v (which could also be negative). Also works for a single note.
repeat(notes, i = 1)
i times, by successively adding duplicates of
notes shifted by the total duration of
notes. Return a single
Notes container for convenience.
The function assumes that notes are
In-place sort the
notes by their temporal position. Use
timesort for a non-mutating version.
And for getting default notes:
Return the path to a test MIDI file.
Return a test set of human-played MIDI notes on the piano.
randomnotes(n::Int, tpq = 960)
Generate some random notes that start sequentially.