Open xavierfav opened 6 years ago
I have tried some stuff using the rhythm.onset_times descriptor given by Freesound API. It appears that the time does not correspond to the onset we visualise on the printed waveform. It needs to be more investigated to know where this comes from.
It appears that there is a bug under Firefox. The samples loaded have a silence at the beginning of the buffer which make the onset times being not aligned across different browsers.
It would be nice to check if this bug has been previously identified, and see how we could fix it.
We found out that using ogg files does not bring this issue. So now we use ogg files...
It would be nice to automatically set the start time of the sampler of each track on the first onset in the corresponding audio clip. The Freesound API allows to retrieve the onset values, so it is quite simple to implement.