Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo Page #3

Open
12 of 20 tasks
eshaz opened this issue Jul 15, 2022 · 0 comments
Open
12 of 20 tasks

Demo Page #3

eshaz opened this issue Jul 15, 2022 · 0 comments

Comments

@eshaz
Copy link
Owner

eshaz commented Jul 15, 2022

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
  2. Test correlation of two clips
    • Two clips will be uploaded and decoded.
    • User will have ability to select which clips are used for the base and the comparison
    • The sync point will be determined between the two clips

Features

  • Ability to configure SynAudio options
  • Ability to sync using sync, syncWorker, syncWorkerConcurrent
  • Ability to upload or use URL for audio clips
    • 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?
  • Audio clips will be decoded using decodeAudioData
  • Sync point Display
    • FFTs of both clips, aligned based on correlation offset
      • Maybe FFT can be calculated in a webworker?
    • Correlation coefficient
    • Sample offset in samples and seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant