now running smooth without memoization
This commit is contained in:
parent
77fafd40fb
commit
61e81a4e60
8 changed files with 24 additions and 924 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue