wraybowling / wavetable

Wavetable generator for Plinky

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plinky wavetable generator

This is a wavetable header generator for Plinky.

It expects files from c0.wav to c14.wav in the same folder.

Wavs must be in this format:

  • 1024 or 2048 samples
  • 16 bits
  • mono

The generator downsamples the waves for Plinky (32kHz).

Building

clang++ -O2 wavetable.cpp -o wavetable

Running

./wavetable

It should generate a wavetable.h which you can use in the main Plinky project- just copy it to Core/Src/wavetable.h and recompile the Plinky firmware.

Credits

About

Wavetable generator for Plinky

License:Other


Languages

Language:C 91.9%Language:C++ 8.0%Language:Shell 0.0%