pganssle / cim

Chord Identification Method Trainer
https://pganssle.github.io/cim/
Apache License 2.0
6 stars 3 forks source link

Audio doesn't play automatically if chord trainer selects the exact same file twice in a row #10

Open pganssle opened 1 year ago

pganssle commented 1 year ago

Not sure why, but occasionally the audio doesn't play automatically when you hit "next", and I've noticed that that only happens when the answer is ithe same as the previous one, so I suspect that what's happening is that if it picks the same color and then the same file twice in a row, the hidden <audio> tag is in some "I've just been played" state, nothing changes, and it doesn't automatically trigger playing.

We should fix this.