Reputation: 53
Sorry to bother you, everyone. I'm currently developing an application in which I need to take an audio file and programmatically trim the audio file and save it, but I reached a dead-end when I couldn't find any modules online for audio manipulation. All online examples are for recording audio, but what I need is to access an audio file from storage and then trim it. Did anyone run through a similar experience and would be able to help me?
Thanks in advance!
Upvotes: 2
Views: 3358
Reputation: 275
Currently, there is no such package for react-native. But you can still use npm packages such as sox-audio or, audio-buffer-utils for audio manipulations.
Resources:
https://www.npmjs.com/package/audio-buffer-utils
https://www.npmjs.com/package/sox-audio
Upvotes: 2