Example code
Below you'll find a variety of example applications that demonstrate how to setup specific scenarios across a range of platforms. Take a look through the code and learn how to get your ideas off the ground.
Make sure you're being shown the correct language by toggling the language selector on the top right.
Each JavaScript framework has slightly different ways of doing the same thing. You'll find guides for the following frameworks and vanilla JS writing styles.
React
A React project project ready with superpowered wired in ready.
Angular
An Angular project project ready with superpowered wired in ready.
Vue
A Vue.js project project ready with superpowered wired in ready.
Vanilla JS
A Vue.js project project ready with superpowered wired in ready.
Flutter
A Flutter example application with Superpowered.
React Native
A React Native example application with Superpowered.
Android
SuperpoweredCrossExample | A fully-functional DJ app project example. |
SuperpoweredEffect | Shows how to use a single effect (input -> fx -> output). |
SuperpoweredFrequencyDomain | Simple time domain to frequency domain transformation with buffering and windowing. |
SuperpoweredPlayer | Shows how to use a player (for local, progressive download or HLS playback). |
SuperpoweredRecorder | Shows how to record the microphone input using SuperpoweredRecorder. |
SuperpoweredUSBExample | This project comes with two example apps, a simple and a complex example app. Simple USB Example App The simple example app demonstrates an easy audio setup, similar to how iOS handles USB audio devices. It also receives and displays MIDI. The audio functionality of the simple example app will cover most mobile audio use cases. Complex USB Example App The complex example app demonstrates full USB audio discovery, for the use case of sophisticated DAW and recording apps. It displays the various input and output options, audio paths and hardware controls of a USB audio device. Hardware controls can be manipulated and advanced thru audio paths can be enabled. If an audio output is selected without an audio input, the complex example sends a sine wave to every output channel. If both audio output and audio input are selected, then loopback or round-trip latency measurement are available. This means that the complex example app is also a testing tool to discover a USB audio device’s advanced features, test audio quality, glitches and latency. |
iPhone/iPad
SuperpoweredCrossExample | A fully-functional DJ app project example. |
SuperpoweredFrequencies | Shows how to use a single effect (input -> fx -> output). |
SuperpoweredFrequencyDomain | Simple time domain to frequency domain transformation with buffering and windowing. |
SuperpoweredHLSExample | Shows how to use a player (for local, progressive download or HLS playback). |
SuperpoweredOfflineProcessingExample | Shows how to record the microphone input using SuperpoweredRecorder. |
SuperpoweredPerformance | This project comes with two example apps, a simple and a complex example app. |
VisionOS
An XCode project for VisionOS with Superpowered.
tvOS
SuperpoweredTVExample | tvOS example project. |
Windows
Effect | Shows how to use a single effect (input -> fx -> output). |
HLS | HTTP Live Streaming example project. |
Player | Shows how to use a player (for local, progressive download or HLS playback). |
Recorder | Shows how to record the microphone input using SuperpoweredRecorder. |
Linux
You might want see our various guides to help you with other common goal in your Superpowered project: