This library generates simple waveforms that can be used to generate different type of audio signals.
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
This example generates one wavelength of a 440hz sine wave when played at 16 kilosamples per second:
from adafruit_waveform import sine
wave = sine.sine_wave(16000, 440)
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
.. toctree:: :maxdepth: 2 api