Ignore continuous haps (those without a whole)
This commit is contained in:
parent
1f1b20041c
commit
b674014377
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue