#table #synthesizer #wave #format #samples #dsp

wavetable

A library for wavetable handling

3 releases

0.1.2 May 16, 2020
0.1.1 May 16, 2020
0.1.0 May 16, 2020

#1001 in Audio

29 downloads per month

MIT license

59KB
760 lines

Wavetable

This is a library for generating and using wavetables. It is currently used in the Yazz software synthesizer.

The library offers support for importing wavetables from wave files, bandlimiting the tables to avoid aliasing, storing tables in a compressed format and getting samples from the tables.

While functional, this is not yet in a very useful state. The code is currently being reworked into a library and needs a lot of refactoring, testing and optimization. There is not much documentation yet, and some features are still missing.

TODO

  • Support other frequency ranges than single octaves for the bandlimited tables.
  • Add support for storing tables as list of harmonics instead of samples.
  • Add support for more wave file formats (currently only floats).
  • Add tests.
  • Add more examples.
  • Add more documentation.

lib.rs:

A library for creating and using wavetables for sound generation.

Dependencies

~4.5MB
~91K SLoC