Yes, CM3 won't fit my case properly and I'd also like the option to do video stuff or perhaps even some games if I can get them to run.
Makes sense, but you can expect some DTS config and general linux work ahead of you. It took me a few days to chew through radxa compilation tools to get the latest kernel, rebuild the image, learn how to modify modules in their build (you may probably not need that, but I had to change HW limits in alsa drivers for the max-samplerate checks). Getting DTS correct for the multichannel output took me many hours too, but I started with a "too clever" DTS and struggled with disabling TDM, etc...
But once you get through this you should end up with the latest kernel (for latest USB gadget and generally latest kernel development) and quite recent debian with working apt.
But once you get through this you should end up with the latest kernel (for latest USB gadget and generally latest kernel development) and quite recent debian with working apt.
Hi all
Hope it is not already answered…
The miniDSP U-DIO8. Does anybody know, if it will work with a RBP4 and CamillaDSP?
Thx
Christian
Hope it is not already answered…
The miniDSP U-DIO8. Does anybody know, if it will work with a RBP4 and CamillaDSP?
Thx
Christian
Raspberry Pi 5 about to be released. That might be worth checking out to see if it is better for your purpose.
https://thepihut.com/products/raspberry-pi-5?mc_cid=f0732edf4f
C&P from the email I had. Apologies if the formatting is horrible...
".
https://thepihut.com/products/raspberry-pi-5?mc_cid=f0732edf4f
C&P from the email I had. Apologies if the formatting is horrible...
".
|
|
|
|
|
|
|
|
Last edited:
Already being worked on https://forums.raspberrypi.com/viewtopic.php?t=356922#p2138931 . But honestly I hold the chances low...Raspberry Pi 5 newly released. That might be worth checking out to see if it is better for your purpose.
I half expected that but I thought you'd like to know about it if you didn't already. From the quick look I've had I think its mostly about improving video functionality.
We will need to wait for the specs, there are also questions about USB-OTG functionality etc, it will take a few days to clear out. I am a bit disappointed by the 16nm process of the Broadcom (A76 Rockchip RK3588 uses 8nm), presuming (maybe incorrectly) larger nm consumes more power...
It depends on the hat. Generally, it will not "just work".are the radxa boards combatible with rpi hats?
Makes sense, but you can expect some DTS config and general linux work ahead of you. It took me a few days to chew through radxa compilation tools to get the latest kernel, rebuild the image, learn how to modify modules in their build (you may probably not need that, but I had to change HW limits in alsa drivers for the max-samplerate checks). Getting DTS correct for the multichannel output took me many hours too, but I started with a "too clever" DTS and struggled with disabling TDM, etc...
But once you get through this you should end up with the latest kernel (for latest USB gadget and generally latest kernel development) and quite recent debian with working apt.
You said in a previous post... "there is no reason to use RPi for multi-channel DSP" ... now you know why people use it!
Perhaps I should wait a little to see if RPi5 has multi-channel I2S out of the box... it is more powerful and better supported than Rock4C+, but a similar price. I can always cut out the section where my RPi4 sits and bolt on a new piece that fits the RPi5.
Will Pi5 have lower audio latency? I guess no? My Camilladsp setup has about 50ms latency. It's about as good as it can get. Chunksize is at 256. Anyone knows how to lower the latency even more?
Sure, most people use a pre-configured image like moode and if anything occurs, are stuck. But someone had to prepare the image and do the work, it did not appear out of nowhere 🙂 Compiling modules for RPi is not trivial either, DTS needs to be hacked too if you want some customization. Building whole RPi image is probably more complicated than Radxa because they released a rebuilding tool which being plain bash can be hacked.You said in a previous post... "there is no reason to use RPi for multi-channel DSP" ... now you know why people use it!
Like the USB audio gadget code had to be finished and pushed through first. The same will be with RPi5, there will be many changes. IIUC they use DWC3 which will most likely behave differently and require polishing for RPi5, like it was with DWC2. Again - someone will have to make these and it will not be the RPi people 🙂
There seem to be three I2S controllers https://github.com/raspberrypi/linu...19df2a687a126136f4/arch/arm/boot/dts/rp1.dtsi Most likely stereo because the patches to the dwc i2s controller (which they apparently used for RP1) talk about "stereo only". The pins allocated to the controller in that dtsi are only 4 (bclk, lrclk, dout, din). But they seem to be same for I2S0 and I2S1 - https://github.com/raspberrypi/linu...126136f4/arch/arm/boot/dts/rp1.dtsi#L609-L619 - I do not understand what would be the reasoning. Hopefully the datasheet will tell more, maybe more alternatives can be assigned, hard to tell without the datasheet...Perhaps I should wait a little to see if RPi5 has multi-channel I2S out of the box... it is more powerful and better supported than Rock4C+, but a similar price. I can always cut out the section where my RPi4 sits and bolt on a new piece that fits the RPi5.
It's so nice to read your story/journey and what the current thinking is.
I started my 4 way horn + tweeter journey, some 12 years ago.
No 3d printing or RPi then🙂
Really looking forward to see what you get working, the profiles of the horns you use etc.
Bass solution is always the biggest and most real estate consuming.
You are wise not to try analogue.
I did and whilst it worked, realistically it's expensive, limiting and hard to get top notch SQ, let alone the subtleties of PEQ and time alignment..
If I were doing it all today, Camilla DSP would be on my list.
Same questions you have, how to have a couple of inputs, USB / SPdif, perhaps an analogue, DSP things some, 8 channels out, remote volume control and excellent SQ..
I'm happy with my Najda DSP - sadly no more evolution of that since 2018! Wonder where it would be had creator and driving force Nick been around to carry it forward in the 2020s and beyond.
I did use a RPi + Kali Reclocker with Volumio for streaming, until going Ultrarendu earlier this year.
RPi5 with power button - amazing!
I've found time alignment to be crucial in wringing the very best out of my system / room.
You are right to place the highest requirements on this.
Most recently I align all the horn mouths physically, then time aligning the diaphragms with Holmimpulse, subtracting the horn length delay. Gives stunning realism. Quite a different presentation/cohesion to basic diaphragm alignment.
I can't quite get over how good it is!
Has anyone tried any of the 8 or 10 channel car audio DSPs?
Are they not fit for true multi horn Hifi SQ purpose?
I started my 4 way horn + tweeter journey, some 12 years ago.
No 3d printing or RPi then🙂
Really looking forward to see what you get working, the profiles of the horns you use etc.
Bass solution is always the biggest and most real estate consuming.
You are wise not to try analogue.
I did and whilst it worked, realistically it's expensive, limiting and hard to get top notch SQ, let alone the subtleties of PEQ and time alignment..
If I were doing it all today, Camilla DSP would be on my list.
Same questions you have, how to have a couple of inputs, USB / SPdif, perhaps an analogue, DSP things some, 8 channels out, remote volume control and excellent SQ..
I'm happy with my Najda DSP - sadly no more evolution of that since 2018! Wonder where it would be had creator and driving force Nick been around to carry it forward in the 2020s and beyond.
I did use a RPi + Kali Reclocker with Volumio for streaming, until going Ultrarendu earlier this year.
RPi5 with power button - amazing!
I've found time alignment to be crucial in wringing the very best out of my system / room.
You are right to place the highest requirements on this.
Most recently I align all the horn mouths physically, then time aligning the diaphragms with Holmimpulse, subtracting the horn length delay. Gives stunning realism. Quite a different presentation/cohesion to basic diaphragm alignment.
I can't quite get over how good it is!
Has anyone tried any of the 8 or 10 channel car audio DSPs?
Are they not fit for true multi horn Hifi SQ purpose?
There seem to be three I2S controllers https://github.com/raspberrypi/linu...19df2a687a126136f4/arch/arm/boot/dts/rp1.dtsi Most likely stereo because the patches to the dwc i2s controller (which they apparently used for RP1) talk about "stereo only". The pins allocated to the controller in that dtsi are only 4 (bclk, lrclk, dout, din). But they seem to be same for I2S0 and I2S1 - https://github.com/raspberrypi/linu...126136f4/arch/arm/boot/dts/rp1.dtsi#L609-L619 - I do not understand what would be the reasoning. Hopefully the datasheet will tell more, maybe more alternatives can be assigned, hard to tell without the datasheet...
Another clue...
https://github.com/raspberrypi/linu...arm/boot/dts/bcm2712-rpi.dtsi#L170C11-L170C11
I2S0 is a clock producer (aka master) and I2S1 is a clock consumer (aka slave). Looking at the RP1 DTS they are mapped to different memory ranges... I wonder whether those are two separate physical controllers or just one?
Here's the explanation of I2S0/I2S1 for you @phofman :
https://www.raspberrypi.com/news/james-adams-and-eben-upton-on-designing-raspberry-pi-5/
https://www.raspberrypi.com/news/james-adams-and-eben-upton-on-designing-raspberry-pi-5/
Eben 39:34: There’s a little bit of fun around I2S, right, that the I2S blocks we’ve got are unidirectional — so the old I2S block in 270x is a transceiver, is a bidirectional block, where what we have is, now we have two unidirectional blocks, a TX and an RX, MCSed onto the same pins. So there’s a few little quirks.
@gordoste : good catch. Those mentioned quirks must be quite heavy, because the configuration suggests TX and RX DMA channels for each controller https://github.com/raspberrypi/linu...750f95cd/arch/arm/boot/dts/rp1.dtsi#L364-L388 . Certainly stereo only, there is no TDM/PDM nor slot mentioned in https://github.com/raspberrypi/linu...c7c3e5dd33237750f95cd/sound/soc/dwc/dwc-i2s.c . Also only BCLK&LRCLK master or BCLK&LRCLK slave, no combined operation possible https://github.com/raspberrypi/linu...237750f95cd/sound/soc/dwc/dwc-i2s.c#L414-L417 - but that is probably not needed. Surprisingly no SND_SOC_DAIFMT_FORMAT_MASK is checked/processed in that driver which suggests only I2S format is supported - no left-justified, no clock inversion which gets handy when running at extra high samplerates especially in slave mode (though it's a hack, TBH).
We will see the performance at higher samplerates but this part looks pretty cut down, compared to (basically almost all) ARM SoCs with integrated peripherals. The samplerate is limited to 192kHz in the driver but that was the case for RPi4 too and only later (after success confirmations by users) raised to 384kHz (while it runs at 768kHz fine too, with some clock inversion hacks to account for signal skew).
We will see the performance at higher samplerates but this part looks pretty cut down, compared to (basically almost all) ARM SoCs with integrated peripherals. The samplerate is limited to 192kHz in the driver but that was the case for RPi4 too and only later (after success confirmations by users) raised to 384kHz (while it runs at 768kHz fine too, with some clock inversion hacks to account for signal skew).
Looks like it's time for me to order the Rock4C+ because the RPi5 seems almost worse than RPi4 for multi-channel output.
IMO it's only stereo, just like RPi4B. While I understand they wanted to make RPi5 GPIO-compatible with the previous models, additional I2S output lines could have been muxed with some other GPIO pins.
Did you see the RP1 datasheet ?
And the pin mapping table shows 4 pairs of SDI/SDO pins muxed with the other GPIO pins.
3.7.1. Instance configurations
• I2S0 is a clock-producer (master) with up to 4 bidirectional channels
• I2S1 is a clock-consumer (slave) with up to 4 bidirectional channels
And the pin mapping table shows 4 pairs of SDI/SDO pins muxed with the other GPIO pins.
- Home
- Source & Line
- PC Based
- Discussing about 8channel DSP using Camilla DSP + Raspberry PI -- Interface options