Describe the bug
I'm not sure how to use preloaded audio blob. but after I set the blob with setPreloadedAudioBlob method.
I could not find a method for just playing the blob. so I used the audioRef from useVoiceVisualizer and try to do audioRef.current?.play().
the voice played ok. but progress indicator dose not animate to the end as sound was playing.
basically currentAudioTime is always 0.
Great Library by the way, thank you in advanced.
Expected behavior
I wish we have a play method that can sync the Progress bar with the audio.
Screenshots
Package info (please complete the following information):
version: "react-voice-visualizer": "^2.0.2",
Additional context
default ui buttons works fine, but i need a solution for designing my own how can I play the audio like so I can play the audio and animate the indicators at the same time.
Describe the bug I'm not sure how to use preloaded audio blob. but after I set the blob with
setPreloadedAudioBlob
method. I could not find a method for just playing the blob. so I used theaudioRef
fromuseVoiceVisualizer
and try to doaudioRef.current?.play()
. the voice played ok. but progress indicator dose not animate to the end as sound was playing.currentAudioTime
is always0
.Great Library by the way, thank you in advanced.
Expected behavior I wish we have a play method that can sync the Progress bar with the audio.
Screenshots
Package info (please complete the following information):
Additional context default ui buttons works fine, but i need a solution for designing my own how can I play the audio like so I can play the audio and animate the indicators at the same time.