第62頁,共64頁 第一第一 ... 12526061626364 最後最後
顯示結果從 611 到 620 共計 638 條
  1. #611
    註冊日期
    2014-08-02
    文章
    378
    Thanks
    0
    Thanked 842 Times in 305 Posts

    預設

    引用 作者: sam0402 查看文章
    EVL 適合運用於更底層需RealTime的部份,而且用太多會把CPU 咬著不放,影響操作的順暢度。
    sam0402 兄你好,不知道 ioctl 是否真的能夠繞過 alsa-lib 呢?

    https://github.com/psqli/pcm.sh
    https://github.com/tsmetana/majacd
    https://github.com/peterjin-org/raw-alsa-player
    ALSA audio player using the raw kernel API (ioctl)

    This is a small audio player that is NOT linked to the ALSA library. Instead, it uses the raw kernel interface.

    Even though the userspace API claims to have "100% functionality of the kernel API," it does lack some features that are necessary in minimal environments, like:


    • The ability to use device nodes located outside of /dev/snd (useful in chroot)
    • Direct access to ioctl calls not implemented in the userspace library
    • Static linking and linking to minimal C libraries (uClibc, klibc, etc.)


    libasound is a compile-time dependency, but not a run-time dependency.
    Linux Ioctl internel
    https://hackmd.io/@happy-kernel-learning/ByVFh6BEw

    Play sound in linux without ALSA
    https://handmade.network/forums/t/77...x_without_alsa
    Here's alternative library called TinyALSA that interfaces with kernel using ioctl without help of alsa-lib: https://github.com/tinyalsa/tinyalsa It has smaller amount of source code, so it might be easier to understand.
    以下兩位日本的網兄亦提供了一些例子:

    https://github.com/takaswie/alsa-ioctl-test
    https://github.com/morimoto/alsa-ioctl-test
    https://gist.github.com/takaswie/d8a...a3dfc759b2ff67
    https://gist.github.com/takaswie/002...bf225749fb965d



    醬子的話大概是近乎最底層了吧?那麼 RealTime 的重要性是否差不多呢?

  2. #612
    註冊日期
    2014-08-02
    文章
    378
    Thanks
    0
    Thanked 842 Times in 305 Posts

  3. #613
    註冊日期
    2015-03-17
    文章
    664
    Thanks
    427
    Thanked 1,539 Times in 532 Posts

    預設

    MPD 和 Squeezlite 更新

    修正一些Bug,聲音也明顯的更好。

    更新方試:
    config -> update
    config -> server -> mpd
    config -> squeezelite -> 切換一次不同的版本後,再換回來(PCM <-> DSD)。

  4. #614
    註冊日期
    2014-08-02
    文章
    378
    Thanks
    0
    Thanked 842 Times in 305 Posts

    預設

    這個 ScreamALSA 的音質比 Diretta 更讚:

    https://erji.net/forum.php?mod=viewthread&tid=2401742
    https://audiophilestyle.com/forums/t...omment-1337866
    Album Player Scream free of charge can replace the charged diretta through ASIO or Alsa. The audio quality of AP is better,especially on low frequency transient
    兩端也是用 C 語言編寫的說,因此 EVL 再次大派用場:

    https://github.com/igor63r/screamalsa
    https://github.com/duncanthrax/screa...Receivers/unix

  5. The Following User Says Thank You to seeteeyou For This Useful Post:


  6. #615
    註冊日期
    2015-03-17
    文章
    664
    Thanks
    427
    Thanked 1,539 Times in 532 Posts

    預設

    MPD 更新

    因為小弟的系統搬家,拖了兩個多月才能開聲,開聲後才發現聲音不對勁!原來二月以來,MPD 用AI 優化過頭。
    這次把 ALSA 和 Slim 的版本重新處理,回到1/20 的聲音。

    另外,MPD安裝 也新增了 ALSA 選項,可依硬體能耐自由搭配。

    更新方式:
    1. config -> update (若有的話)
    2. config -> server -> mpd (ALSA or Slim)

  7. #616
    註冊日期
    2015-03-17
    文章
    664
    Thanks
    427
    Thanked 1,539 Times in 532 Posts

    預設

    MPD 更新

    由於Slim output 的 Buffer 有只1MB,不夠大,一開始就播放 Hi-Res 會爆音。
    這次修改為2MB,也可在mpd.conf 裡指定數值。如果 Hi-Res 音樂檔太大,數值再往上加。

    有樂友反應AI版聲音好,小弟的反而是未AI 優化的好。
    所以兩種版本全上架。

    更新方式:
    1. config -> update 或 sudo update_scpt.sh
    2. config -> server -> mpd (預設) or mpd-ai

  8. #617
    註冊日期
    2020-10-05
    文章
    104
    Thanks
    23
    Thanked 41 Times in 17 Posts

    預設

    我在ArchQ 使用 Lyrion Music Server NFS 常常不順利!
    在config下設定NFS分享的音樂夾
    有時瀏覽器Lyrion Music Server服務器下文件夾的/mnt/music看得到音樂檔,可以播放;有時卻什麼都看不到!(重新掃描卻又有音樂好多萬筆存在,就是mnt/music文件下,什麼都看不到)
    今天一開始可看到可播放,沒幾分鐘又沒有了!指令systemctl status nfs-server查了一下---inactive(dead)
    上網來求救!
    NFS mount.png
    NFS music.png
    NFS dead.png

  9. #618
    註冊日期
    2015-03-17
    文章
    664
    Thanks
    427
    Thanked 1,539 Times in 532 Posts

    預設

    cuhulong兄好,
    小弟看不太懂您的用法:有兩台電腦都是ArchQ? NFS Server 提供檔案給 LMS?
    NFS Server 的IP是 192.168.1.22 or 25 ? 網路拓樸請描述一下。

  10. #619
    註冊日期
    2020-10-05
    文章
    104
    Thanks
    23
    Thanked 41 Times in 17 Posts

    預設

    20是ArchQ player
    22是ArchQ LMS NFS mount 25的Pi4B_NAS檔案分享
    25是樹梅派Pi4B_NAS檔案分享
    3 tree.png


    22是ArchQ LMS NFS mount 25的Pi4B_NAS檔案分享,是和nfs-server是沒有關聯嗎?
    music null.png
    此篇文章於 2026-06-28 10:50 PM 被 cuhulong 編輯。 原因: 修正內容

  11. #620
    註冊日期
    2015-03-17
    文章
    664
    Thanks
    427
    Thanked 1,539 Times in 532 Posts

    預設

    所以是 Pi_NAS -> ArchQ LMS -> ArchQ Player。

    ArchQ LMS 這邊不用啟動NFS Server。直接mount Pi_NAS 就可。
    NFS Server 功能就是當NAS 分享檔案給其它電腦用的。

    ArchQ LMS 要用 Pi_NAS的檔案,直接用NFS mount 就可。
    至於常常看不到NAS的檔案,可能是Hub 的問題,不知是哪種等級的HUB。
    因為同時接上HUB的電腦多,建議至少要Switch Hub級的。

    另外,先拔掉跟播放無關的電腦網路線,測看看是否正常,再慢慢加回去。
    因為有可能是某個網卡出問題,或者是 HUB 也不一定。

  12. The Following User Says Thank You to sam0402 For This Useful Post:


發文規則

  • 您不可以發表新主題
  • 您不可以發表回覆
  • 您不可以上傳附件
  • 您不可以編輯自己的文章
  •