GithubHelp home page GithubHelp logo

Comments (7)

ryanheise avatar ryanheise commented on July 1, 2024

You need a different package depending on where you read the waveform data from:

  1. If you want to draw a waveform while audio is playing, you need that feature supported by your audio player package so that you can read the wave data live.
  2. If you want to draw a waveform while audio is recording, you need that feature supported by your audio recorder package so that you can read wave data live.
  3. If you want to draw a waveform from an audio file, then you need a package to provide waveform data from a file source (i.e. this package).

For 1, just_audio supports this on the visualizer branch.
For 2, a quick search reveals mic_stream
For 3, try just_waveform.

from just_waveform.

subzero911 avatar subzero911 commented on July 1, 2024

I want (2) - to draw wave data live while audio is recording

from just_waveform.

ryanheise avatar ryanheise commented on July 1, 2024

You missed below that because I answered already:

For 2, a quick search reveals mic_stream

from just_waveform.

subzero911 avatar subzero911 commented on July 1, 2024

But how can stream from the microphone help me to draw it?
just_waveform can draw only from file, not from stream.

from just_waveform.

ryanheise avatar ryanheise commented on July 1, 2024

No, just_waveform does not draw anything. What gave you that idea? I also said you need a different package. I thought my previous answer was pretty clear, so can you read it again? It is clear that you need a different package isn't it?

from just_waveform.

subzero911 avatar subzero911 commented on July 1, 2024

Okay, I see now.
just_waveform extracts stream from the audio file
And just_audio can draw it as a waveform, right?

from just_waveform.

ryanheise avatar ryanheise commented on July 1, 2024

just_waveform extracts stream from the audio file

Yes.

And just_audio can draw it as a waveform, right?

No. just_audio is an audio player. It doesn't draw anything. You are making the same assumption again that a certain package draws something. All 3 types of packages in my list above provide access to audio data but from 3 different sources. It is up to you to draw it yourself.

I will close this issue since at the moment you are no longer asking about something that my package is responsible for.

from just_waveform.

Related Issues (20)

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.