Closed subzero911 closed 2 years ago
You need a different package depending on where you read the waveform data from:
For 1, just_audio supports this on the visualizer
branch.
For 2, a quick search reveals mic_stream
For 3, try just_waveform.
I want (2) - to draw wave data live while audio is recording
You missed below that because I answered already:
For 2, a quick search reveals mic_stream
But how can stream from the microphone help me to draw it? just_waveform can draw only from file, not from stream.
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?
Okay, I see now. just_waveform extracts stream from the audio file And just_audio can draw it as a waveform, right?
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.
request