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

Viewing Spectrogram of Recording #4

Closed
2 tasks done
BryonLewis opened this issue Dec 21, 2023 · 1 comment
Closed
2 tasks done

Viewing Spectrogram of Recording #4

BryonLewis opened this issue Dec 21, 2023 · 1 comment
Assignees

Comments

@BryonLewis
Copy link
Collaborator

BryonLewis commented Dec 21, 2023

  • GET /recording/{id}/spectrogram
    • Gets the spectrogram image data (either Base64 or binary numerical information)
    • Has options for logarithmic vs linear scaling
    • Will expose other options that are given to me from the code used to generate the spectrogram
    • Should be done in a request call fairly quickly
    • If options are low, I will cache the image in minio/S3 so it can be used directly with a pre-signed url
  • Client Side Work
    • From the list of annotations a way to select one for annotating will take us to new route to display the spectrogram
    • Route being /recording/{id}/spectrogram for the client
    • GeoJS webGL interface that renders the spectrogram on the screen
    • GeoJS enable Zooming and Panning of the image
    • D3 is utilized to automatically generate a proper axis that scales with the system
      • This includes a frequency vertical axis that is either linear or logarithmic
    • X/Y readout of current offset milliseconds and frequency point in the corner someplace
@BryonLewis
Copy link
Collaborator Author

#13 This PR closes most of this except for the D3 X/Y scaling for the image.

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