Thank you for your donation!


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


Sound Tweak Rpi4
#37
(07-20-2020, 11:19 AM)hestehandler Wrote:
(07-19-2020, 09:16 PM)Tim Curtis Wrote: Not "advanced tweaks" but "reasonable set of options". There's some things already in moOde for "tuning and experimenting" including the cpu governor, 32/64 bit kernel and mpd git compiles. Maybe thats enough but it would be interesting to hear what people think would be useful and most importantly why.

You already have all the reasonable tweaks implemented. Output is bitperfect out of the box. I’m currently trying out these additional settings:
Code:
/boot/cmdline.txt
isolcpus=2,3

/lib/systemd/system/mpd.service
CPUSchedulingPolicy=fifo
CPUSchedulingPriority=70
Nice=-18
ExecStart=/usr/bin/taskset -c 2,3 /usr/local/bin/mpd --no-daemon $MPDCONF

/boot/config.txt
arm_freq=1000
sdram_freq=2000
core_freq=500
gpu_freq=500
over_voltage=-5
over_voltage_sdram=-5
gpu_mem=16 
max_usb_current=1
force_turbo=1
initial_turbo=60
avoid_pwm_pll=1

There is some reason to the isolated cores, but the /boot/config.txt tweaks are really esoteric, and without test equipment to examine noise and timing on the output there is no way to ever find optimal values since there are simply too many variables and permutations to audition by ear.

I would not venture down this path on mere anecdotes from users. Users interested in this kind of tweaking will probably not be satisfied in a simple ‘Tweaks: On/Off’ button anyway.

What might in the future yield better sound could be the MPD memory play that they are working on, but then again maybe not.

Audio data is queued in memory buffers for play and so you are already enjoying "RAM play". Furthermore, Linux caches the entire file in RAM as part of its internal disk caching mechanism. If the file is played again and hasn't been expired out of the cache there is no disk I-O and the data is simply transferred to the audio player memory buffers.

The only bad thing that can happen is a buffer under run which if they occur indicates that something upstream is malfunctioning and not able to deliver the data in a timely manner.
 
For sure there has to be a good case made for including an option but let's see what comes up.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Sound Tweak Rpi4 - by largo - 07-14-2020, 04:14 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 12:12 AM
RE: Sound Tweak Rpi4 - by largo - 07-15-2020, 07:20 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 05:06 PM
RE: Sound Tweak Rpi4 - by grasshopper - 07-16-2020, 06:48 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-15-2020, 12:25 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 12:44 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 02:20 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-15-2020, 01:01 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 06:30 PM
RE: Sound Tweak Rpi4 - by Dradder - 07-15-2020, 06:47 PM
RE: Sound Tweak Rpi4 - by sjoerdju - 07-17-2020, 10:09 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-15-2020, 08:25 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-16-2020, 10:19 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-17-2020, 02:25 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-17-2020, 11:26 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-17-2020, 12:24 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-19-2020, 07:28 AM
RE: Sound Tweak Rpi4 - by philrandal - 07-19-2020, 09:28 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-19-2020, 05:09 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-19-2020, 05:31 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-17-2020, 12:59 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-17-2020, 01:14 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-17-2020, 05:01 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-17-2020, 01:08 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-18-2020, 03:44 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-19-2020, 08:06 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-19-2020, 08:33 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-19-2020, 08:56 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-19-2020, 09:16 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-20-2020, 11:19 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-20-2020, 11:57 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-20-2020, 12:45 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-20-2020, 07:01 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-20-2020, 11:27 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-21-2020, 01:47 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-19-2020, 10:53 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-19-2020, 11:07 PM
RE: Sound Tweak Rpi4 - by Rinaldi - 07-20-2020, 12:57 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 04:27 AM
RE: Sound Tweak Rpi4 - by grasshopper - 07-20-2020, 11:26 AM
RE: Sound Tweak Rpi4 - by efung - 07-20-2020, 08:32 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 09:30 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-20-2020, 01:19 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 02:37 PM
RE: Sound Tweak Rpi4 - by grasshopper - 07-20-2020, 03:37 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-20-2020, 02:54 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 04:32 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-20-2020, 06:07 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 11:01 PM
RE: Sound Tweak Rpi4 - by efung - 07-21-2020, 01:47 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-21-2020, 03:01 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-21-2020, 12:07 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-21-2020, 12:22 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-21-2020, 12:48 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-21-2020, 01:35 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-21-2020, 03:17 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-21-2020, 02:51 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-22-2020, 12:54 AM
RE: Sound Tweak Rpi4 - by Smallwire - 07-21-2020, 09:04 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-22-2020, 05:19 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-21-2020, 02:42 AM
RE: Sound Tweak Rpi4 - by philrandal - 07-21-2020, 11:40 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-21-2020, 11:59 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 10:50 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-23-2020, 08:12 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 01:03 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-22-2020, 01:09 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 01:12 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-22-2020, 01:33 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 02:21 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-22-2020, 02:30 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 02:40 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 02:43 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-22-2020, 03:07 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 03:25 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-22-2020, 03:39 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 03:46 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 06:49 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 07:05 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-22-2020, 07:29 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 07:52 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 08:01 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-22-2020, 08:31 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 08:35 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-22-2020, 09:27 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 10:06 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 10:23 PM
RE: Sound Tweak Rpi4 - by efung - 07-22-2020, 10:59 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 07:25 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-23-2020, 09:04 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 09:58 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-23-2020, 10:00 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 10:08 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-23-2020, 10:32 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 10:48 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-23-2020, 11:00 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-23-2020, 12:05 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 12:04 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 12:16 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-23-2020, 12:18 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 08:48 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-23-2020, 12:21 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-23-2020, 06:51 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-23-2020, 12:27 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 01:39 PM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 02:43 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-24-2020, 11:05 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 06:09 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-25-2020, 09:26 AM
RE: Sound Tweak Rpi4 - by kit1cat - 07-24-2020, 06:15 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 06:38 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-24-2020, 06:47 PM
RE: Sound Tweak Rpi4 - by grasshopper - 07-25-2020, 09:46 AM
RE: Sound Tweak Rpi4 - by kit1cat - 07-25-2020, 10:16 AM
RE: Sound Tweak Rpi4 - by grasshopper - 07-25-2020, 05:09 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 07:05 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-24-2020, 07:45 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-25-2020, 12:30 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-25-2020, 12:37 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-25-2020, 01:22 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-25-2020, 09:57 AM
RE: Sound Tweak Rpi4 - by boucher - 07-25-2020, 07:19 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-25-2020, 07:31 PM
RE: Sound Tweak Rpi4 - by boucher - 07-25-2020, 08:57 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-25-2020, 09:52 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-25-2020, 09:05 PM
RE: Sound Tweak Rpi4 - by wkloppen - 10-31-2024, 08:40 AM
RE: Sound Tweak Rpi4 - by wkloppen - 10-31-2024, 09:10 AM
RE: Sound Tweak Rpi4 - by Snoil - 03-31-2025, 07:15 AM

Forum Jump: