Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/react-native-audio-toolkit/react-native-audio-toolkit
Cross-platform audio library for React Native
https://github.com/react-native-audio-toolkit/react-native-audio-toolkit
audio-library cross-platform reactnative
Last synced: 4 days ago
JSON representation
Cross-platform audio library for React Native
- Host: GitHub
- URL: https://github.com/react-native-audio-toolkit/react-native-audio-toolkit
- Owner: react-native-audio-toolkit
- License: mit
- Created: 2016-06-27T07:13:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-07T19:23:44.000Z (12 months ago)
- Last Synced: 2025-01-11T11:06:38.165Z (11 days ago)
- Topics: audio-library, cross-platform, reactnative
- Language: Objective-C
- Homepage:
- Size: 898 KB
- Stars: 1,059
- Watchers: 21
- Forks: 375
- Open Issues: 152
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-react-native - react-native-audio-toolkit ★764 - Audio playback and recording for react-native. In addition to basic functionality, many useful features are implemented such as seeking, looping and streaming audio files over the network. (Components / Media)
README
![banner](/banner.png)
[![npm version](https://badge.fury.io/js/%40react-native-community%2Faudio-toolkit.svg)](https://badge.fury.io/js/%40react-native-community%2Faudio-toolkit)
This is a cross-platform (Android and iOS) audio library for React Native.
Both audio playback and recording is supported. In addition to basic
functionality, many useful features are implemented such as seeking,
looping and streaming audio files over the network.An example how to use this library is included in the [ExampleApp](/ExampleApp)
directory. The demo showcases most of the functionality that is available, with
documentation under [docs](/docs). In the simplest case, playing media is as
easy as:```js
new Player('filename.mp4').play();
```and recording media to filename.mp4 similarly
```js
new Recorder(‘filename.mp4’).record();
```How to get this stuff running?
------------------------------* For a quick test drive, check out the [demo application](/ExampleApp)
* [Include the library](/docs/SETUP.md) in your projectDocumentation
-------------* Find the API documentation [here](/docs/API.md)
* Examples on playback from various [media sources](/docs/SOURCES.md)
* Notes on [developing the library itself](/docs/DEVELOPING.md)
* Rough [state diagram](/docs/state_diagram.svg) of the [Player](src/Player.js)
* View the [changelog](/CHANGELOG.md)License
-------All JavaScript, Android and iOS code licensed under MIT license, see LICENSE
file. Some of the files are from React Native templates and are licensed
accordingly.