第27頁,共89頁 第一第一 ... 1725262728293777 ... 最後最後
顯示結果從 261 到 270 共計 881 條
  1. #261
    註冊日期
    2015-03-17
    文章
    552
    Thanks
    351
    Thanked 1,416 Times in 482 Posts

    預設

    引用 作者: seeteeyou 查看文章
    UAC GadgetでNintendo Switchの音声出力をRaspberry Piに取り込む
    https://mzyy94.com/blog/2020/04/17/n...io-uac-gadget/

    ラズパイをUSB-DACとしてWindows10に認識させる方法 gadget mode(OTG Mode)
    https://nw-electric.way-nifty.com/bl...st-199de1.html

    ラズパイをUSB-DACとしてSoundgenic-NAS、Linuxに認識させる方法 gadget mode(USB Audio Class 2.0)
    https://nw-electric.way-nifty.com/bl...st-f702d1.html

    ラズパイをUSB-DACとしてスマホに認識させる方法 gadget mode(USB Audio Class 2.0)
    https://nw-electric.way-nifty.com/bl...st-ca81ce.html

    Linux USB-Audio Gadget (RPi4 OTG)
    https://www.diyaudio.com/forums/pc-b...-rpi4-otg.html

    using a Raspberry Pi 4 as a USB DSP-DAC
    https://www.diyaudio.com/forums/pc-b...b-dsp-dac.html

    Raspberry Pi as USB to I2S adapter
    https://www.audiosciencereview.com/f...s-adapter.8567

    手機/平板/Nintendo Switch 也可以連接到樹莓派了,就算沒有對外公開 API 的 Amazon Music HD/MOOV/Mora Qualitas 亦因此得救。
    感謝Seeteeyou兄分享,
    常常給的資訊量很大,小弟都需要消化一下。小弟對於這段頗有興趣:

    把RPi4的Type-C 當成傳輸介面用,其中也可當網路介面用。
    小弟的點子是,兩台RPi4之間用Type-C串起來,取代網路線,不知效果會如何?
    或者Player端直接變成Server端的USB音效卡!
    如小弟的Roon -> USB OTG(RPi4);雙RPi4的玩法要再想一想。
    當然前提是,要先改由GPIO供電,小弟在新天新地有分享做法了,可以參考一下:
    http://www.stsd99.com/phpBB3/viewtop...tart=90#p19056
    此篇文章於 2021-01-26 06:15 PM 被 sam0402 編輯。

  2. The Following 4 Users Say Thank You to sam0402 For This Useful Post:


  3. #262
    註冊日期
    2015-03-17
    文章
    552
    Thanks
    351
    Thanked 1,416 Times in 482 Posts

    預設

    引用 作者: seeteeyou 查看文章
    此外還有另一重點,就是 I2S 對雜訊比較敏感:
    簡易的に絶縁シートで銅箔を包んでラズパイとHATの間に差し込んでみました。
    GIPOとともにノイズ対策すると効果あがあるような気がします。全体的にノイズが減ったのか、音の透明感が増したようです。

    https://www.sunhayato.co.jp/material2/jtp11/item_1041

    https://product.rakuten.co.jp/produc...0ee7f32135c24/

    為了令雜訊遠離 I2S 的 FifoPi 和 TransportPi,盡量把一些繁瑣的工序丟到兩台 Windows PCs 那邊不是很好嗎?樹莓派 4 的 CPU 閒著沒事幹的話是否不會產生那麼多雜訊呢?

    畢竟這些全都是小弟的假設罷了,說不定實踐的時候將會被打臉,哈哈。
    其實RPi4 只播放音樂,已經算沒事幹了,雜訊應該還是一樣多。

    對於 I2S的雜訊,小弟就把RPi4加上金屬外殼來處理了,再把GPIO用長腳的排針來延長與FifoPi連接。
    http://www.stsd99.com/phpBB3/viewtop...tart=70#p18999

    而FifoPi與TransportPi之間,可以考慮日本樂友的作法,用銅箔外加隔離包覆後夾在中間。
    此篇文章於 2021-01-26 07:47 PM 被 sam0402 編輯。

  4. The Following 4 Users Say Thank You to sam0402 For This Useful Post:


  5. #263
    註冊日期
    2014-08-02
    文章
    320
    Thanks
    0
    Thanked 788 Times in 273 Posts

    預設

    引用 作者: sam0402 查看文章
    感謝Seeteeyou兄分享
    不用客氣,也感謝 sam0402 兄和 tetsuka 兄的無私分享。
    引用 作者: sam0402 查看文章
    小弟對於這段頗有興趣:

    把RPi4的Type-C 當成傳輸介面用,其中也可當網路介面用。
    小弟的點子是,兩台RPi4之間用Type-C串起來,取代網路線,不知效果會如何?
    或者Player端直接變成Server端的USB音效卡!
    如小弟的Roon -> USB OTG(RPi4);雙RPi4的玩法要再想一想。
    小弟是絕對讚同 sam0402 兄的想法,USB OTG 實在不容忽視,而且 Player 端只需擔任唯一的角色,僅僅是 USB 音效卡的它就能夠跑一個『超級纖瘦』版本的 Linux 了,任何跟無線/有線網路相關的部分也可以砍掉,去除很多軟件與及它們的 dependencies 之後就成為一種脫胎換骨的 OS 了。

    其實小弟心中也正盤算著一記問題,到底該花時間鑽研 Netmap 和 Audio over Ether 那種 Kernel-bypass Networking/Direct Memory Access 的方式,還是集中火力優化體積纖巧的離線 Linux 比較好呢?前者的隱憂就是如何跟 44.1 KHz kernel timer frequency 並存,畢竟 sam0402 兄 compiled kernel 的時候已經遇上一定數量涉及 networking 方面的 warnings。

    如果需要花那麼多時間去 debug 的話,倒不如專攻 OS 層面的優化那麼划算。減肥成功以後,還可以研究怎樣進一步精簡 kernel 等等,畢竟 headless + 離線的 OS 就可以省去很多 drivers 了。



    另外小弟還找到這個 USB/IP 的 extension:

    http://www.tinycorelinux.net/12.x/aa...re-v8.tcz.info
    https://repo.picoreplayer.org/repo/1...re-v8.tcz.info

    http://usbip.sourceforge.net
    https://www.kernel.org/doc/readme/to...b-usbip-README
    https://developer.ridgerun.com/wiki/...and_use_USB/IP

    Setup a Raspberry Pi as a USB-over-IP server
    https://derushadigital.com/other%20p...BIP-ZWave.html

    Some additions to Linux USB/IP
    https://linux-usbip-additions.blogspot.com

    Mainline 的 source code 如下:

    https://github.com/torvalds/linux/tr.../usb/usbip/src
    https://github.com/torvalds/linux/bl.../linux/usbip.h

    UAC2 gadget 這種相對比較複雜的 USB 音效卡就不知道能否於網路上共享了。

  6. The Following 5 Users Say Thank You to seeteeyou For This Useful Post:


  7. #264
    註冊日期
    2014-08-02
    文章
    320
    Thanks
    0
    Thanked 788 Times in 273 Posts

    預設

    剛剛看見 sam0402 兄和 tetsuka 兄的分享:

    http://www.stsd99.com/phpBB3/viewtop...p=19444#p19444

    樹莓派數字轉盤
    http://www.headphoneclub.com/thread-740233-1-1.html

    樹莓派同軸光纖數字聲卡(裸卡)
    https://item.taobao.com/item.htm?id=629041455828

    樹莓派數字轉盤
    https://item.taobao.com/item.htm?id=629188467409

    就是這樣把樹莓派變成 USB 音效卡之後,說不定能夠挑戰 DT2 呢?哈哈。

  8. The Following 4 Users Say Thank You to seeteeyou For This Useful Post:


  9. #265
    註冊日期
    2011-06-29
    文章
    47
    Thanks
    133
    Thanked 79 Times in 33 Posts

    預設

    引用 作者: Ericcatz 查看文章
    小弟最近也加入IanCanada FIFOPi家族,快樂的聽到了美妙的音樂旋律,爾後還有許多使用問題需要論壇上前輩們的指點迷津,希望前輩們不吝賜教。
    https://www.mobile01.com/topicdetail...&p=42#80511781
    個人的FIFOPi套件組裝完成,完美開聲!
    https://www.mobile01.com/topicdetail...&p=43#80593014

  10. The Following 3 Users Say Thank You to Ericcatz For This Useful Post:


  11. #266
    註冊日期
    2015-03-17
    文章
    552
    Thanks
    351
    Thanked 1,416 Times in 482 Posts

    預設

    引用 作者: seeteeyou 查看文章
    其實小弟心中也正盤算著一記問題,到底該花時間鑽研 Netmap 和 Audio over Ether 那種 Kernel-bypass Networking/Direct Memory Access 的方式,還是集中火力優化體積纖巧的離線 Linux 比較好呢?前者的隱憂就是如何跟 44.1 KHz kernel timer frequency 並存,畢竟 sam0402 兄 compiled kernel 的時候已經遇上一定數量涉及 networking 方面的 warnings。

    如果需要花那麼多時間去 debug 的話,倒不如專攻 OS 層面的優化那麼划算。減肥成功以後,還可以研究怎樣進一步精簡 kernel 等等,畢竟 headless + 離線的 OS 就可以省去很多 drivers 了。
    「遇上一定數量涉及 networking 方面的 warnings」,那是第一個44.1KHz 版本時遇到的問題,
    那些warnings剛好跟播放無關,所以44.1KHz才能誕生。

    在Lite版之後的版本,小弟去除很多與播放無關的Driver 和 Network Filter 功能,compile時已經沒有什麼warnings。
    到Noël版時已經算是非常精簡的Kernel了,所以才有真正的好聲。

    至於USB ip,小弟還得重新compile 才能補上這個功能,不過RPi4要改供電方式才能用。
    所以小弟會先測試OTG模式,把RPi4當成音效卡看看。
    或許Noël之後還會有Update...
    此篇文章於 2021-01-28 10:15 AM 被 sam0402 編輯。

  12. The Following 3 Users Say Thank You to sam0402 For This Useful Post:


  13. #267
    註冊日期
    2014-08-02
    文章
    320
    Thanks
    0
    Thanked 788 Times in 273 Posts

    預設

    引用 作者: sam0402 查看文章
    所以小弟會先測試OTG模式,把RPi4當成音效卡看看。
    或許Noël之後還會有Update...
    或許 RPi4 能夠帶領我們向終點邁進多一步:
    ian's fifo 通通無法徹底消除前端數位播放差異,只能打折,還是哭哭......
    事緣是醬子的,索價 299 鎂的 Euphony OS 近來增添了另一種 RAM 的緩衝模式,好處是把現有 queue 中包含的所有檔案拷貝入 RAM 之後就能夠暫時把網路卡關掉,然後每次相隔五分鐘才檢查一下 queue 的內容有沒有任何改變,最後的結果就是消除/大大降低網路帶來的干擾:

    https://audiophilestyle.com/forums/t...hread/page/64/
    when queue is filled from NAS and fully buffered to RAM and when playback starts - network can be disconnected
    Hi, yes talked to Zeljko last night. Basically before you could only buffer & play 2 songs if you pulled out the cable. Now you can buffer & play as many as you like then pull cable out.
    Add album, buffer, then in expert menu press play. See below, it automatically shuts down network completely. It also auto populates how long for (album time length).

    But nothing like the change that disconnecting the network has made. Tonight I sat through a Jeffrey Foucault album on buffer and network disconnected in Expert. I really enjoyed it, but it wasn't until I listened to a track again with network connected and wondered what had happened. I had to do the Expert disconnect again for that track and sure enough, a real change to detail, air and tone. What's that all about?
    The difference is very obvious; the Matrix in the chain was a good change, this is again something I don't want to miss. Despite the inability to skip, add or stop play, so far it is worth it.
    既然暫時關掉網路卡是可行的話,那麼 USB Host 和 USB OTG 大概也問題不大吧?假如能夠把一定數目的檔案拷貝入 8GB RAM 的 RPi4 是否可以暫時關掉 Roon Core 那邊的 USB 輸出呢?

    因此小弟就去看看一些關於 UAC2 gadget 的 patches,當中 Ruslan Bilovol 兄就提及 ALSA 的 loopback driver:

    https://patchwork.kernel.org/project...bmitter=121671

    貌似虛擬音效卡:

    https://www.alsa-project.org/wiki/Matrix:Module-aloop
    https://www.systutorials.com/docs/linux/man/1-alsaloop/
    https://sysplay.in/blog/linux/2019/0...pback-devices/

    還有 JACK 和 PulseAudio:

    https://github.com/actions/virtual-e...ts/issues/1114
    https://stackoverflow.com/questions/...cord-it-to-fil

    當然最重要的就是如何利用 RPi4 的 RAM 來建立緩衝,該不是用 alsa-utils 的 arecord 寫入 RAM disk 那麼簡單吧?

  14. The Following 4 Users Say Thank You to seeteeyou For This Useful Post:


  15. #268
    註冊日期
    2015-03-17
    文章
    552
    Thanks
    351
    Thanked 1,416 Times in 482 Posts

    預設

    引用 作者: seeteeyou 查看文章
    既然暫時關掉網路卡是可行的話,那麼 USB Host 和 USB OTG 大概也問題不大吧?假如能夠把一定數目的檔案拷貝入 8GB RAM 的 RPi4 是否可以暫時關掉 Roon Core 那邊的 USB 輸出呢?
    小弟剛剛才實作出來把piCorePlayer 當成OTG 給Roon Server,就等同Roon Server 的一張音效卡。
    藉由usb線傳音樂,這樣就不用透過網路傳輸了,也等於可以關掉。

    至於聲音如何,太晚了,明早再試聽比較。

  16. The Following 3 Users Say Thank You to sam0402 For This Useful Post:


  17. #269
    註冊日期
    2015-03-17
    文章
    552
    Thanks
    351
    Thanked 1,416 Times in 482 Posts

    預設

    小弟剛剛才實作出來把piCorePlayer 當成OTG 給Roon Server,就等同Roon Server 的一張音效卡。
    藉由usb線傳音樂,這樣就不用透過網路傳輸了,也等於可以關掉。

    至於聲音如何,太晚了,明早再試聽比較。
    聲音很好,但使用中狀況不佳,偶有爆音和程式中斷,放棄。
    等Kernel 5可用時再測試。

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


  19. #270
    註冊日期
    2014-08-02
    文章
    320
    Thanks
    0
    Thanked 788 Times in 273 Posts

    預設

    引用 作者: sam0402 查看文章
    聲音很好,但使用中狀況不佳,偶有爆音和程式中斷,放棄。
    等Kernel 5可用時再測試。
    感謝 sam0402 兄,且看這 NAA 更新後的結果如何:

    https://audiophilestyle.com/forums/t...omment-1082701
    Soon'ish it should begin to support also USB inputs, so you could use it as input device to HQPlayer (makes HQPlayer look like a USB DAC to the upstream computer).
    來自同一作者的 HQ Player 也是驚為天人,最近推出的版本該是登峰造極了:

    https://audiophilestyle.com/forums/t...omment-1105619
    I've been listening all day and I can report that I also hear the superiority of 4.9.0 over 4.9.2. But I can also report that, at least over here, Embedded 4.21.1 sounds even better than Desktop 4.9.0! Even more surprising is that the difference between all three versions (in audiophile terms, LOL) is pretty significant. In other words, the latest HQP OS/Embedded is so good that I can't "downgrade" to Desktop 4.9.0!
    Ericcatz 兄和 me5888 兄也是讚口不絕:

    https://www.mobile01.com/topicdetail...&p=40#80290433
    恭喜入手HQPlayer,這套被推崇為(秒天秒地)的音樂播放軟體...

    沒聽過這套軟體之前,對於這種評價曾經(視而不見),但是....

    聽過之後才驚覺到自己從前是如何的(以管窺天)與可笑的自以為是!
    https://www.mobile01.com/topicdetail...&p=40#80332662
    HQPlayer + NAA 裝好了也試聽了一晚

    感覺是比Logitech Media Server + Squeezelite 好上1p
    Embedded 版本的售價是 €199,PC 和 RPi4 也可以的說:

    https://www.signalyst.com/embedded-install.html

  20. The Following 3 Users Say Thank You to seeteeyou For This Useful Post:


發文規則

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