TinyChan

New reply in topic: Bytebeat/Floatbeat/Funcbeat

You are not recognized as the original poster of this topic.

:

You are required to fill in a captcha for your first 5 posts. Sorry, but this is required to stop people from posting while drunk. Please be responsible and don't drink and post!
If you receive this often, consider not clearing your cookies.

Please familiarise yourself with the rules and markup syntax before posting.


Replying to Anonymous I…

@661,748
Could've written
voices.splice(i--,1);
without curly-braces but whatever. Dynamic size-changing arrays are also bad for this (due to memory management reasons), people usually use fixed-size cyclic/circular arrays for polyphonic synth voices.
Gonna focus on sample-esque wavetables next time as well, not sure if there are any good resources for that (
Math.sin()
is also slow that you should probably pre-calculate a table for that)…