• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Introducing DSPi | A powerful, user friendly and open source DSP for less than a cup of coffee

Wow. Where do you get the math or algorithms for that? When they first came out, I read a whitepaper and it seemed like black magic to me. Never thought you could implement them on a CPU that has is probably less powerful than a 486-33.

I also remember there were differences between the first ASRCs, some just clearing CD and others having to artefacts down to -160 dB. Can you test yours for this?
I am currently using a sinc polyphase FIR with 32 taps, which clears about -120dB. I will be capturing measurements shortly. The number of taps can be increased for greater SNR but doubling the taps doubles core utilization.
 
Can someone please posit an example use case for concurrent input from multiple digital devices? Just curious...


SPDIF input is coming along quite nicely. I have managed to implement a very simplistic ASRC that utilizes less than 2% of Core 0. This enables the SPDIF outputs to be driven at the fixed PIO clock and produces a feedback output which can be passed to the USB feedback endpoint. In other words, we now have the ability to mix SPDIF and USB inputs. :)
 
Can someone please posit an example use case for concurrent input from multiple digital devices? Just curious...
My use case would be the desire to mix audio output from my laptop and desktop.
 
So you mean using two inputs at the same time? How would things like volume control work then, would both be able to control the Picos it at the same time?
 
So "mixing" as in recording / engineering audio from multiple tracks?
 
So "mixing" as in recording / engineering audio from multiple tracks?
Mixing as in simultaneously outputting audio from two sources (SPDIF desktop and USB laptop) to the same speakers or headphones.

So you mean using two inputs at the same time? How would things like volume control work then, would both be able to control the Picos it at the same time?
There is one master volume control and a matrix mixer insertion gain for each channel in the firmware. It can be controlled via USB, external potentiometer/encoder or I2C.
 
Mixing as in simultaneously outputting audio from two sources (SPDIF desktop and USB laptop) to the same speakers or headphones.
Yeah, it is clear from a technical perspective.
And of course one could play a keyboard or a digital drum set together with a background track or something. Or at last combine Beatles (from an old mix cd) and Rolling Stones (from YouTube) playing "together" (without sync) on your desktop speakers.
Still these use cases appear somewhat exotic in respect of the percentage of people wanting to do that and not having an audio interface for a long time already.
 
Yeah, it is clear from a technical perspective.
And of course one could play a keyboard or a digital drum set together with a background track or something. Or at last combine Beatles and Rolling Stones playing "together" on your desktop speakers.
Still these use cases appear somewhat exotic in respect of the percentage of people wanting to do that and not having an audio interface for a long time already.
The use case that I have in mind is simply that the user has two sources and wants to be able to use both without the need to switch.

For instance, a PC and game console. Music is not my sole focus here. :)
 
Yes the tech function is ≠ "use case"

my limited imagination only comes up with

>> recording / engineering audio from multiple tracks

so happy to leave it at that, I'm sure lots of prospective users are interested in that

EDIT yes gaming while work-from-home and/or background music I can see that
 
Congratulations again on the excellent project.

I see these developments:
- The project seems perfect for an active speaker. Camilladsp might also be good for a desktop, but not for an active speaker. DSPi would be perfect, with SPDIF input and remote control.

- It would be even better if it had multi-room Wi-Fi, like Sonos. The only suitable open-source protocol is Snapcast. I've experimented with ESP32, with poor results (https://www.pschatzmann.ch/home/2023/11/03/arduino-audio-tools-a-snapcast-client-for-arduino/).

- Since SPDIF input is imminent, it would be nice to see it as a Windows input, since sound cards with SPDIF input/output aren't that popular.

