JSPM

react-native-audio-api

0.4.12
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30390
  • Score
    100M100P100Q175859F
  • License MIT

react-native-audio-api provides system for controlling audio in React Native environment compatible with Web Audio API specification

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-audio-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    React Native Audio API

    React Native Audio API

    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.

    Installation

    1. Install react-native-audio-api library

      # using npm
      npm install react-native-audio-api
      
      # or using yarn
      yarn add react-native-audio-api

    Usage with expo

    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.

    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.

    Coverage

    Our current coverage of Web Audio API specification can be found here: Web Audio API coverage.

    Examples

    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.

    Your feedback

    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.

    License

    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

    Credits

    This project has been built and is maintained thanks to the support from Software Mansion

    swm

    Community Discord

    Join the Software Mansion Community Discord to chat about React Native Audio API or other Software Mansion libraries.

    react-native-audio-api is created by Software Mansion

    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.