shorepine / alles

A many speaker distributed music synthesizer using UDP multicast over WiFi
https://notes.variogram.com/2022/09/23/alles-amy/
MIT License
249 stars 14 forks source link

Pitch-adaptive lookup tables; Triangle has its own tables. #12

Closed dpwe closed 3 years ago

dpwe commented 3 years ago

This replaces the previous sine and impulse lookup tables, with sets of lookup tables (albeit a set of 1 for sine) that can, in general, have different high frequency cutoffs. Then, when an oscillator is initialized via note_on, one of the set is selected to achieve the greatest bandwidth without aliasing.

dpwe commented 3 years ago

I haven't included the python that writes the *_lutset.h files yet. It's in the colab, https://colab.research.google.com/drive/1PSBC98l3rYV6GIQkevNhWRUU4SLY7CtA#scrollTo=88RjSgeu54bz