Skip to content

Demo Page #3

@eshaz

Description

@eshaz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions