A Soundboard written in React-Native and redux-saga.
Here's an example of the soundboard-app, obviously with cat-tax:
- Run
npm install
to install all deps - Make sure you have installed the react-native-cli
- Link dependencies with react-native-cli:
react-native link
In order to add content to be able to actually play sounds, you need to add some to your asset library:
- Create a folder, e.g.
assets
- Create subfolders containing images and sounds, e.g.
assets/images
andassets/sounds
- Add sound- & image-files to your library
- Reference them in
src/constants
, the current structure is available there, just mimic the structure - Add the assets-folder to your build-phase, e.g. in XCode add it to
Copy Bundle Resources
- Rebuild and play in the app
This project doesn't utilize any special development workflow. Thus, you can start the RN-Bundler-dev-server with npm run start
and build for the simulator with react-native run-ios
.
This app isn't really tested for heavy use, although it is successfully tested on various festivals. In order to run your app locally on your device, follow the official React-Native-Guidelines
- Asynchronous Sound-playing through react-saga
- Multiple Sounds through long-presses
- Clean Code
- Megaphone mode
- Custom Recorded Sounds with camera picture (e.g. "party-mode")
- Auto Discovery of assets
If you want to contribute, feel free to issue a PR. I'm always open for new suggestions