
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
react-native-audio-api
Advanced tools
react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification
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.
check out the Getting Started section of our documentation for detailed instructions!
DynamicCompressorNode γ½οΈ
Reduce the volume of loud sounds and boost quieter nodes to balance the audio signal, avoid clipping or distorted sounds
Audio tag π·οΈ
Simple ability to play and buffer audio, with all of the most commonly used functions, same as on the web, without the need to create and manipulate an audio graph.
MIDI support πΈ
Complementary lib for react-native-audio-api, that will allow to communicate with MIDI devices or read/write MIDI files.
Spatial Audio π’οΈ
manipulate audio in 3D space
Noise Cancellation π¦
System-based active noise and echo cancellation support
Decoding and utility modules π§
Decode and modify audio data without the need to create AudioContext first through a set of utility classes
Convolver Node π
Realistic reverb and spatial effects in the browser by applying impulse responses. It makes audio sound like itβs being played in real spaces, from small rooms to cathedrals, or through hardware like amps and speakers
JS Audio Worklets V2 π
Customize the process pipeline with JS functions running on audio thread.
Decoding support for m4a/mp4/aac/ogg/opus π
Decode m4a/mp4/aac/ogg/opus audio files, allowing for playback of these formats in the audio graph.
HLS streaming support π
Stream audio from HLS sources, allowing for playback of live audio streams or pre-recorded audio files.
Microphone support ποΈ
Grab audio data from device microphone or connected device, connect it to the audio graph or stream through the internet.
Custom Audio Processor βοΈ
Write your own processing AudioNode.
See more in Changelog
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 utilizes FFmpeg binaries. Copyrights are held by respective organizations, check THIRD_PARTY 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.
FAQs
react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification
The npm package react-native-audio-api receives a total of 6,856 weekly downloads. As such, react-native-audio-api popularity was classified as popular.
We found that react-native-audio-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: whatβs affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.