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

Move spectrogram generation to clientside javascript #191

Open
mmcauliffe opened this issue May 10, 2019 · 0 comments
Open

Move spectrogram generation to clientside javascript #191

mmcauliffe opened this issue May 10, 2019 · 0 comments
Labels
inspection related to detail/inspection view (wav file, spectrogram, etc.) low priority optimization UI user-interface-related

Comments

@mmcauliffe
Copy link
Member

Currently spectrogram generation is done server side once per utterance, which has the following effects:

  • Time resolution on zoom is poor (1000 time steps per utterance)
  • Implementation of any spectrogram settings changes would require a server request
  • Potential bottleneck for many users looking at items on a single server

There exist libraries for FFT in javascript that could be used to calculate spectrograms clientside on the fly as needed, leading to better time resolution and more responsive browsing.

@mmcauliffe mmcauliffe added UI user-interface-related low priority optimization inspection related to detail/inspection view (wav file, spectrogram, etc.) labels May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inspection related to detail/inspection view (wav file, spectrogram, etc.) low priority optimization UI user-interface-related
Projects
None yet
Development

No branches or pull requests

1 participant