~chee/wavetablet

update readme about instrument.h
move instruments to instruments/
add polyphony

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~chee/wavetablet
read/write
git@git.sr.ht:~chee/wavetablet

You can also use your local clone with git send-email.

#wavetablet

This is mostly just a little wrapper around paul's teensy audio library synth_wavetable, updated to make sure it runs on the ATSAMD51 with adafruit's atsamd fork of Audio.

the decoder.py here is taken the teensy AudioSynthWaveform repo, with changes to make it output parsed soundfonts in the format expressed in the synth_wavetable.cpp file from the Audio repo

if you run decoder on a soundfont, it'll drop the headers in src/instruments. then you can edit instrument.h and change these lines:

#include "instruments/AnalogSaw_samples.h"
auto instrument = AnalogSaw;

to, for instance,

#include "instruments/lead_samples.h"
auto instrument = lead;

and that'll be your instrument now.