mingness / alternativesoundtrack

3 stars 0 forks source link

Improve timing of step sequencer #12

Open hamoid opened 8 years ago

hamoid commented 8 years ago

Don't use frameCount, but millis(). Otherwise beats are skipped and the rhythm is irregular. Think of a better approach for beat timing.

hamoid commented 8 years ago

Now using millis(), but not good enough because the check only happens on draw(). We need to set a proper timer, and probably use thread synchronization to avoid errors.