Superpowered static wasm with audio worklet example
A simple project that creates a custom WASM lib that uses Superpowered.
It includes the following tests:
- loopback in wasm (
std::memcpy
theinput
tooutput
); - loopback in wasm and add SP reverb;
- playing an .mp3 sample with
Superpowered::AdvancedAudioPlayer
; - a simple white noise (just throwing random numbers in the output);
- White noise with
Superpowered::Generator
; - Generating a sound with
Superpowered::Generator
;
-
clone this repo;
-
(optional)
./build.sh
-
serve
public_html
(e.g.cd public_html && http-server
)