BoogieMonsta / quantumtracker

A keyboard operated tracker sequencer made with Vue 3 and Elementary Audio.
1 stars 0 forks source link

Update displayed steps in UI when sequence is changed programmatically #7

Open BoogieMonsta opened 2 years ago

BoogieMonsta commented 2 years ago

When activating/deactivating steps by clicking them in the interface, it updates the sequence accordingly, but the reverse isn't true

If I hard code a sequence to be [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0] it plays it back correctly as 1/8th notes, but on the interface I don't see the steps.

The binding between the steps displayed in the interface and their 1 or 0 counterpart inside their sequence must be made to go both ways.