react-native-sound

React Native module for playing sound clips on iOS, Android, and Windows.

There are a series of basic test for different audio formats and locations. Each will have 'tick' next to it if the test succeeds.

We should make sure all the tests are tried out before releasing a new version of the library to npm.

react-native-sound-demo

Feature matrix

Feature iOS Android Windows
Load sound from the app bundle
Load sound from other directories
Load sound from the network
Play sound
Playback completion callback
Pause
Resume
Stop
Reset
Release resource
Get duration
Get number of channels
Get/set volume
Get/set system volume
Get/set pan
Get/set loops
Get/set current time
Set speed

Installation

First install the npm package from your app directory:

npm install react-native-sound --save

Then link it automatically using:

react-native link react-native-sound

Manual Installation Notes

Please see the Wiki for these details https://github.com/zmxv/react-native-sound/wiki/Installation

Help with React-Native-Sound

  • For react-native-sound developers Gitter chat
  • For help using react-native-sound Gitter chat

GitHub