Results 21 to 27 of 27
-
2021-08-07, 09:42 #21
- Join Date
- Apr 2010
- Posts
- 786
-
2021-09-30, 12:56 #22
- Join Date
- Apr 2018
- Posts
- 53
I'm plaanning on going the same route: Hifiberry Digi2 (Pro) + DSP Add-on foor room correction. But your post confuses me a bit if it's working fine with Squeezeplayer or not. Especially since you mention "Also, their (experimental) room correction feature didn't work for me." But you end with "This is just a heads-up that it does all work rather well".
Would like to get more details. More in particular if the combo Pi4 + Hifiberry Digi2 (Pro) and DSP add-on is working for (simple) digital room correction.
-
2021-09-30, 13:06 #23
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 9,115
Have a look at this thread first.
https://r.tapatalk.com/shareLink/top...ink_source=app
Sent from my Pixel 3a using Tapatalk
-
2021-10-01, 07:03 #24
- Join Date
- Apr 2005
- Location
- Honiton, Devon, UK
- Posts
- 2,000
As slartibartfast pointed out, there's another relevant thread here: https://forums.slimdevices.com/showt...Bass-Artefacts.
But here's a quick summary of what I discovered:
1. To set up the filters in the DSP card, you need to boot your RPi into HiFiBerryOS. Then you can manually add the filters required.
2. HiFiBerryOS does include Squeezelite, which would seem to imply that you can just run your RPi under HiFiBerryOS and use it as an LMS player. However, the version of Squeezelite they use is very old and I found that it was very unreliable. Therefore once the filters are loaded into the DSP card, you need to reboot the RPi into some other appropriate OS such as piCorePlayer, and the filters remain active.
3. To figure out what filters you need, HiFiBerryOS has a room correction facility, but I found that it simply didn't work, so I used REW to calculate the filters instead. I opened a thread on the HiFiBerry community about this (https://support.hifiberry.com/hc/en-...oom-Correction) and some others reported the same issue - that it didn't work with the Digi2Pro+DSP combination. The latest posting on that thread suggests that there's an experimental new release that fixes the issue with their room correction facility.
Having said all this, in the end I do NOT recommend using the DSP card for room correction. When I had the filters active, they produced some weird bass artefacts, sounding a bit like turntable rumble. It was fairly subtle, but once you've heard it, you can't ignore it.
As is discussed in the other thread linked above, it's a simple matter to set up a custom convert file in LMS to apply the required filters using SOX, and this approach doesn't produce those weird bass artefacts. I had initially thought that the RPi3 I use as my LMS server wouldn't have enough CPU power to run the filters, but it turns out not to be an issue.
If you've not yet bought the DSP card, don't bother. I have since sold mine on eBay. The Digi2Pro itself is a perfectly fine SPDIF interface for the RPi, but note that there are other similar cards available from other vendors. And if you have a USB capable DAC, then you don't need one at all.
I should have updated this thread with these conclusions, and I apologise for failing to do so. Consider this reply to be that update!Until recently: Transporter -> ATC SCM100A, now sold :-(
House move forced change to: piCorePlayer(RPi2/HiFiBerry DIGI2 Pro) -> Meridian 218 -> Meridian M6
-
2021-11-04, 08:55 #25
- Join Date
- Sep 2021
- Posts
- 22
I meant to update that thread too...
It turns out there is a quirk with that rule, if you seek to a point in a track it doesn't apply. I've found it quite a useful way of A/B testing the EQ settings - play a song (the filters are applied), then use the time control to scrub back to near the beginning and the rule doesn't invoke, so you hear the song without the EQ.
It can be fixed by adding "# T" (without the quote marks) as a second line in the rule (according to the docs, have to admit I've not personally tested it).
-
2022-01-14, 08:39 #26
- Join Date
- Apr 2005
- Location
- Honiton, Devon, UK
- Posts
- 2,000
Sorry to reopen this thread, but I just revisited it to get some info and saw your comment about the filtering not working after a seek. I don't generally seek so hadn't noticed, but after seeing your comment I decided to check, and sure enough the EQ stops after a seek.
I tried adding the #T, but that appeared to just break the transcode rule completely. (No EQ applied at any time).
Then I saw this in the default convert.conf file:
Code:flc flc transcode * # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d} [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
(Incidentally, looking at the rule in the default convert.conf, and checking what processes are running on the LMS server, I suspect that what happens when you seek is that the custom-convert rule is abandoned and the transcode rule in the default file gets used).
Does anyone understand enough about this to explain exactly what needs to be put into the custom-convert file so that the rule continues to be used after a seek?Until recently: Transporter -> ATC SCM100A, now sold :-(
House move forced change to: piCorePlayer(RPi2/HiFiBerry DIGI2 Pro) -> Meridian 218 -> Meridian M6
-
2022-01-16, 10:21 #27
- Join Date
- Apr 2005
- Location
- Honiton, Devon, UK
- Posts
- 2,000
OK, I think I've sorted this out so will post my findings here in case it helps anyone else.
My mistake was not understanding what's going on in the default convert.conf file. All I did was add the #FT line to my custom file. It looks as if when you seek during playback, LMS starts a whole new decoding operation, and expects the conversion rule to cope with starting at the seek position. Of course the rule in my file didn't have anything in it to define where to begin, and so the song started again from the start.
As far as I can tell, there isn't an option in sox to start at a specific place in the file, so we have to run a flac decode starting at the seek position and pipe its output through sox to re-encode to flac and do any other processing required - in my case the EQ for room correction.
So my custom convert file ended up as:
Code:flc flc * b8:27:eb:e0:f9:75 # FT:{START=--skip=%t}U:{END=--until=%v} [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q --multi-threaded --no-clobber -t wav - -t flac -C 0 - equalizer 54.3 2.831q -19.2 equalizer 71.1 3.982q +9.0 equalizer 75.2 7.677q -5.4 equalizer 89.3 11.271q -5.5 equalizer 148 13.429q -13.3 equalizer 202 5.0q -6.2 equalizer 225 5.0q +6.3
From the tests I've done so far, the seeking now works properly, and the room EQ is maintained after a seek.Until recently: Transporter -> ATC SCM100A, now sold :-(
House move forced change to: piCorePlayer(RPi2/HiFiBerry DIGI2 Pro) -> Meridian 218 -> Meridian M6