mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-12 22:28:36 +00:00
Ignore continuous haps (those without a whole)
This commit is contained in:
parent
1f1b20041c
commit
b674014377
@ -39,7 +39,7 @@ function useCycle(props) {
|
||||
|
||||
// schedule events for next cycle
|
||||
events
|
||||
?.filter((event) => event.part.begin.equals(event.whole.begin))
|
||||
?.filter((event) => event.part.begin.equals(event.whole?.begin))
|
||||
.forEach((event) => {
|
||||
Tone.getTransport().schedule((time) => {
|
||||
onEvent(time, event, Tone.getContext().currentTime);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user