question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FR] Show waveform for audio files in the ArtifactViewer

See original GitHub issue

Willingness to contribute

Yes. I can contribute this feature independently.

Proposal Summary

For browser playback-supported audio files that are logged as artifacts, the MLflow ArtifactViewer should display a way to playback the audio file accompanied with a waveform visualized.

Motivation

What is the use case for this feature?

Researchers in things like text to speech or music information retrieval can quickly debug issues in their model’s generated files from the waveform visualization.

Why is this use case valuable to support for MLflow users in general?

Visualizing the audio artifacts’ waveforms in MLflow helps in spending less time downloading artifacts to view properties about them in other programs like digital audio workstations.

Why is this use case valuable to support for your project(s) or organization?

I am doing research in the audio domain with collaborators at school and it could save us the hassle of not having to remember where we placed all of our generated audio files and know we can always play them back in our experiments.

Why is it currently difficult to achieve this use case?

No major difficulties.

Details

  • Can use the wavesurfer.js library for easy integration
  • Instead of building a full media playback control component, a play/pause button and a timecode will suffice
  • Can handle position the audio playhead by clicking the waveform directly

EDIT: I did not mean to cover the artifact URI and file size label in my mockup. My idea is to have the play/pause button and timecode below the label that shows the URI and file size.

mlflow audio mockup

What component(s) does this bug affect?

  • area/artifacts: Artifact stores and artifact logging
  • area/build: Build and test infrastructure for MLflow
  • area/docs: MLflow documentation pages
  • area/examples: Example code
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/pipelines: Pipelines, Pipeline APIs, Pipeline configs, Pipeline Templates
  • area/projects: MLproject format, project running backends
  • area/scoring: MLflow Model server, model deployment tools, Spark UDFs
  • area/server-infra: MLflow Tracking server backend
  • area/tracking: Tracking Service, tracking client APIs, autologging

What interface(s) does this bug affect?

  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server
  • area/docker: Docker use across MLflow’s components, such as MLflow Projects and MLflow Models
  • area/sqlalchemy: Use of SQLAlchemy in the Tracking Service or Model Registry
  • area/windows: Windows support

What language(s) does this bug affect?

  • language/r: R APIs and clients
  • language/java: Java APIs and clients
  • language/new: Proposals for new client languages

What integration(s) does this bug affect?

  • integrations/azure: Azure and Azure ML integrations
  • integrations/sagemaker: SageMaker integrations
  • integrations/databricks: Databricks integrations

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dbczumarcommented, Aug 11, 2022

Hi @nnethery, this sounds like a great extension for the artifact viewer. Feel free to file a PR whenever it’s convenient, and we’d be very excited to review it.

cc @xanderwebs @sunishsheth2009

1reaction
torakyuncommented, Oct 18, 2022

Hello. Hope you are doing well! This extension is great so I would like to use asap. Is there any update or a plan to release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display audio in the Waveform Editor with Adobe Audition
In the Waveform Editor, the Editor panel provides a visual representation of sound waves. Below the panel's default waveform display, ...
Read more >
Osc waveform artifacts - Image Line forum - FL Studio
B_man_6 wrote: I am a little behind on updating FL Studio to 20.1, so I could not open your project. What I did...
Read more >
artifacts when mixing wav files with libsndfile - Stack Overflow
This is not a libsndfile issue. This is a general audio synthesis question. Whenever you truncate a sample to an arbitrary value (e.g., ......
Read more >
Audacity Manual
Audacity Foundations · Waveform view · Spectrogram view · Multi-view · Track Control Panel and Vertical Scale · Label Tracks.
Read more >
Music Source Separation in the Waveform Domain
we observed artifacts when listening to the generated audio: a constant ... (b) Detailed view of the layers Decoderi on the top and....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found