react-native-audio-waveform
react-native-audio-waveform copied to clipboard
Can you add API for wave array (array of number that represent the wave) ?
trafficstars
I need the hook of useAudioPlayer in src/hooks/useAudioPlayer.tsx
they have extractWaveformData
what i need is the hook can be accessed via import like this
import { useAudioPlayer } from "@simform_solutions/react-native-audio-waveform"
Thanks for making this amazing library
Can you please elaborate more on this? Why actually do you need that hook exported globally or what information do you need?
i need the wave data to perform audio analysis
Can you please elaborate more on this? Why actually do you need that hook exported globally or what information do you need?
Hello, in my case need prepare button MUTE.
import { useAudioPlayer } from '@simform_solutions/react-native-audio-waveform/lib/hooks'
const { getDuration, setVolume } = useAudioPlayer()
const volume = await setVolume({
playerKey: `PlayerFor${path}`,
volume: 0,
})
but when unmute I don't know prev. volume value)