3 ms·
The engineering challenges here have already been solved with DACs, and FPGAs really bring nothing new to the table. Anything you want to do with audio signal p
by klodolph 8y ago
The engineering challenges here have already been solved with DACs, and FPGAs really bring nothing new to the table. Anything you want to do with audio signal processing is going to involve a lot of multiplication and table lookups. Sure, you can do that with an FPGA, but what you’ve basically got are pieces of DSP stuck in your FPGA that you can wire together with Verilog instead of C. Not exactly something to write home about, since it’s not like you look at your off the shelf DSPs these days and say, “Gosh, these definitely have enough computational power for my needs but I really wish that they were more expensive and more difficult to program.”
The problem is that for most synthesizers and music applications, any problem you have is simply not going to require that much computational power by today’s standards.
A good way to make digital music toys is to put all your signal processing on a DSP, and then run your UI and random other code on a standard microcontroller. Microcontrollers are cheap, and this way your real-time DSP code isn’t fighting for memory or time slices with anything else. Some people are asking whether you can just use a Raspberry Pi. I’m sure the hardware is capable of cool things with audio, but I’m not sure that you guys would enjoy wrangling Linux into giving you reliable real-time performance.
- bravura 8y agoSome people are asking whether you can just use a Raspberry Pi Can you point us to what hardware (DSPs or DACs) we should use instead? Can I use them as digital synths? Can I use them for digital FX? If I want to make a digital synth with lower latency than a RPi, what hardware should I use that won't be as hard as an FPGA to program?
- klodolph 8y agoThe comment was mostly aimed at the poor state of audio on Linux. I think it’s important to understand what your goals are when you’re doing this. Are you building something? Will it be mass-manufactured? Does it need to be reliable? Does it need to be low-latency? If you’re building something one-shot or playing around, RPi is great it’s just that real-time audio on Linux is a pain. If you want to play with real-time, low-latency effects I would get a Mac or Windows PC and hook it up to a $100 USB audio interface. If you want to mass manufacture a box that makes noise, at that point it starts to make more sense to research DSPs. They often have weird architectures and the toolchains might not be great. But I suspect that more and more audio stuff is moving to general purpose CPUs and microcontrollers.