Algorithms for sound synthesis, targeting pypy3.