4 ms·
Very OT, but I concur. I need a DSP for my car audio system. I considered a rpi3 with a DAC attachment. I tried the raspbian OS with some moderate overclocking
by srcreigh 3y ago
Very OT, but I concur. I need a DSP for my car audio system. I considered a rpi3 with a DAC attachment.
I tried the raspbian OS with some moderate overclocking and removing unneeded startup processes. Couldn’t get it under 25 seconds for boot. Kind of a deal breaker (remote start unit could help, but…)
Apparently somebody can start the rpi3 in <3 seconds. I’ll believe it when I try their image myself. Their setup disables USB and networking (maybe audio too who knows) which is a giant pain for configuring my system.
Maybe I’ll try again with an RPi 4 and usb3 nvme. or maybe I’ll just pay hundreds of dollars for a dedicated DSP unit.
In case anyone cares, my main use case is parametric EQ for phon adjusted low bass frequencies. 90dB 20Hz sounds as loud as 70dB 50Hz (give or take) and subwoofers are generally quieter at lower frequencies. Hence, audio processing unit to cut as you go higher than your lowest decently loud frequency.
The lowest cost option for this is about $230USD plus some electrical components (miniDSP 2x4HD). I figure the rpi would cost around $100 including the DAC unit, open source audio software, just need some power source to link the battery to the rpi power cord.
Edit: I don’t want to spam thanks comments for helpful replies, so I’ll just say it here (possibly in advance): thanks!!!
- pid-1 3y agoSearch ebay etc... for Texas Instruments DSP evaluation boards.
- ju-st 3y agoYou could use a ADAU1701 DSP board (cheaper and shittier minidsp) or do it directly on a modern/fast microcontroller, e.g. ESP32. I used an ESP32 to adjust frequency response of a small diy loudspeaker (and added Bluetooth).
- JeffeFawkes 3y agoIf you make your own buildroot image, you can get VERY quick boot times - here's a random vid I found [1] with 3.5 seconds on a pi zero w (which is considerably less powerful than a Pi3. I've worked with similarly underpowered boards (licheepi zero, only has 64mb ram and uses the cpu from a dashcam!) and those will still boot and start an SDL app in under five seconds. If you can identify the bare minimum that you need for your EQ solution, you can probably get similar boot times. [1]: https://www.youtube.com/watch?v=ZehLyumyMvE https://www.youtube.com/watch?v=ZehLyumyMvE
- kragen 3y agoi feel like maybe 3.5 seconds is not VERY quick compared to 28 milliseconds?
- cinntaile 3y agoThe use case is different so the comparison doesn't really matter.
- yjftsjthsd-h 3y ago28ms is a VM; in hardware you can't get through firmware in 28ms. Apples to oranges.
- kragen 3y agotrue if your firmware is shitty enough but plenty of hardware platforms don't have that problem
- red0point 3y agoIt doesn‘t always have to be a RPi, sometimes there is dedicated hardware for that use case that is also kinda cheap. Check this thing out, it‘s a programmable audio DSP: https://www.thomannmusic.ch/the_t.racks_dsp_4x4_mini.htm https://www.thomannmusic.ch/the_t.racks_dsp_4x4_mini.htm
- deleted 3y ago[deleted]
- SomeoneFromCA 3y agoCan't you just run on bare metal on rpi? Also a resistor, a capacitor and a realay would work to filter out the extra bass.