freenode/#sicl - IRC Chatlog
Search
6:02:29
beach
I haven't done this calculation for some time, so please help me check it: Let's say I want to use mainly additive synthesis to synthesize a symphony orchestra. The sample rate is CD quality. Let's approximate that with 50kHz. So I have 20μs to compute 1 sample.
6:02:40
beach
Also, let's say that an instrument requires 100 simultaneous sine waves and that a single sample of a single sine wave requires 2 multiplications and 2 additions taking perhaps 10ns. That means a single instrument takes 1μs per sample, so I can generate 20 simultaneous instruments with a single core.
6:02:41
beach
Now if I have 8 cores or so, that should be plenty for an entire orchestra. Did I do this right?
6:04:18
beach
It is possible that some instruments require more than 100 simultaneous sine waves, but on the other hand, one should be able to inspect the total collection of sine waves and apply some psychoacoustic result and eliminate masked oscillators.
6:05:22
beach
So, if this calculation is correct, a single modern processor should be able to generate an entire orchestra.