v2.7.2 API Reference
With Superpowered, you can code with the same great API from both C++ and Javascript. Here you'll find code examples and documentation for each class available with audio demos wherever possible.
The language toggle will remain in the site’s header throughout to ensure you're reading information relevant to your preferred programming language (C++ or JS).
Download the library
You might find it useful to look at our learning resources
Platform feature comparison
Not all Superpowered features can be mapped directly across the two programming language due to the inherent differences between where the code will be run. For example we can't access the File System directly within a Javascript runtime, so we don't expose that particular method.
Below is a list of the Superpowered features and what differences there are between the C++ and the WebAssembly libraries
Feature | JavaScript | C++ |
---|---|---|
AdvancedAudioPlayer | ||
Analyzer | ||
AudiobufferPool | N/A | |
AudioInMemory | ||
AudiopointerList | N/A | |
AudiopointerlistElement | N/A | |
AutomaticVocalPitchCorrection | ||
BandpassFilterbank | ||
Bitcrusher | ||
Clipper | ||
Compressor | ||
Decoder | ||
Delay | ||
Echo | ||
Echo Cancellation | ||
Filter | ||
Flanger | ||
FrequencyDomain | ||
Gate | ||
Generator | ||
GuitarDistortion | ||
Limiter | ||
LiveAnalyzer | - | |
MonoMixer | ||
Recorder | - | |
Resampler | ||
Reverb | ||
Roll | ||
Spatializer | ||
StereoMixer | ||
ThreeBandEQ | ||
TimeStretching | ||
Waveform | ||
Whoosh |