can now have multiple triggers
+ Pattern.log now makes sense
This commit is contained in:
parent
27fb2d2d5b
commit
ff5d14fb63
9 changed files with 32 additions and 22 deletions
|
|
@ -22,7 +22,6 @@ function useHighlighting({ view, pattern, active, getTime }) {
|
|||
highlights.current = highlights.current.concat(haps); // add potential new onsets
|
||||
view.dispatch({ effects: setHighlights.of(highlights.current) }); // highlight all still active + new active haps
|
||||
} catch (err) {
|
||||
// console.log('error in updateHighlights', err);
|
||||
view.dispatch({ effects: setHighlights.of([]) });
|
||||
}
|
||||
frame = requestAnimationFrame(updateHighlights);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue