Generates sound using science and logic.
- simple synthesizers (sine wave, noise)
- fade out an existing waveform
- playback (
sounddevicelibrary)
Install dependencies using uv first.
uv sync
uv run main.pyIt looks like this (it's not the exact formula used). In reality, the sine wave is generated first, then multiplied by a polynomial factor, so that it fades out.
waveform graph generated using desmos.com
