Coder Social home page Coder Social logo

Comments (4)

thespice avatar thespice commented on May 25, 2024

What would be truly sick is if, when playing a live stream as opposed to a regular mp3 file, it would automatically switch the waveform display out for an animated spectrum analyzer instead. It could use the exact same settings (bar width, space, colour etc) as you define when you init the player. But instead of rendering the peaks it would hook in the webaudio api and render an animated spectrum display. :)

from waveplayer.

michaeldzjap avatar michaeldzjap commented on May 25, 2024

I have to think about this one for a bit. Since the waveform for a live radio stream is not completely known (you only know its history) it isn't even possible to render the true waveform of the live stream. You could of course render a faux waveform, but yeah, skipping the playback head then no longer makes sense.

It wouldn't be too hard to allow for loading a custom image instead, but I think this is going beyond what I initially envisioned waveplayer to be: a web based audio player with a waveform display. If you take the waveform display out of it, it is just an ordinary audio player essentially and I am sure there are quite a few of those around.

Regarding the spectrum analyzer idea. Yes, this would be cool, but again it goes beyond what I envisioned waveplayer to be in essence. Also, I'd have to think how this could be integrated cleanly within the current code base. A sort of API plugin system like wavesurfer offers would make this more easy, but this doesn't exist within waveplayer (although I have thought about implementing it in the past, as I really liked the idea). But this is a lot of work for a small library with a small following like this. I just don't have time for it at the moment unfortunately.

from waveplayer.

thespice avatar thespice commented on May 25, 2024

Thanks Michael, totally understand what you are saying with regards to time constraints and it being a project with a small user base. With that in mind would you consider some freelance work on a project that I'm developing? If so, please let me know how we can get in touch to discuss it further.

from waveplayer.

michaeldzjap avatar michaeldzjap commented on May 25, 2024

Sure, I'd be interested to hear more about this. I have quite a lot of other freelance work going at the moment, but I'm alway open to discuss new interesting projects.

from waveplayer.

Related Issues (12)

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.