Feature request: sound
- Dominant language
- C
- Stars
- 738
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
It would be very nice to have sound in LOAD81, and following the 8-bit ideology, if it were a synthesis-oriented approach (as opposed to .WAV sample playback) this would be very neat.
What I have in mind is some sort of mini-synth such as the one found in sfxr:
http://www.drpetter.se/project_sfxr.html
A Lua table could be used to set the sound parameters for each synth voice (maybe it can be multi-timbral?):
sound[1].envelope(0,0.5,0.275,1) -- ADSR
sound[1].filterType(LOPASS)
&etc.
.. and then triggered with something like sound[1].play() / sound[2].play() and .stop() and .pause() and so on. This would make it very easy to set up a series of sound effects in tables and trigger them according to programmer needs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.