This repo needs a demo page that can show the capabilities of this library. Also it will be helpful for testing. ## Demo flows 1. Test correlation of a single clip - [ ] One clip will be uploaded and decoded to create the base clip - [ ] User will select the offset to split the decoded audio to create the comparison clip - [ ] The sync point will be determined and compared against the actual sync point 1. Test correlation of two clips - [x] Two clips will be uploaded and decoded. - [x] User will have ability to select which clips are used for the base and the comparison - [x] The sync point will be determined between the two clips ## Features - [x] Ability to configure `SynAudio` options - [x] Ability to sync using `sync`, `syncWorker`, `syncWorkerConcurrent` - [ ] Ability to upload or use URL for audio clips - [x] Upload - [ ] URL - [ ] May be a streaming audio URL. - [ ] User may stop loading audio at any time. - [ ] Audio should have a size limit since everything will be stored in memory. Maybe 10MB of compressed audio? - [x] Audio clips will be decoded using `decodeAudioData` - [x] Sync point Display - [x] FFTs of both clips, aligned based on correlation offset - [x] Maybe FFT can be calculated in a webworker? - [x] Correlation coefficient - [x] Sample offset in samples and seconds
This repo needs a demo page that can show the capabilities of this library. Also it will be helpful for testing.
Demo flows
Features
SynAudiooptionssync,syncWorker,syncWorkerConcurrentdecodeAudioData