Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


How to get a warmer sound?
#28
Hi, now I had a bit of fun skimming through the scripts and options I started playing around and I think I found a good sound quality with the following changes in the Sound.sh (which is slightly different  to Edwards from in Brianlight's).

I uncomment the MPD Affinity and Priority as I am using a high quality external USB DAC and also gave my RPI 4 4GB RAM cores 3 an 4 to MDP exclusively. Secondly I gave my external USB DAC faster data flow by uncommenting the line.

Cheers
Chris

Sound.sh below

#!/bin/bash

#Reduce Audio thread latency
chrt -f -p 54 $(pgrep ksoftirqd/0)
chrt -f -p 54 $(pgrep ksoftirqd/1)
chrt -f -p 54 $(pgrep ksoftirqd/2)
chrt -f -p 54 $(pgrep ksoftirqd/3)

#Uncomment for MPD Affinity and Priority, chrt sets now MDP FIFO, taskset sets MDP prirority to 3rd or 4th core using RPI 4
chrt -f -p 81 $(pidof mpd)
taskset -c -p 3,4 $(pidof mpd)

#USB Dacs Uncomment to reduce USB latency
modprobe snd-usb-audio nrpacks=1

#SPDIF HAT and WiFi users Uncomment to turn off power to [Ethernet and USB] ports
#echo 0x0 > /sys/devices/platform/soc/3f980000.usb/buspower

#Reduce operating system latency
echo noop > /sys/block/mmcblk0/queue/scheduler
echo 1000000 > /proc/sys/kernel/sched_latency_ns
echo 100000 > /proc/sys/kernel/sched_min_granularity_ns
echo 25000 > /proc/sys/kernel/sched_wakeup_granularity_ns

exit
Reply


Messages In This Thread
How to get a warmer sound? - by stretchneck - 12-04-2019, 10:07 AM
RE: How to get a warmer sound? - by grasshopper - 12-04-2019, 12:50 PM
RE: How to get a warmer sound? - by Skip Pack - 12-04-2019, 05:58 PM
RE: How to get a warmer sound? - by CallMeMike - 12-05-2019, 04:45 AM
RE: How to get a warmer sound? - by Convert - 05-15-2020, 07:35 AM
RE: How to get a warmer sound? - by stretchneck - 12-13-2019, 08:45 PM
RE: How to get a warmer sound? - by Tim Curtis - 12-13-2019, 09:53 PM
RE: How to get a warmer sound? - by stretchneck - 12-14-2019, 09:53 AM
RE: How to get a warmer sound? - by Tim Curtis - 12-14-2019, 01:17 PM
RE: How to get a warmer sound? - by Tim Curtis - 12-14-2019, 01:18 PM
RE: How to get a warmer sound? - by stretchneck - 12-14-2019, 07:08 PM
RE: How to get a warmer sound? - by stretchneck - 12-15-2019, 08:53 PM
RE: How to get a warmer sound? - by Tim Curtis - 12-15-2019, 09:27 PM
RE: How to get a warmer sound? - by stretchneck - 12-16-2019, 11:35 AM
RE: How to get a warmer sound? - by Tim Curtis - 12-16-2019, 12:13 PM
RE: How to get a warmer sound? - by stretchneck - 12-17-2019, 08:16 AM
RE: How to get a warmer sound? - by Tim Curtis - 12-17-2019, 02:34 PM
RE: How to get a warmer sound? - by DRONE7 - 12-17-2019, 09:16 AM
RE: How to get a warmer sound? - by jonners - 12-17-2019, 04:09 PM
RE: How to get a warmer sound? - by stretchneck - 12-17-2019, 09:13 PM
RE: How to get a warmer sound? - by Tim Curtis - 12-17-2019, 05:21 PM
RE: How to get a warmer sound? - by stretchneck - 12-17-2019, 09:16 PM
RE: How to get a warmer sound? - by DRONE7 - 12-17-2019, 09:48 PM
RE: How to get a warmer sound? - by stretchneck - 12-18-2019, 08:37 AM
RE: How to get a warmer sound? - by kit1cat - 05-15-2020, 09:10 AM
RE: How to get a warmer sound? - by Convert - 05-17-2020, 01:55 AM
RE: How to get a warmer sound? - by Convert - 05-17-2020, 06:48 AM
RE: How to get a warmer sound? - by philrandal - 06-17-2020, 07:49 PM
RE: How to get a warmer sound? - by boucher - 07-11-2020, 03:20 AM
RE: How to get a warmer sound? - by Skip Pack - 07-11-2020, 06:22 PM
RE: How to get a warmer sound? - by boucher - 07-11-2020, 08:35 PM

Forum Jump: