Wasm Js Piano Roll Session
Properties
Functions
Link copied to clipboard
A move drag works from the notes as they were when it began, so each update re-applies one delta rather than accumulating rounding. The session holds that snapshot: say when the drag starts, how far it has moved, and whether it ended or was cancelled.
Link copied to clipboard
Link copied to clipboard
open override fun createNote(startSeconds: Double, durationSeconds: Double, note: Int, velocity: Float)
Link copied to clipboard
Link copied to clipboard
open override fun finishDrag(index: Int, originalStart: Double, originalEnd: Double, originalNote: Int)
Link copied to clipboard
Link copied to clipboard
Whether this session was built from that snapshot's UMP stream. False means the clip changed underneath and the session must be reloaded — which is what stops an edit being applied to a clip it was not made against.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
index -1 clears the selection.