简体   繁体   English

反应本机音频可视化

[英]React Native Audio Visualization

So I am using the react-native-audio package to play preloaded audio files and capture the user's recorded audio. 所以我使用react-native-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. 对于网络似乎有几种选择,但在这方面并没有特别针对React Native。 How would I achieve this? 我怎么做到这一点? Thank you. 谢谢。

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. 我刚刚发布了这篇文章,我正在构建一个React Native Waveform可视化工具,仍在使用android方面的progres工作,但它的工作在iOS方面。

Pretty much is a port from WaveForm on IOS ,using Igor Shubin's solution. 使用Igor Shubin的解决方案,几乎是来自IOS的WaveForm的端口。

You are very welcome to check out the code at https://github.com/juananime/react-native-audiowaveform 非常欢迎您访问https://github.com/juananime/react-native-audiowaveform查看代码。

  1. To try straight away: 立即尝试:

     npm react-native-audiowaveform --save 

Cheers! 干杯!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM