Minor Changes
-
318749a: PianoRoll: scales and note edits.
@audio-ui/core/pitchgets the scales (SCALES,inScale,nearestInScale,scalePitchClasses), and@audio-ui/core/piano-rollthe edits a toolbar or a menu applies to a selection:splitNotes(at a time, or at every grid line to chop),chopNotes,joinNotes,legatoNotes,reverseNotes,invertNotes,stretchNotes,fitNotesToScale,rampVelocityandhumanizeNotes. The roll takes ascale, marking its rows withdata-in-scale, andfolded="scale"keeps only those rows and the ones carrying notes.PianoRoll: a note can be deactivated (
muted) and given achanceto play, shown asdata-mutedon a note and its velocity bar and as the--piano-roll-chanceCSS variable;toggleMuted,setChanceandselectionSpango with them. The root says when notes are selected (data-has-selection), and the newPianoRoll.SelectionSpanshades the time the selection covers in the grid, the velocity lane or a ruler.PianoRoll: the velocity lane takes a
level("velocity" or "chance") so the same bars edit each note's chance, and in draw mode a drag across it paints the bars to the pointer's height; Cmd/Ctrl + drag on a velocity bar sets the note's newdeviation, shown as--piano-roll-deviation.drawStyle="paint"paints a note per grid cell as the pointer drags, on the first pitch with Alt.PianoRoll.StretchHandle, inside aSelectionSpan, stretches the selection in time. Core addschangeLevel,setDeviation,deleteTime,insertTime,duplicateTimeandfindNotes, andstretchNotestakes an anchor. The roll's Cmd/Ctrl shortcuts leave Shift combinations to the editor around it.
Patch Changes
- Updated dependencies [318749a]
- @audio-ui/core@0.12.0