react-native-soundboard
react-native-soundboard copied to clipboard
Soundboard-app built with react-native
react-native-soundboard
A Soundboard written in React-Native and redux-saga.
Example Screen
Here's an example of the soundboard-app, obviously with cat-tax:

Install
- Run
npm installto install all deps - Make sure you have installed the react-native-cli
- Link dependencies with react-native-cli:
react-native link
Adding content
In order to add content to be able to actually play sounds, you need to add some to your asset library:
- Create a folder
assets - Create subfolders containing images and sounds:
assets/imagesandassets/sounds - Add sound- & image-files to your library, make sure the sound-basename matches the image-basename (used for autodiscovery) 3.1 Make sure your asset folder has subdirectories, which correspond to your configured TABS
- Add the assets-folder to your build-phase, e.g. in Xcode add it to
Copy Bundle Resourcesor Rightclick +Add Files to <projectname> - Change in
Constants.jstheVIEW_LIBRARY. The first-level keys are your subfolders inassets/sounds - See development / production for running
Development
Nothing special here, you can either use the provided npm-scripts or use xcode to run:
- With CLI:
npm run startornpm run debugandreact-native run-ios - With Xcode: Open Project & Hit play
Production
CLI:
- Make sure to have installed
ios-deploy - Change the name in the
releasenpm-script to your iPhone's name - Run the
releasenpm-script
XCode:
- Configure your build-Scheme to
Release - Hit play
Features
- [x] Asynchronous Sound-playing through react-saga
- [x] Multiple Sounds through long-presses
- [x] Auto Discovery of assets
- [x] Custom Recorded Sounds with camera picture (e.g. "party-mode")
- [ ] Megaphone mode
Contribute
If you want to contribute, feel free to issue a PR. I'm always open for new suggestions