Git Product home page Git Product logo

waveformtimeline's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

achyun g3kappa

waveformtimeline's Issues

UWP Version

Was wondering if you would be interested in a UWP version of your control? I can help the process along, I just don't have the time to do all the work. That said, I can bootstrap most of the UWP side of things.

No way to update the cues from code and have them updated in UI

The start and end cues (see the Curtains component) are typically set by the DJ. However, one might also want to update them from code, e.g. by analyzing the leading and trailing silence in a track.

Currently, if one were to make such change, it would not propagate to the UI.

Sample request

I'm having doubts on how to implement the contracts.
For example:

  • IAudioWaveformStream's ctor requires an IObserver<float>, what should this stream of floats represent?
  • what should IAudioWaveformStream.Waveform(int resolution)'s method's implementation do?

It would be very useful if you could provide a sample app :D

Thank you in advance

Rendering issues with short waveforms

Hi! Thank you for making this project available, it's been a real life saver so far. I had to make a few tweaks here and there, but nothing major, everything works very well and the samples were a great starting point for integrating this component into my NAudio-based app.

Well, except this one thing. The timeline works fine when the waveform at the current resolution exceeds the available rendering width. And this is pretty much always the case for songs. Those are zoomed out automatically to fit within the available space.

immagine

But when it comes to shorter audio clips, like samples and sound effects, which are in the order of a few seconds, everything kind of breaks:

immagine

  • The timeline stops working, only occasionally showing the 00:00 mark and no other numbers, even when the audio is longer than 1 second.
  • The waveform is not stretched to fit, and is barely visible at the default resolution of 8000
  • The semitransparent overlay that indicates the current playback position desyncs with the waveform, always going from the leftmost point to the rightmost point of the viewport even if visually there's nothing there

I've tried to guesstimate this scaling factor with scarce results, as I'm not even sure where I should be doing the calculation unfortunately...

I've also tried to just zoom in, but the same problem persists because it's scaling the entire viewport, including the silence at the end, so the playback indicator desyncs even more.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.