• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. 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!

Looking for a USB to AES(or SPDIF) DDC with fixed sample rate

NeoHippy

Member
Joined
May 9, 2024
Messages
14
Likes
3
Hey guys,

as the title sais already I am looking for a USB to AES or SPDIF DDC, which is capable of a very good resampling, so it always plays at a fixed sample rate of 96khz (PCM).

I tried to find some devices online, but I could never find the info if a fixed sample rate could be set/used.

Incase you are confused why I am asking for this:

I want to feed a Camilla DSP on a rasperry PI with the Music I play from my PC (Tidal) ,via USB. Camilla DSP did not understand changing sample rates in our FIR configuration. So it is crucial that a fixed sample rate of 96khz goes into the DSP.

Does anyone know a good DDC which is capable of doing this?

Thanks a lot in advance
 
Why don't you just resample everything on the PC before sending them to Pi?
It's way better this way than a device with potentially limited recourses.
 
Why don't you just resample everything on the PC before sending them to Pi?
It's way better this way than a device with potentially limited recourses.
Thanks for answering. It would be a solution too. But it would require another software to run on the PC (the windows resampling is shit), so it would take away the plug and play capability. Probably won't come up often so its not too relevant, but if another PC wants to connect, it would be nice to not have to install and set-up another additional software, so the system works.


But do you have suggestions on Software or specific ways of doing it? :)

Thx
 
But do you have suggestions on Software or specific ways of doing it? :)

Thx
Not sure but it seems there are ways to finally integrate Tidal with Jriver,it's been sometime that users couldn't.
But you have to make sure about it,testing it and looking at the online guides,haven't tested it personally.
 
Camilla DSP did not understand changing sample rates in our FIR configuration

What do you mean by this? CamillaDSP is not changing sample rates? Or it is not changing to the correct FIR filter at the new sample rate?

It is pretty simple to switch sample rates with a USB gadget using gaudio_ctl (https://github.com/pavhofman/gaudio_ctl). Then all you need to do is make a configuration for each sample rate you want to use with FIR filters corresponding to that sample rate.

EDIT: This post -> https://www.audiosciencereview.com/...sb-source-ipad-and-usb-dac.25414/post-1180356 describes how to use gaudio_ctl if you are unfamiliar. You can ignore steps 1-6 if you are using a recent version of Ubuntu or Raspberry Pi OS.

There is also this -> https://www.diyaudio.com/community/threads/sample-rate-switcher-for-camilladsp.403054/ which I haven't not used.

Michael
 
Last edited:
What do you mean by this? CamillaDSP is not changing sample rates? Or it is not changing to the correct FIR filter at the new sample rate?

It is pretty simple to switch sample rates with a USB gadget using gaudio_ctl (https://github.com/pavhofman/gaudio_ctl). Then all you need to do is make a configuration for each sample rate you want to use with FIR filters corresponding to that sample rate.

EDIT: This post -> https://www.audiosciencereview.com/...sb-source-ipad-and-usb-dac.25414/post-1180356 describes how to use gaudio_ctl if you are unfamiliar. You can ignore steps 1-6 if you are using a recent version of Ubuntu or Raspberry Pi OS.

Michael
Well, camilla just didn't play any sound if the input sample rate of the song didn't match the set Sample rate of the camilla dsp/FIR filters. It wouldn't convert the samplerate by itself basically.

And the thing is, i only want to use 96khz FIR because the measurements showed some phase fuck ups in the 18-24khz range with a 48khz setup. Im not sure if it was only the dsp we were measuring with (xilica solaro) or if some other problem. It was very weird, but anyways it would be no problem with a fixed 96khz setup.


But thanks for your input, im gonna look through that.
 
Well, camilla just didn't play any sound if the input sample rate of the song didn't match the set Sample rate of the camilla dsp/FIR filters. It wouldn't convert the samplerate by itself basically.

And the thing is, i only want to use 96khz FIR because the measurements showed some phase fuck ups in the 18-24khz range with a 48khz setup. Im not sure if it was only the dsp we were measuring with (xilica solaro) or if some other problem. It was very weird, but anyways it would be no problem with a fixed 96khz setup.


But thanks for your input, im gonna look through that.

If you want to stick to 96 kHz, you can use CamillaDSP to resample everything to 96 kHz. You'll still need to use a method of changing the capture sample rate (gaudio_ctl or camilladsp-setrate) to match your source file, but you can have it resample to 96 kHz in all cases.

Michael
 

If you want to stick to 96 kHz, you can use CamillaDSP to resample everything to 96 kHz. You'll still need to use a method of changing the capture sample rate (gaudio_ctl or camilladsp-setrate) to match your source file, but you can have it resample to 96 kHz in all cases.

Michael
Thank you! Thats very helpful and sounds like a solution. Im really not into PIs and programming so I have a stupid question. Setrate for example. Does it only work when audio is put in via USB?

because the planed setup would be as follows:

Pc with usb to aes interface

goes into okto dac 8 aes input

Okto dac is connected via usb to rasperry pi with camilla, which makes the FIR processing.

then octo puts out the processed signals over Analog Outputs to amps.

Wouldn't it be lots easier to simply have a usb to aes interface with a fixed sample rate? Would spare the whole setrate setup and programmingsl


And Is the resampling of camilla good? Do you (or anybody else) have any experience with it?
 
Last edited:
I am not very familiar camilladsp-setrate, but yes, it only works when using the Pi as a USB gadget, same with gaudio_ctl.

CamillaDSP resampling is very good (and you can choose the quality of the resampling algorithm you want to use). You also have the advantage of being able to see if the resampling results in clipping (CamillaDSP reports clipped samples) and can attenuate if necessary.

Many ASRCs provide no headroom and will clip material with intersample overs, of course you are dealing with a computer based setup and you can attenuate at the source, but personally I’d rather let CamillaDSP do everything as I know it will be high quality. Also eliminates unnecessary boxes.

I have an Okto, I’ll see if I can get setrate working on it.

Michael
 
I am not very familiar camilladsp-setrate, but yes, it only works when using the Pi as a USB gadget, same with gaudio_ctl.

CamillaDSP resampling is very good (and you can choose the quality of the resampling algorithm you want to use). You also have the advantage of being able to see if the resampling results in clipping (CamillaDSP reports clipped samples) and can attenuate if necessary.

Many ASRCs provide no headroom and will clip material with intersample overs, of course you are dealing with a computer based setup and you can attenuate at the source, but personally I’d rather let CamillaDSP do everything as I know it will be high quality. Also eliminates unnecessary boxes.

I have an Okto, I’ll see if I can get setrate working on it.

Michael
Thanks!


Okay so i would habe to connect my PC via USB to the PI and use the pi basically as audio interfaces? Did i understand that right?

I mean that wouldn't bother me at all. But could you still have the okto hooked up the the PI as well, so i can use its 8 dacs after camilla Processing?
 
Back
Top Bottom