Tweaking the audio performance Rpi3

Raspberry Pi related support

Re: Tweaking the audio performance Rpi3

Postby Discovery » 09 Jan 2017, 22:12

Hi Rune Frost,

I'd like to try your changes however there are a few questions I'd like to ask first.

1. SOX Resampler Changes
You suggest changes to the active source in /etc/mpd.conf. I couldn't see any 'active source' in this file. It appears to specify outputs only. Can you clarify this please, perhaps with an extract of your file to show how the changes are entered?

2. Changes to /boot/bootcfg.txt
This filename doesn't exist in this subdirectory. I do recognise some of these values as present in /boot/cmdline.txt. Is this the file you mean?

3. Changes to /var/www/command/orion_optimize.sh
For your text starting * Common startup * it's unclear if your content replaces or appends to the existing content in this file. Please explain.

For the second text panel, starting 'ifconfig eth0 mtu 9000', does this also go in orion_optimize.sh? If so, at the end of the file?

Thanks in advance for your clarifications.
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

Re: Tweaking the audio performance Rpi3

Postby Frost_dk » 09 Jan 2017, 22:53

Frost_dk
 
Posts: 44
Joined: 23 Nov 2015, 20:39
Location: Horsens, Denmark

Re: Tweaking the audio performance Rpi3

Postby Frost_dk » 09 Jan 2017, 22:56

Frost_dk
 
Posts: 44
Joined: 23 Nov 2015, 20:39
Location: Horsens, Denmark

Re: Tweaking the audio performance Rpi3

Postby hondagx35 » 09 Jan 2017, 23:43

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Tweaking the audio performance Rpi3

Postby Discovery » 10 Jan 2017, 00:55

Hi Rune Frost,

Finally completed the changes...

Just before I tell you the results, many thanks for the clarifications. The only thing that held me up was the Chattr commands - there needs to be a space after the -i and +i parameter for it to work and I didn't see it at first, i.e. 'chattr -i /etc/mpd.conf'. I'm so new to Linux I can only just spell it but it just didn't look right to me. However, a bit of experimenting sorted it. Many thanks for your efforts, especially in English. :-)

I have an RPi2 that is set up for RuneAudio so I tested the modified RPi3 against this as a standard reference. The RPi2 has a HifiBerry Digi card outputting to my DAC on an optical link. This was changed to the 'Orion V2' profile so all parameters were exactly matched. The RPi3 is using the DAC's USB port on my DAC. My RPi3 (as you probably know) has fboe's voltage mods so already sounded better.

So, the results...

Playing the same track on both Pis and flipping between them the change is now so much more evident. I didn't need to play more than a few seconds of each player to hear the difference - on any track. The sound is much more open and detailed. Or, to put it another way, it's like the difference between hearing a hifi system from outside the room, then stepping into the room and sitting down in front of the speakers. This is the best value change I've implemented so far! :-)

It's late here (as you're an hour ahead I expect you've already gone to bed) so I'll listen more tomorrow night but it is a great improvement! Well done - keep the ideas coming! :lol:

Kind regards,

Trevor
Last edited by Discovery on 10 Jan 2017, 09:02, edited 9 times in total.
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

Re: Tweaking the audio performance Rpi3

Postby Discovery » 10 Jan 2017, 01:03

Rune Frost,

With your greater Linux skills, I have another challenge for you... ;-)

There is mention in another thread of brutefir, which has been enabled on a Pi and allows room equalisation changes to be implemented. If you can work out how to get that configured, I'd be very grateful! :-)

The thread that mentions it is here: rune-audio-and-brutefir-convolver-for-roomcorrection-t1094.html#p6418

I already have a MiniDSP UMIK-1 microphone, needed to make the room measurements in REW or similar. If you can get brutefir working, I'd be happy to lend you my microphone so you can build your own room configuration files.

Regards,

Trevor
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

Re: Tweaking the audio performance Rpi3

Postby Frost_dk » 10 Jan 2017, 13:00

Frost_dk
 
Posts: 44
Joined: 23 Nov 2015, 20:39
Location: Horsens, Denmark

Re: Tweaking the audio performance Rpi3

Postby Discovery » 10 Jan 2017, 13:33

Hi Frank,

I hope you are well. You continue to do a great job supporting us all here and it's only appropriate to remind you from time to time. :-)

I notice your involvement in this thread, and I feel that you are also interested in the endless pursuit of ultimate sound quality so may have even tried this for yourself.

If you were to agree that this was a positive and worthwhile improvement, could it be packaged up as an 'alternative' build, perhaps? This might be an easier way to share the benefits with a wider audience who don't want to learn about SSH, Nano, and the stringent demands of unforgiving syntax...!

My only caveat is that I am unaware what the changes sound like without fboe's voltage mods so I can't comment on exactly what it would sound like on a standard RPi3. However, I know it increased the improvement on mine so I have no doubt that there is benefit of its own.

For those interested in fboe's first modification (3x-powersupply-for-rpi-t4141.html) - to feed the 5v power to GPIO pins 2 and 6 instead of using the standard micro-USB port - this is very easy to achieve with a suitable cheap cable, e.g. https://www.modmypi.com/raspberry-pi/gp ... spberry-pi and a suitable USB adapter, e.g. http://www.dx.com/p/usb-female-to-micro ... HTWe1OLRhE. This resulted in an immediate improvement in sound quality.

Kind regards,

Trevor
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

Re: Tweaking the audio performance Rpi3

Postby Yatsushiro » 10 Jan 2017, 14:10

Yatsushiro
 
Posts: 90
Joined: 11 May 2016, 10:30

Re: Tweaking the audio performance Rpi3

Postby Discovery » 10 Jan 2017, 14:41

There you go - the Kali reclocker sounds like a great approach if you are using an I2S approach. For value for money, this looks a great way to go. :-)

I use an external DAC so take a different route. My connection to the DAC is an asynchronous USB connection. This approach uses the high-quality DAC clock as the master to control and regulate the interface from the Pi as the slave device (topping up the DAC's FIFO buffer as required), so jitter is much less of a concern.
Discovery
 
Posts: 110
Joined: 06 May 2015, 08:22
Location: Cambridgeshire, UK

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 18 guests