Open jcblancomartinez opened 2 years ago
Perhaps you could recordToStream()
to a PCM stream.
You will get a stream of 16 bits integers for each sample rate and use those integers to draw your visualizer
@Larpoux Hi, Is it also possible to play the pcm file while recording using recordToStream?
Yes. You can look to the streamLoop example
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Is your feature request related to a problem? Please describe. There is no straight forward solution to display an audio visualizer while recording an audio.
Describe the solution you'd like I would like a straight forward solution to display an audio visualizer while recording an audio.
Describe alternatives you've considered
Instead of showing an audio visualizer, we are using a LinearProgressIndicator that consumes _dbLevel.
Additional context
This would be the expected audio visualizer of the recorded audio:
Thanks.