问题
So I am using the react-native-audio
package to play preloaded audio files and capture the user's recorded audio. What I would like to do is convert the audio into some sort of data for visualization and analysis. There seems to be several options for web but not much in this direction specifically for React Native. How would I achieve this? Thank you.
回答1:
I've just bump with this post, I am building a React Native Waveform visualiser, still work in progres with the android side, but its working on the iOS side.
Pretty much is a port from WaveForm on IOS ,using Igor Shubin's solution.
You are very welcome to check out the code at https://github.com/juananime/react-native-audiowaveform
To try straight away:
npm react-native-audiowaveform --save
Cheers!
来源:https://stackoverflow.com/questions/33194943/react-native-audio-visualization