biggestT / toney

online chinese tone helper
1 stars 4 forks source link

Soundfile playback not working properly #1

Closed biggestT closed 11 years ago

biggestT commented 11 years ago

The first time the soundfile plays is works but when trying to replay it either doesn't play, does play but no line or it plays with line drawing. Might have to do with the ugly setTimeout hack in toneModel initialize function

biggestT commented 11 years ago

Sometimes still not working when paused and then played again

biggestT commented 11 years ago

Tried to apply callback function when audio element fires 'canplay' without success. Seems to work most of the times now. Might be that audio sometimes start playing before the audio graph has had time to been properly set up?