tralves / sp-staticwasm-worklet

Superpowered static wasm with audio worklet example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sp-staticwasm-worklet

Superpowered static wasm with audio worklet example

A simple project that creates a custom WASM lib that uses Superpowered.

It includes the following tests:

  1. loopback in wasm (std::memcpy the input to output);
  2. loopback in wasm and add SP reverb;
  3. playing an .mp3 sample with Superpowered::AdvancedAudioPlayer;
  4. a simple white noise (just throwing random numbers in the output);
  5. White noise with Superpowered::Generator;
  6. Generating a sound with Superpowered::Generator;

Running this example project:

  1. clone this repo;

  2. (optional) ./build.sh

  3. serve public_html (e.g. cd public_html && http-server)

About

Superpowered static wasm with audio worklet example


Languages

Language:C++ 74.6%Language:Objective-C++ 15.5%Language:JavaScript 4.7%Language:Objective-C 4.3%Language:HTML 0.7%Language:Shell 0.3%