4 ms·
How do DSPs get around this problem? What gives DSPs the edge over CPUs for real-time audio?
by ZenoArrow 11y ago
How do DSPs get around this problem? What gives DSPs the edge over CPUs for real-time audio?
- dsharlet 11y agoDSPs generally aren't necessarily that much more powerful than a CPU, their advantages are usually one or more of the following: - Special instructions to help with common DSP tasks (e.g. circular buffers, nice fixed point/rounding instructions, etc.). - Much lower power/better performance per watt. - Directly connected to audio in/out, to minimize latency. - Real time OS, or no OS at all. However, the main takeaway from my comment should probably be that simulating audio circuits by modeling them at such a low level (a circuit) is probably not the right thing to do. There are higher level models of the behavior of these kinds of effects/amps that are easier to implement and faster to evaluate. Lots of CPU cycles are wasted simulating inaudible behavior in the circuit. It's a really fun toy/project, but probably not something you would want to use to design a widely deployed simulation with.