Raspberry Pi I2S to SPDIF Hat

Discussion in 'Digital: DACs, USB converters, decrapifiers' started by Michael Kelly, Apr 30, 2016.

  1. gixxerwimp

    gixxerwimp Professional tricycle rider

    Pyrate
    Joined:
    Sep 30, 2015
    Likes Received:
    5,773
    Trophy Points:
    113
    Location:
    small island claimed by China
    I run LMS on my NAS so once I have everything set up on the rPi, I back up the image and pretty much never have to touch it again.
     
  2. goreshade

    goreshade New

    Joined:
    Jun 10, 2019
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Earth
    Deleted
     
    Last edited: Nov 30, 2020
  3. 7seven

    7seven Acquaintance

    Joined:
    Oct 28, 2018
    Likes Received:
    56
    Trophy Points:
    28
    Location:
    Ireland
    saying the USB is polluted and automatically = bad sound and then using a DAC hat that receives I2S directly from Pi and sits in the most ideal place to be hit by RF emitted by the Pi.
     
  4. hallgard

    hallgard New

    Joined:
    Jul 15, 2019
    Likes Received:
    14
    Trophy Points:
    3
    Location:
    Iceland
    Hi @famish99 I'm waiting on an Audiobyte Black Dragon dac, which has the same original i2s pinout as the Rockna dacs, and looking forward to finally be able to use my PI2AES i2s output. they have updated But still confused whether the original PI2AES HDMI output works with the original Audiobyte/Rockna input pinout.
     
  5. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Pyrate
    Joined:
    Apr 22, 2016
    Likes Received:
    4,112
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    Do you have a manual for the wavebyte? The I2S pinout for the PI2AES is in the HW reference manual:
    http://www.pi2design.com/uploads/4/8/5/3/48531975/pi2aes_hw_ref_manual_p3_4.pdf
     
  6. SoupRKnowva

    SoupRKnowva Official SBAF South Korean Ambassador

    Pyrate Contributor
    Joined:
    Sep 26, 2015
    Likes Received:
    4,250
    Trophy Points:
    93
    Location:
    Austin, TX
    The hdmi i2s output of the pi2aes works with both the Wavedream and the Wavelight, but they required firmware updates to do so. If the Black Dragon got a similar update it should work.
     
  7. Scott Kramer

    Scott Kramer Friend

    Pyrate
    Joined:
    May 3, 2016
    Likes Received:
    1,446
    Trophy Points:
    93
    Screen Shot 2020-12-02 at 11.53.37 AM.jpg
    FYI-- There's a provision to move the pCP LMS database off the sdcard to your media drive, for 0 writes to it.
     
    Last edited: Dec 2, 2020
  8. famish99

    famish99 Friend

    Pyrate
    Joined:
    Dec 26, 2017
    Likes Received:
    1,714
    Trophy Points:
    93
    Location:
    Austin, TX
    I believe this is true for PCM, I've not gotten DSD working in either Rockna or PS Audio mode yet so I'm looking forward to seeing if the new mini-HAT will fix that.
     
  9. shabta

    shabta Facebook Friend

    Contributor
    Joined:
    Jan 14, 2016
    Likes Received:
    153
    Trophy Points:
    43
    Thanks! Someone else up thread also mentioned this. I wish I had know about this 4 years ago when I last had pcp as my LMS server.
     
  10. hallgard

    hallgard New

    Joined:
    Jul 15, 2019
    Likes Received:
    14
    Trophy Points:
    3
    Location:
    Iceland
    Thanks! SoupR
     
  11. ofilippov

    ofilippov Acquaintance

    Joined:
    Mar 16, 2018
    Likes Received:
    35
    Trophy Points:
    18
    Location:
    Kyiv
    Hi @Michael Kelly,

    Happy New Year!

    May I ask a tricky question? It's regarding 502DAC. I plugged +5V from my PSU directly to the W1 point, where power is going to rPi. To both contacts. And the ground to the ground terminal. It worked well, but after a while the frequency multiplier diodes stopped working. And error appears in the app. Like it went to protection somehow. :oops:

    It appeared before, and the technician, who fixed it told me that he didn't do anything in particular, just tested circuits and it started working. Unfortunately I can't give it to him, as I'm ill with COVID. I'm fine, just not meeting anyone for a while.

    Any ideas, what can be? Thanks!
     
  12. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Pyrate
    Joined:
    Apr 22, 2016
    Likes Received:
    4,112
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    Please send an email direct to me: [email protected]. there's a couple things about your question that I don't fully understand but I'd rather not chew up the bandwidth on the form.
     
  13. ohshitgorillas

    ohshitgorillas Friend

    Pyrate
    Joined:
    Nov 27, 2015
    Likes Received:
    681
    Trophy Points:
    93
    Location:
    Sacramento, CA
    Hi all, I'm currently using foobar2k to output to the Pi2AES, running on moode. One of my DACs is limited to 44.1 and 48kHz (AudioGD DAC19mk3 w/ PMD100). I have hi-res material so I'll eventually be selling the AGD to move on, but in the meantime, what is the best way to automatically resample higher rates down to 44.1 or 48, depending on the initial rate? I assume that having the Pi2AES do the actual resampling would sound best, but I'm currently doing it through f2k via SoX resampler. How would I best pass this process off to the Pi (without having to manually set the sampling rate)?
     
  14. YMO

    YMO Chief Fun Officer

    Pyrate Contributor
    Joined:
    Apr 1, 2018
    Likes Received:
    10,517
    Trophy Points:
    113
    Location:
    Palms Of The Coasts, FL
    moOde > Audio > MPD Options > Edit > SoX resampling Enabled, and you can figure out the rest. Note: If you do 48k in SoX, everything regardless if 44k will go to 48k. I would do 41k and call it a day.

    Edit: After this is done, shut off resampling in Foobar.
     
  15. Clemmaster

    Clemmaster Friend

    Pyrate Contributor
    Joined:
    Sep 28, 2015
    Likes Received:
    3,268
    Trophy Points:
    113
    Better leaving the resampling on the PC. Less noise on the Pi2AES and SoX is high quality already.
     
  16. ohshitgorillas

    ohshitgorillas Friend

    Pyrate
    Joined:
    Nov 27, 2015
    Likes Received:
    681
    Trophy Points:
    93
    Location:
    Sacramento, CA
    Well... having to go into settings every time I want to switch from 44.1 to 48 is what I'm trying to avoid. I am at least picky enough to keep multiples of 44.1 and 48kHz on their respective clocks.
     
  17. YMO

    YMO Chief Fun Officer

    Pyrate Contributor
    Joined:
    Apr 1, 2018
    Likes Received:
    10,517
    Trophy Points:
    113
    Location:
    Palms Of The Coasts, FL
    Do you use Android/BubbleUPnP?
     
  18. haywood

    haywood Friend

    Pyrate
    Joined:
    Oct 22, 2015
    Likes Received:
    763
    Trophy Points:
    93
    If you’re using moode select 24/48 for the sample rate and resample (adhere to base frequency) in the selective resampling menu and it should resample to 24/44.1 or 24/48 depending on the source rate.

    I wouldn’t worry too much about doing the sample rate conversion on the Pi but iirc SoX resampling is only affecting mpd output so keep that in mind if you’re using the Pi as a renderer.
     
  19. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Pyrate
    Joined:
    Apr 22, 2016
    Likes Received:
    4,112
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    The coupon code "SBAF" is back! Choose any case (even the 7") and it's free, just pay shipping. 2021 will be awesome.
     
  20. Merrick

    Merrick A lidless ear

    Pyrate
    Joined:
    Jan 6, 2016
    Likes Received:
    12,569
    Trophy Points:
    113
    Location:
    Portland, OR
    I’m getting a coupon not found error when I enter it in.
     

Share This Page