react-native-audio-api
provides system for controlling audio in React Native environment compatible with Web Audio API specification,
allowing developers to generate and modify audio in exact same way it is possible in browsers.
-
Install
react-native-audio-api
library# using npm npm install react-native-audio-api # or using yarn yarn add react-native-audio-api
react-native-audio-api
contains native custom code and isn't part of the Expo Go application. In order to be available in expo managed builds, you have to use Expo development build. Simplest way on starting local expo dev builds, is to use:
# Build native iOS project
npx expo run:ios
# Build native Android project
npx expo run:android
To learn more about expo development builds, please check out Development Builds Documentation.
Check out our dedicated documentation page for info about this library, API reference and more: https://software-mansion-labs.github.io/react-native-audio-api/
You can also check out MDN Web Docs for fully detailed description of the audio api.
Our current coverage of Web Audio API specification can be found here: Web Audio API coverage.
The source code for the example application is under the /apps/common-app
directory. If you want to play with the API but don't feel like trying it on a real app, you can run the example project. Check Example README for installation instructions.
We are open to new ideas and general feedback. If you want to share your opinion about react-native-audio-api
or have some thoughts about how it could be further developed, don't hesitate to create an issue or contact the maintainers directly.
react-native-audio-api library is licensed under The MIT License. Some of the source code uses implementation directly copied from Webkit and copyrights are held by respective organizations, check COPYING file for further details
This project has been built and is maintained thanks to the support from Software Mansion
Join the Software Mansion Community Discord to chat about React Native Audio API or other Software Mansion libraries.
Since 2012 Software Mansion is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – Hire us.