Open riknoll opened 2 years ago
My dream format for sound effects (coming from a synthesizer background), would look something like this:
[base pitch] [base volume] [waveform] [effects...] [envelopes...]
The envelopes would include these parameters:
Note that all of these parameters are relative rather than absolute; that's so that we can play them like instruments by pitching them up and down.
Across pxt-common-packages and pxt-microbit, we currently have four different ways of representing sounds/melodies
None of these formats are compatible/interchangeable and there is a lot of overlap between them. It would be nice to come up with one format to rule them all, so to speak. I believe the requirements look something like this