now running smooth without memoization

This commit is contained in:
Felix Roos 2022-03-19 12:03:26 +01:00
parent 77fafd40fb
commit 61e81a4e60
8 changed files with 24 additions and 924 deletions

View file

@ -40,7 +40,7 @@ function useCycle(props: UseCycleProps) {
// schedule events for next cycle
events
?.filter((event) => event.part.begin.valueOf() === event.whole.begin.valueOf())
?.filter((event) => event.part.begin.equals(event.whole.begin))
.forEach((event) => {
Tone.getTransport().schedule((time) => {
const toneEvent = {