![]() |
Sound Tweak Rpi4 - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: Audiophile (https://moodeaudio.org/forum/forumdisplay.php?fid=32) +--- Forum: Sound quality (https://moodeaudio.org/forum/forumdisplay.php?fid=34) +--- Thread: Sound Tweak Rpi4 (/showthread.php?tid=2774) |
RE: Sound Tweak Rpi4 - hifinet - 07-21-2020 DRONE7 wrote: Quote:Currently I'm using XMOS USB to i2s to hardware resampler (everything is resampled to DSD256) and an ES9028 DAC and I've just replaced the pwr xformer to the XMOS with a USB battery bank (Major xformer death causing this) so I have many variables to assimilate and compare. Do you have any recommendations for a decent budget hardware resampler? You posted on this one in diyAudio in 2018 Raspi-4137 Raspberry Pi Digital Network Player Supports 32bit 384K DSD256 | eBay Looks interesting, but not sure if I can use it with my current USB DAC. RE: Sound Tweak Rpi4 - Smallwire - 07-21-2020 (07-21-2020, 03:17 AM)DRONE7 Wrote:Hi, it sounds good with this cache added it to 0.22 -git.(07-21-2020, 01:35 AM)Tim Curtis Wrote: You can try it out yourself with 0.22~git (wait till it rebuilds the database after switching to it) RE: Sound Tweak Rpi4 - DRONE7 - 07-22-2020 (07-21-2020, 02:51 PM)hifinet Wrote: DRONE7 wrote: Unless you can access the i2s lines within your USB DAC I doubt you could use these two re-samplers. RE: Sound Tweak Rpi4 - DRONE7 - 07-22-2020 (07-21-2020, 01:35 AM)Tim Curtis Wrote: You can try it out yourself with 0.22~git (wait till it rebuilds the database after switching to it) ![]() ![]() Bob. RE: Sound Tweak Rpi4 - TheOldPresbyope - 07-22-2020 @DRONE7 You'll have to edit /var/www/inc/playerlib.php. Here's a snippet of function UpdMpdConf Code: // Input <<< this is line 1674 more or less I inserted a new Input Cache stanza so that this snippet reads Code: // Input I stuck them there out of a perverse sense of style but I suppose they could have preceded the decoder and input stanzas. Regards, Kent PS - I'm unsure what the max cache value should be for 512MB RPis. Memory usage in normal operation suggests there's at least 128MB free but maybe less than 200 MB. Anyone have any thoughts? RE: Sound Tweak Rpi4 - Tim Curtis - 07-22-2020 The value is prolly something that should be auto-calculated depending on the memory specs. In the Pi family we have .5, 1, 2, 4, and 8GB. Maybe something like 25% with a max of 512MB ?? Assuming 30 MB avg for the size of FLAC encoded track (Popular music) 512 MB -> 128 MB -> 4 tracks 1 GB -> 256 MB -> 8 tracks 2 GB -> 512 MB -> 16 tracks 4 GB -> 512 MB -> 16 tracks 8 GB -> 512 MB -> 16 tracks Alternatively it could be an option in MPD Config that has a range of values up to 50% of RAM. RE: Sound Tweak Rpi4 - hestehandler - 07-22-2020 (07-22-2020, 01:03 PM)Tim Curtis Wrote: The value is prolly something that should be auto-calculated depending on the memory specs. In the Pi family we have .5, 1, 2, 4, and 8GB. Maybe something like 25% with a max of 512MB ?? I have the 4GB Pi 4, and have been running the 0.22~ with 3GB of cache 24 hours of the day (as a test). So far no problems. The one GB RAM left over is plenty for everything else running on the Pi. By-the-by I’m also running it with two cores reserved exclusively for MPD, and that also seems to be running without problems. Also now running it on the 64-bit kernel, and that too is now running without problems (incl. updating the MPD database). RE: Sound Tweak Rpi4 - Tim Curtis - 07-22-2020 Thats cool. What does moodeutl -m show for RAM_USED? RE: Sound Tweak Rpi4 - hestehandler - 07-22-2020 (07-22-2020, 01:12 PM)Tim Curtis Wrote: Thats cool. What does moodeutl -m show for RAM_USED? CPU: 1.5 GHz | LOAD: 1% | TEMP: 53�C | RAM_USED: 77% | DISK_USED: 20% | DISK_FREE: 11G | FPM_POOL: 5 workers ![]() RE: Sound Tweak Rpi4 - kit1cat - 07-22-2020 Just tried this on my pi 3B+ using Kent's mod, tried values of 500 MB and 250 MB but not sure if it's working. RAM usage went from 18% to 23% for both values, was expecting a bigger RAM usage increase. |