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.

SDKLanguage

Make sure you're being shown the correct language by toggling the language selector on the top right.

Flutter logo

Flutter

superpoweredSDKhttps://github.com/superpoweredSDK/Low-Latency-Android-iOS-Linux-Windows-tvOS-macOS-Interactive-Audio-Platform/tree/master/Examples_Flutter/superpowered_player_with_effects

A Flutter example application with Superpowered.

React logo

React Native

superpoweredSDKhttps://github.com/superpoweredSDK/Low-Latency-Android-iOS-Linux-Windows-tvOS-macOS-Interactive-Audio-Platform/tree/master/Examples_ReactNative/SuperpoweredPlayerWithEffects

A React Native example application with Superpowered.

android

Android

SuperpoweredCrossExampleA fully-functional DJ app project example.
SuperpoweredEffectShows how to use a single effect (input -> fx -> output).
SuperpoweredFrequencyDomainSimple time domain to frequency domain transformation with buffering and windowing.
SuperpoweredPlayerShows how to use a player (for local, progressive download or HLS playback).
SuperpoweredRecorderShows how to record the microphone input using SuperpoweredRecorder.
SuperpoweredUSBExampleThis 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.
iOS

iPhone/iPad

SuperpoweredCrossExampleA fully-functional DJ app project example.
SuperpoweredFrequenciesShows how to use a single effect (input -> fx -> output).
SuperpoweredFrequencyDomainSimple time domain to frequency domain transformation with buffering and windowing.
SuperpoweredHLSExampleShows how to use a player (for local, progressive download or HLS playback).
SuperpoweredOfflineProcessingExampleShows how to record the microphone input using SuperpoweredRecorder.
SuperpoweredPerformanceThis project comes with two example apps, a simple and a complex example app.
iOS

VisionOS

superpoweredSDKhttps://github.com/superpoweredSDK/Low-Latency-Android-iOS-Linux-Windows-tvOS-macOS-Interactive-Audio-Platform/tree/master/Examples_VisionOS

An XCode project for VisionOS with Superpowered.

tvOS

SuperpoweredTVExampletvOS example project.
windows

Windows

EffectShows how to use a single effect (input -> fx -> output).
HLSHTTP Live Streaming example project.
PlayerShows how to use a player (for local, progressive download or HLS playback).
RecorderShows how to record the microphone input using SuperpoweredRecorder.
Linux

Linux

Offline1Decodes an audio file and saves the result in WAV.
Offline2Reads an audio file, applies time stretching and saves the result in WAV.
Offline3Reads an audio file and feeds the audio data into the Analyzer class.
HLSHTTP Live Streaming example project.

You might want see our various guides to help you with other common goal in your Superpowered project:


v2.7.2