Simple sound-synthesis library for very basic music creation, intended for beginner programmers.
Project description
wavesynth
A simple sound-synthesis library that provides a simplified stateful API
for generating music. The API is intentionally analogous to the turtle
API to assist in the creation of music-based assignments that duplicate
lessons from graphics-based assignments for more accessible course
design.
The library has fairly unsophisticated synthesis resulting in pretty basic sounds, and is also not super performant, although both of these things could be improved.
A log of notes is printed to assist with debugging and/or for matching desired output.
Designed by Peter Mawhorter.
Dependencies
Writing audio to .wav
files can be accomplished using just the built-in
Python modules, but if you want to play audio, the simpleaudio
package
will be needed.
Installing
To install from PyPI, run the following command on the command-line:
python -m pip install wavesynth
Once it's installed, you can run a built-in example using:
python -m wavesynth
Documentation
See the documentation for more details on how to use it and what each function does.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wavesynth-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a00a6a36ae99480edb7091c3881803a90977e8dd267279d3465777960281be1f |
|
MD5 | 5dc8a4b26ea49de717d46887eb6bf4f2 |
|
BLAKE2b-256 | c76570efa4256fd8aef18e22b7361e22a7183b2473deea52ca8852f111094385 |