Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Oct 2016
    Posts
    238

    TinyCore-Sound-Adjustments Script

    If anyone is interested I've made a script similar to the one I have for Debian based systems for TinyCore [PiCorePlayer]

    Easy install, clean and easy removal.

    https://github.com/dynobot/TinyCore-Sound-Adjustments

  2. #2
    Thanks!

    I stumbled upon your website from Hackaday and was looking to see if anyone had tried your TinyCore tweaks with piCorePlayer...

    I just applied the script and the kernel pCP tweaks, and everything is running fine with my one piCorePlayer.

    I also use a PiCorePlayer to run just LMS (without squeezelite). I don't think I'll apply the underclocking tweaks since the LMS pi probably needs all the oomph it can get. But the script apply worked fine for the LMS, pi, too!

    Cheers!

  3. #3
    Senior Member
    Join Date
    Sep 2009
    Location
    Norway
    Posts
    172
    Looking at bootlocal and install, I don't see exactly what is done, but README says audio threads are prioritized and scheduling changed to FIFO ... it sounds to me like stuff that should be made standard in piCorePlayer. Any reason not to?

    /Claus

  4. #4
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    1,850
    There are other options built into the web interface, and some just prefer to run a script. Do what makes you feel better, it's all personal preference.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #5
    Senior Member
    Join Date
    Nov 2009
    Location
    DUS
    Posts
    838
    Look folks.

    Forget this Dynobot "sound-adjustments" stuff. What he suggest has nothing to do with "sound" in the first place.
    He's just using it as a hook.

    Let's have a look what he offers:

    * Improving the priority of the Audio threads
    * Change audio thread scheduling from 'other' to FIFO
    * Improving the latency of the Operating System with Kernel adjustments
    * Change Squeezelite priority and thread scheduling to FIFO
    1. He is not improving anything. He is changing a process priority. And the actual relevant audio output thread he's not even touching.
    He obviously doesn't understand the difference between process and thread.
    2. The key - audio relevant - thread - the output thread - runs elevated (realtime) and fifo anyhow, but only if preemption is enabled
    in the kernel already. You'd basically need to run a realtime kernel.
    3. The output thread priority you set within the squeezelite setting mask. No need for a tool.
    4. And then he wildly changes 4 interrupt priorities and some useless parameters and calls it "kernel adjustments".
    To see real latency effects you'd need to tune the entire process and interrupt chain.


    And best of all. To lift """his""" outstanding findings on a higher level, he's providing these great tools for the entire "Debian" and "TinyCore"
    world.


    Great done Dynobot. Changing an alias won't change a mans attitude. (Which is well known for about a decade)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •