You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like when you use a Tempo object to keep time, it calls start multiple times with the same count for steps 0 and 1.
Here's some code to reproduce - assumes you've got a space defined somewhere.
const tempo = new Tempo(120);
tempo.every(2).start((count) => {
console.log('on start: ', count);
});
space.add(tempo);
space.play()
I'm expecting the start function to be called once every two beats, but instead, I'm seeing an 'on start: count' message multiple times per beat. The console.log message is just printing out the same value over and over until the count changes.
The text was updated successfully, but these errors were encountered:
It looks like when you use a Tempo object to keep time, it calls start multiple times with the same count for steps 0 and 1.
Here's some code to reproduce - assumes you've got a space defined somewhere.
I'm expecting the start function to be called once every two beats, but instead, I'm seeing an 'on start: count' message multiple times per beat. The console.log message is just printing out the same value over and over until the count changes.
The text was updated successfully, but these errors were encountered: