问题描述
因此,我正在使用react-native-audio
包来播放预加载的音频文件并捕获用户的录制音频.我想做的就是将音频转换为某种数据,以便进行可视化和分析. Web似乎有多种选择,但是在这个方向上没有太多专门针对React Native的选择.我将如何实现呢?谢谢.
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.
推荐答案
我只是对这篇文章感到震惊,我正在构建一个React Native Waveform可视化工具,仍然可以在android方面使用,但是它可以在iOS上使用一侧.
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.
使用Igor Shubin的解决方案,相当多的是 iOS上的WaveForm 的端口.
Pretty much is a port from WaveForm on IOS ,using Igor Shubin's solution.
非常欢迎您在 https://github.com/juananime中检出代码/react-native-audiowaveform
-
立即尝试:
To try straight away:
npm react-native-audiowaveform --save
干杯!
这篇关于反应本地音频可视化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!