zzril / aula

Audio programming language and interpreter
MIT License
0 stars 0 forks source link

Add tone color support #12

Open zzril opened 3 days ago

zzril commented 3 days ago

Instead of being limited to a pure tone / simple sine wave, we want to be able to play sounds with different timbre.
For this, the user should be able to provide an "instrument definition" in the aula file, and then specify a specific instrument to play the provided notes.

This requires us to think of a new syntax to provide said definition.

For starters, it should be possible to specify an instrument's overtones wth corresponding weights. This should already allow for a range of different, synthesizer-like sounds.

zzril commented 2 days ago

Blocked by #13