14 comments

  • acidburnNSA7 hours ago
    Tangentially related, I recently had some hand-me-down high-end full tower speakers lose their integrated subwoofer amps. I bypassed them and wired in an external amp but people said the integrated DSP would be missing. That&#x27;s when I learned about CamillaDSP [1] and CamillaFIR [2]. I got a calibrated UMIK-1 microphone and did a frequency sweep in the room. Then I applied the Camilla-computed FIR filter to my snapcast-sourced music stream on the Raspberry Pi 3 B I have networked into the living room. Now I have room-corrected and loudspeaker corrected fancy DSP and the speakers sound better than ever. Pretty fun, and very cheap. The Pi3 runs it using about 20% of its CPU. Not bad! I did the same process up in my office with some desk speakers and they sound great too (that time using EasyEffects to apply the filter in real-time rather than CamillaDSP).<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;HEnquist&#x2F;camilladsp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;HEnquist&#x2F;camilladsp</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;VilhoValittu&#x2F;CamillaFIR" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;VilhoValittu&#x2F;CamillaFIR</a>
    • MrBuddyCasino7 hours ago
      Did you ever use Dirac Live and can compare the results? Hardware that supports Dirac is unfortunately very expensive.
      • vladvasiliu6 hours ago
        FWIW, I&#x27;ve tried Dirac Live and compared it to the correction suggested by REW [0]. In both cases, the measurements were taken with a UMIK-1, and the correction was done on a computer. Contrary to GP, I didn&#x27;t have to fix borked components, just a random, untreated living room.<p>Dirac seemed to have a fairly heavy-handed correction. In my case, I only had fairly narrow frequency ranges that needed correcting, but Dirac seemed to move much wider ranges at a time. It&#x27;s also nearly impossible to tweak; you basically can only increase&#x2F;decrease &quot;the lows&quot; or &quot;the highs&quot;. But maybe I&#x27;m missing something.<p>In contrast, the suggestions produced by REW were loaded in EasyEffects on Linux, and I could tweak everything to my heart&#x27;s content. But I actually just left it alone, since it was good enough.<p>---<p>[0] <a href="https:&#x2F;&#x2F;www.roomeqwizard.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.roomeqwizard.com&#x2F;</a>
        • Avamander16 minutes ago
          Dirac Live BC or Dirac Live ART? I would love to know how much these room correction approaches differ in practice.
        • MrBuddyCasino6 hours ago
          I also have a UMIK-1, and tried the REW route once, but it made everything worse. I suspect a lot of the know-how in Dirac is how to automatically get good results.
          • vladvasiliu6 hours ago
            In my case, the setup is pretty simple. I have full-range floorstanders that only take a single input, and I mostly wanted to control some booming in my listening position. So there&#x27;s no crossover to handle or anything fancy.<p>Maybe for more involved situations Dirac does a better job, but, in my case, it didn&#x27;t really solve anything. Also, I see they now have this newer &quot;bass control&quot; thing, and it&#x27;s not clear if my version had it when I last tested it (around November 2025).
      • throwawaySimon1 hour ago
        Ive done quite extensive testing with Dirac(with a MiniDSP Flex), rePhase, normal PEQs, BruteFIR, CamillaDSP etc. etc.<p>Dirac is the most user friendly of the bunch, but honestly once you limit the correction to below Schroeder frequency I cannot tell them apart. So for my systems I just stick to a few PEQs targeting the main peaks under 300hz.
      • SirMaster3 hours ago
        You can get a miniDSP 2x4HD for like $225 that supports Dirac Live.
        • giobox2 hours ago
          The optional Dirac Live firmware&#x2F;licence for the miniDSP is an extra $199, so it&#x27;s really $425.<p>I have one and personally didn&#x27;t bother, did the usual UMIK-1 + REW to create the room correction.<p>&gt; <a href="https:&#x2F;&#x2F;www.minidsp.com&#x2F;products&#x2F;dirac-series&#x2F;index.php?option=com_content&amp;view=article&amp;id=424" rel="nofollow">https:&#x2F;&#x2F;www.minidsp.com&#x2F;products&#x2F;dirac-series&#x2F;index.php?opti...</a>
      • acidburnNSA6 hours ago
        I don&#x27;t use it and so haven&#x27;t compared. I&#x27;m interested as well.
  • a968 hours ago
    Looks like output only and only one stereo pair from USB is processed to outputs, but a really cool project.<p>Also, for those watching for it: <a href="https:&#x2F;&#x2F;www.audiosciencereview.com&#x2F;forum&#x2F;index.php?threads&#x2F;introducing-dspi-a-powerful-user-friendly-and-open-source-dsp-for-less-than-a-cup-of-coffee.69343&#x2F;page-4#post-2514497" rel="nofollow">https:&#x2F;&#x2F;www.audiosciencereview.com&#x2F;forum&#x2F;index.php?threads&#x2F;i...</a><p>&gt; I can&#x27;t take all of the credit. My little robot intern (Opus 4.5) has been very helpful with the busy work, leaving me free to handle the trickier planning and implementation. ;)
  • BoingBoomTschak2 days ago
    And here&#x27;s the release thread for those of you wanting a bit more detail or to talk with the creator: <a href="https:&#x2F;&#x2F;www.audiosciencereview.com&#x2F;forum&#x2F;index.php?threads&#x2F;introducing-dspi-a-powerful-user-friendly-and-open-source-dsp-for-less-than-a-cup-of-coffee.69343&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.audiosciencereview.com&#x2F;forum&#x2F;index.php?threads&#x2F;i...</a>
  • skybrian1 hour ago
    This looks very cool.<p>Since a Raspberry Pi Pico doesn’t have built-in audio output ports, I think the main thing blocking ordinary people from using it is figuring out the hardware? A link to a tutorial for how to add audio output would be useful.
    • WeebLabs58 minutes ago
      Thank you! I will soon be producing a comprehensive introductory video on YouTube, which should make things more accessible.<p>There will also be an official plug-and-play custom board that includes all of the relevant IO, connectors and codecs.
      • kcoul20 minutes ago
        In the meantime, what would you recommend (if there&#x27;s anything off-the-shelf that would work in a plug-and-play manner?)<p>I had a project in mind that was waiting for something like this! :)
  • joenot4436 hours ago
    This is awesome.<p>What are the odds a Raspberry Pi could keep up with BTrack?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;adamstark&#x2F;BTrack" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adamstark&#x2F;BTrack</a>
    • Neywiny5 hours ago
      Pi or pi pico? At first glance it looks like that software is designed for double precision floats. That would certainly be some compute. The M0+ doesn&#x27;t have hardware floating point let alone double precision. The M33 on the newer chip I think has hardware single precision float so a simple find-replace should let it go.<p>If it&#x27;s not doing anything else and the sample rates aren&#x27;t outrageous it might be doable but I&#x27;d have to dig into the code more to see how much work they&#x27;re doing per sample.
  • abhiraj_patwa2 hours ago
    Can I use this to connect my electric guitar straight to my pc, or use this DSP for guitar effects?
  • dmitrygr2 hours ago
    Pretty cool, though the assembly could be tightened in a few hot loops, eg:<p><pre><code> mov r3, r10 adds r5, r5, r3 mov r9, r5 </code></pre> can be made into<p><pre><code> mov r9, r10 add r9, r5 </code></pre> since r5 and r3 are both dead, and so are the flags
  • hexmiles7 hours ago
    I wonder if you could do the same thing in reverse and have a cheap way to get multiple inputs. I would love a cheap way to add 8–16 inputs to my PC; all the audio interfaces I found cost quite a bit.
    • AnthonBerg5 minutes ago
      The Topping Pro audio interfaces have ludicrously good inputs. The E8x8 has eight analog ins and eight outs plus more connectivity for $450. It is very cheap for what you get. The inputs are <i>crazy</i> good. $450 is also a good chunk of cash, so…<p><a href="https:&#x2F;&#x2F;topping.pro&#x2F;E8x8-Pre&#x2F;" rel="nofollow">https:&#x2F;&#x2F;topping.pro&#x2F;E8x8-Pre&#x2F;</a><p>For the $450 you get a lot of stuff. Preamps for mic and guitar pickups. Powerful headphone amp. It&#x27;s clearly worth it if you make use of some of it, and potentially even just for the inputs alone. $450&#x2F;8 = $56 per ludicrously clean input is good.<p>I bought an E1x2 kind of as a joke. Just to see how bad it was. It&#x27;s actually really, really good.<p>And also:<p>It&#x27;s actually possible to gang together multiple disparate audio interfaces. Let the audio stack keep them in sync with ASRC. Aggregate Device on macOS can do this. People say you can&#x27;t but you can. Linux is good for this too. If you find a cheaper per channel input, this can actually be done; Piecemeal it.
    • mystifyingpoi10 minutes ago
      &gt; a cheap way to add 8–16 inputs to my PC<p>The cheapest option is probably some Behringer mixer with enough inputs and multitrack interface over USB, like XR18.
    • lysace6 hours ago
      The ADCs on RP2040&#x2F;2350 only have 12 bit resolution.
      • gsliepen5 hours ago
        Yes, but this project doesn&#x27;t do anything analog to begin with. It could just have several S&#x2F;PDIF and I2S inputs, and convert that to USB. You probably don&#x27;t want any processing then, and just pass the digital inputs straight to USB. The limit of how many channels you could simultaneously process would then be the USB bandwidth.
        • lysace4 hours ago
          Yes, but we weren&#x27;t talking about the (current) scope of this project.
      • Kirby645 hours ago
        Even worse, the ENOB is closer to 9 bits in testing. It’s got horrible DNL&#x2F;INL. Totally worthless for any audio unless you’re trying to do chiptunes or something.
        • nereye5 hours ago
          FWIW, this project is entirely digital (audio in: USB, audio out: S&#x2F;PDIF or I2S).<p>There are other projects for the Pico which implement S&#x2F;PDIF in.<p>In either case, since it is digital, the quality (or lack of) of the internal ADCs should not matter.
  • roxolotl7 hours ago
    I’ve been wanting to follow this tutorial for some time. I think this might make the whole thing way simpler and smaller if all I want is line in.<p><a href="https:&#x2F;&#x2F;www.raspberrypi.com&#x2F;news&#x2F;upcycle-a-sonos-play1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.raspberrypi.com&#x2F;news&#x2F;upcycle-a-sonos-play1&#x2F;</a>
  • phkahler5 hours ago
    What would be the best way to have analog input and output?
  • wiradikusuma7 hours ago
    I recently bought a Behringer U-phono UFO202 as a cheap DAC for my mini pc. Can this Pi thing replace it?
    • justin666 hours ago
      I use a UCA202 for the same purpose. Does yours output static sometimes when it sits for too long? Based on my testing this seems to be a Linux thing instead of a Behringer thing.
      • wiradikusuma3 hours ago
        Oh no. I actually haven&#x27;t used it, it&#x27;s still sitting in my drawer. And yes it&#x27;s a headless Debian.
    • akho6 hours ago
      This Pi thing does not have a DAC.
  • amelius8 hours ago
    Is there a guaranteed latency?
    • WeebLabs4 hours ago
      Hello. I am the creator of this project! Nominal latency is currently 8ms, with ±1ms of variance. All output channels are phase-locked, so this doesn&#x27;t present a problem for multi-way crossover implementations.
    • alhirzel7 hours ago
      85ms<p><a href="https:&#x2F;&#x2F;github.com&#x2F;WeebLabs&#x2F;DSPi&#x2F;commit&#x2F;ba8e481570e6a5ce3d35bb2642c919800ad6918f" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WeebLabs&#x2F;DSPi&#x2F;commit&#x2F;ba8e481570e6a5ce3d35...</a>
      • aa-jv6 hours ago
        Ouch, thats pretty average, what a pity ..
        • jamesfmilne5 hours ago
          That&#x27;s the maximum delay when adding a delay for synchronising with other sources.<p>The end-to-end delay is about 10ms, according to this comment:<p><a href="https:&#x2F;&#x2F;www.audiosciencereview.com&#x2F;forum&#x2F;index.php?threads&#x2F;introducing-dspi-a-powerful-user-friendly-and-open-source-dsp-for-less-than-a-cup-of-coffee.69343&#x2F;post-2520252" rel="nofollow">https:&#x2F;&#x2F;www.audiosciencereview.com&#x2F;forum&#x2F;index.php?threads&#x2F;i...</a>
        • beepbooptheory5 hours ago
          Why? This is a device more for home audio&#x2F;audiophile uses it seems? Why does latency matter there?
          • MomsAVoxell4 hours ago
            Would be nice to use it as a synthesis DSP if the latency were a bit better.
  • lysace7 hours ago
    Nice.<p>I wonder if 264&#x2F;520 kB RAM is also enough for a high quality parametric stereo reverb&#x2F;echo effect? Should fit about 3&#x2F;6 seconds of uncompressed 16-bit 44.1&#x2F;48 kHz audio.<p>Also: Raspberry Pi Ltd - please keep increasing the RAM size in future iterations to unlock even more use cases.
    • amluto2 hours ago
      &gt; high quality parametric stereo reverb&#x2F;echo effect<p>I’m sometimes annoyed that the home audio&#x2F;audiophile world is so separate from the live&#x2F;professional world.<p>For playing recordings with fancy effects, you can throw massive overkill CPUs at it with small batches, brutefir style, or you can do high-latency FFT filters, and you can get essentially perfect FIR reverb effects with a latency vs complexity tradeoff.<p>But the algorithm in the middle exists and is not <i>that</i> exotic. You divide your impulse response into a very short piece at the beginning, then a longer piece after that, then a longer piece after that, in exponentially increasing pieces. And then you add up the results, with straight addition and multiplication for the short one, and (carefully scheduled to avoid stalls) FFT convolution for the long ones, and you get basically arbitrary long FIR filters with logarithmic amortized complexity per sample and as low as zero sample latency if you are so inclined.<p>I think this is called “non-uniform partitioning” or something to the effect. I’m not aware of any serious, public implementation for audio use.
    • Rohansi6 hours ago
      The RP2350 (Pico 2) supports external PSRAM so you can add several MB more there if you need it.
      • Lerc4 hours ago
        I have always wondered kind of bandwidth you could make by multiple channels of PSRAM driven by PIO&#x2F;DMA. Individually they&#x27;re not so speedy(although the APS6408L-OCH-BA seems pretty crazy) , but how many can you run simultaneously. In terms of the RP2350 it would be fascinating to see how many times a second could you replace the entire contents of SRAM.
        • Rohansi1 hour ago
          Can surely get more bandwidth but the it&#x27;s less useful because it will not be directly accessible by the CPU anymore.
          • mazurnification1 hour ago
            I believe PSRAM is directly accessible by CPU (there is even cache for PSRAM). Or am I missing something?
            • Rohansi4 minutes ago
              Lerc was referring to driving multiple PSRAM chips from a single Pico with PIO&#x2F;DMA. The CPU will only work with a single PSRAM chip.
          • WeebLabs1 hour ago
            PSRAM is a possibility that I have explored for offloading the delay line buffers, which occupy quite a significant chunk of SRAM at the moment. It should be fast enough.
      • lysace4 hours ago
        Default specs matter a lot for worldwide availability and affordability, as well as for the willingness of people to spend a lot of time creating free software for it.
        • Rohansi11 minutes ago
          520KB of SRAM is actually on the high end for microcontrollers. It doesn&#x27;t seem like much but SRAM is on-die and significantly lower density than DRAM. For comparison, it&#x27;s the same type of memory used for CPU caches, which are also small!<p>You can easily find dev boards with 8MB of PSRAM online if you need it. Or you can buy the PSRAM and hook it up yourself. If you still need more memory than that then you&#x27;re looking at the wrong chip for the job.
  • marlburrow7 hours ago
    [dead]