And why not, maybe an Ultranet input/output (https://github.com/doughadfield/Ultranet-to-I2S), copyright permitting. Or AES67. I'm fantasizing too much...

I'm not a programmer, but I'll try to collaborate to the best of my ability.
 
Hi, is there a roadmap (a projected timeline of potential upcoming features) somewhere?

I'm currently compiling my shopping list to test this out, and I was wondering, for example, if you plan to support Wi-Fi/Bluetooth in the future (for instance, to control the DSPi with a mobile app) even though I imagine the hardware resources would likely be reduced.

Basically, should I get a Pico 2 or a Pico 2 W?

Also, I find the ability to mix inputs very interesting!
In addition to its use in a backup studio or for general convenience (ambience/gaming), it could become as useful as a Swiss Army knife for nature sound recordists, field journalists, etc.

Could 96kHz support be optional for those using the DSPi in a more "light" way (minimal EQ, no advanced functions, crossovers, etc.)? Is that feasible?

Finally, a quick search led me to this interesting digital recorder project based on Pico ; perhaps it could provide some additional ideas. But again, the question of hardware resources remains.
 
Hi, is there a roadmap (a projected timeline of potential upcoming features) somewhere?

I'm currently compiling my shopping list to test this out, and I was wondering, for example, if you plan to support Wi-Fi/Bluetooth in the future (for instance, to control the DSPi with a mobile app) even though I imagine the hardware resources would likely be reduced.

Basically, should I get a Pico 2 or a Pico 2 W?

Also, I find the ability to mix inputs very interesting!
In addition to its use in a backup studio or for general convenience (ambience/gaming), it could become as useful as a Swiss Army knife for nature sound recordists, field journalists, etc.

Could 96kHz support be optional for those using the DSPi in a more "light" way (minimal EQ, no advanced functions, crossovers, etc.)? Is that feasible?

Finally, a quick search led me to this interesting digital recorder project based on Pico ; perhaps it could provide some additional ideas. But again, the question of hardware resources remains.
The speed with which Troy is moving is simply amazing. He has said that towards the beginning that he plans to include wifi control.

Since a 2W is only like € 2 more expensive, why not get one already. Or one of each 2 and 2W, since they are usually about the same as the shipping rate.
 
The speed with which Troy is moving is simply amazing. He has said that towards the beginning that he plans to include wifi control.

Since a 2W is only like € 2 more expensive, why not get one already. Or one of each 2 and 2W, since they are usually about the same as the shipping rate.
Yes, thank you, I thought I had read that information but I wasn't sure. ;)
 
I still don't understand how it's used, more specifically, where, with what etc.
 
I still don't understand how it's used, more specifically, where, with what etc.
So basically, the DSPi sits between the source(s) (computer, TV, CD player, gaming console, etc.) and the DAC or multiple DACs (depending on the intended use).

Currently, it can be used for room, speaker, or headphone correction via parametric EQ
and/or
to perform a crossover between a subwoofer and a pair of speakers, or to create multiple crossovers between the drivers of DIY active speakers.

In short, it does the work of a traditional DSP for a fraction of the price.

But other uses are either already planned or potentially feasible.
 
I found something called Pico W5 which is the same chip as RPi 2W but uses dual-band WiFi and Bluetooth 5.2. Would it be possible to use this instead? I'm interested in wireless capabilities for this project.
 
I found something called Pico W5 which is the same chip as RPi 2W but uses dual-band WiFi and Bluetooth 5.2. Would it be possible to use this instead? I'm interested in wireless capabilities for this project.
Yes. A branded Pico is not necessary. Any board with an RP2040 or preferably an RP2350 is supported. You just need to ensure that it exposes enough GPIO to meet your needs.
 
So, I've placed an order for this initial setup. €30 for the Pico 2WH, an SPDIF bracket for motherboard (the easy way), and a few cables.

The idea for now is to avoid soldering, get a feel for it, create a small 3D-printed enclosure, and have a simple USB-to-SPDIF interface for room correction, speaker correction, and headphone correction. This is all for a friend who also seems keen on the project but lacks specific skills, so I can help him with his attempt.

If the setup seems viable and stable, I'll continue the experiment by adding active crossover to a multi-way speaker.Then I'll compare it with my MiniDSP Flex Eight and my old but still reliable MiniDSP NanoDigi.

Fun days ahead! (Thanks in advance, Troy, for this. ;) )
 
Back
Top Bottom