hey there, is it possible to change the samplerate of a an xml project somewhere in the file? sigmastudio does not work very well for me, even if i load sample projects from git i get no sound output sometimes, loading projects via dsptoolkit works fine tho
16 comments
-
HiFiBerry team Unfortunately this isn't possible. There is not just a single number with the sample rate, but the sample rate will effect lots of settings in the profile.
Best regards,
Daniel
-
HiFiBerry team If you are looking for 96/192kHz profiles, we have 2 sample profiles now:
https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/sample_files/xml/generic96.xml
https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/sample_files/xml/generic192.xml
Best regards,
Daniel -
Cornel Serban Hi Daniel,
I tried both there and there is no sound comming from the output, neither for PI or SPDIF.
Also, when i use get-samplerate from dsptoolkit i get 48000 on these two profiles.
I've tried powering off on installing them again without success, same result.
Also, the 192 sigma project from git has a autoeq block that is not bind to any Input Output.
Thank you!
Cornel
-
HiFiBerry team The Auto-EQ block is just a leftover. You can remove this one.
Do you use the profile with the DAC+ DSP or the Beocreate?It might be a MUTE problem as this works differently on both boards.
Best regards,
Daniel -
Cornel Serban I used for DAC+ DSP.
BTW, get-samplerate gets input samplerate from TV or configured output?
Thanks.
Cornel
-
HiFiBerry team Ok, might be a problem with MUTE as I tested this only on the Beocreate.
get-samplerate only retrieves the metadata that's stored in the DSP profile. This is needed, e.g. if you create filters as the coefficients will be different for different sample rates.Best regards,
Daniel -
Cornel Serban Hi Daniel,
I think i foud the problems.
One is with asrc were GPIO 13 is used instead of 6.
The second is that mute is checked in input selctor on SPDIF.
Thanks.
Cornel
-
Cornel Serban :)) or maybe not..i will see how i can fix it
-
HiFiBerry team You might need to inverse the output on GPIO13.
-
Cornel Serban yes! It works
-
Fester Hi,
I'm just going to tag along to this, I have the same issue of having a 48kHz sample rate with the 192kHz profile.
I'm however not experienced using DSP's before or SigmaStudio. I've found the mute button for the input selector on the SPDIF, however I can't find where to invert the output on GPIO13.
Thanks in advance. :)
-
Cornel Serban Hi Fester,
On ASRC with mute you will find this in Sigmastudio.
Cornel
-
Fester Hi Cornel,
Thanks, I found it! Together with the SPDIF button I now have sound coming from my TV and everything via AirPlay/Spotify working. However, according to dsptoolkit get-samplerate, it's still running at 48kHz.
Am I doing the inversion of the output wrong? Currently I've set it up like this: https://i.imgur.com/sIYLZlp.png. I've tried all 4 combinations of: Inverter On, GPIO13 - Inverter Off, GPIO13 - Inverter On, GPIO6 - Inverter Off, GPIO6 and in none of the cases will it run at 192kHz.
I followed the docs on github (https://github.com/hifiberry/hifiberry-dsp/blob/master/doc/dspprofiles.md) to get the profile merged with the params file and running on the DSP.
-
HiFiBerry team Hi Fester,
the get-samplerate looks for the sample rate metadata attribute:
<metadata type="sampleRate">192000</metadata>
If it's not in the profile, it assumes 48kHz. Just add this to you profile.
Best regards,
Daniel -
Fester Hi Daniel,
Thanks for the comment! Then it's all settled, I thought it was a bit weird everything worked but the samplerate still returned that.
Kind regards,
Fester
-
Matt @Cornel Serban and Fester, Just wanted to say thank you for the profiles! :)