Building a Raspberry Pi-based streamer - a guide for the nervous

Discussion in 'Digital: DACs, USB converters, decrapifiers' started by Kattefjaes, Feb 19, 2017.

  1. shabta

    shabta Facebook Friend

    Contributor
    Joined:
    Jan 14, 2016
    Likes Received:
    153
    Trophy Points:
    43
    Thanks @Grahad2, I am away from home for a couple of weeks but I think I didn't know about the server->streaming profile settings... I will try that in early april.
     
  2. bilboda

    bilboda Florida boomer

    Pyrate Banned
    Joined:
    Nov 20, 2016
    Likes Received:
    834
    Trophy Points:
    93
    Location:
    Miama
    Using instructions is this thread I've been able to get my pi3 and digi+pro working with a win7 source and picoreplayer.

    For the life of me, I could not set up a source in runeaudio that was not USB. I used all of the tips in this thread, and what I could find in runeaudio forums. Win7 and Win10 drives were just inaccessible. I was able to stream to it using jriver and I'm sure foobar would have been fine. Using my phone or tablet for control was my goal though.

    Picoreplayer to the rescue. Installed on a 16gb sd card and controlling thru my phone. Real easy to setup using Scott's instructions... big relief

    Sounds wonderful. My other setup is Win10, ssd drives, 32gb ram,Fidelizer pro thru USB to Uptone regen to my Aune X1S. Bughead Emperor, Jriver21 and foobar. Bughead currently getting the nod for music player because music is just a bit more enjoyable. I will have to A/B this but my pi3 thru coax seems so clear and spacious.

    I did buy the Ifi psu but somehow got the 12v version. BHphoto stops sales on the sabbath and I let my cart get scrambled. I will exchange it as I need the 2 amp charger I am using.

    Thanks to Kattefjaes and all who have added who have added to this excellent thread.
     
  3. digitaldave

    digitaldave Acquaintance

    Contributor
    Joined:
    Mar 19, 2016
    Likes Received:
    27
    Trophy Points:
    18
    Location:
    St Evenage, Englandshire
    Does anyone have any experience in getting shared folders on a Mac to work? I've set up file sharing for the appropriate folder on my Mac, and set up the network mount in RuneUI, but it keeps giving me an error:

    mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

    Any ideas?

    Thanks,

    Dave.
     
  4. drfindley

    drfindley Secretly lives in the Analog Room - Friend

    Pyrate
    Joined:
    Sep 25, 2015
    Likes Received:
    1,533
    Trophy Points:
    93
    Location:
    Austin
    Any chance you didn't setup an smb share?
     
  5. haywood

    haywood Friend

    Pyrate
    Joined:
    Oct 22, 2015
    Likes Received:
    763
    Trophy Points:
    93
    I think smb is the default in OS X / macos now. If I remember right you need to click the options button under file sharing and select the user you want to share from (it might be best to set up a separate user fwiw) and then enter the password for that user, then use that user/password in the rune nfs configuration.
     
  6. digitaldave

    digitaldave Acquaintance

    Contributor
    Joined:
    Mar 19, 2016
    Likes Received:
    27
    Trophy Points:
    18
    Location:
    St Evenage, Englandshire
    Thanks for the replies.

    I have file sharing set up for the folder via the sharing option in system preferences. There are three options for users:

    myusername - read/write
    staff - read only
    everyone- read only

    I've tried setting 'everyone' to read/write, that didn't seem to make any difference. I have also tried setting up a new user account and adding that, but that didn't work either. I have also tried using different folders in the path, but that didn't work either. Finally, I've also tried sharing a completely different folder, but still no luck.
     
  7. haywood

    haywood Friend

    Pyrate
    Joined:
    Oct 22, 2015
    Likes Received:
    763
    Trophy Points:
    93
    The option button I'm talking about in that dialog says "Options..." and brings up this sheet:

    [​IMG]

    Check the box next to the user and enter the password when it prompts you to do it, then use that user & password in the Pi nas setup.
     
  8. DigMe

    DigMe Friend

    Pyrate
    Joined:
    Aug 25, 2016
    Likes Received:
    8,802
    Trophy Points:
    113
    Location:
    Tejas
    Sounds like you got your answer buy just checking back in to confirm that 24 bit plays just fine on my setup.
     
  9. wormcycle

    wormcycle Friend

    Pyrate
    Joined:
    Aug 13, 2016
    Likes Received:
    1,506
    Trophy Points:
    113
    Location:
    Toronto, ON, Canada
    Some posters here experimented with the settings from http://archimago.blogspot.co.uk/2017/01/measurements-raspberry-pi-3-as-usb.html.
    Mostly the opinion was that it did not make much of a difference but I tried it and I was surprised how immediately audible it was. With one caveat:but using the setting "as is" did not work in my setup.

    When I just added the settings from the link to the config file and removed force_turbo=1. That did not work, runeaudio did not even start.
    The first problem was easy: commenting out the original gpu_mem line, but runeaudio still did not boot.
    Adding force_turbo=0 fixed it.
    I also opted for a safer settings for voltage, just removing the support for overclocking.

    I did not notice any changes in sound stage but I heard better instrument separation, tightened and slightly deeper bass, more natural female vocals.
    All of this with much hated here Teac UD-501 : oversampling to 24/192 and Sharp filter.

    Here is what I ended up with in config.txt:
    # memory options
    # gpu_mem=64
    gpu_mem=16

    # Overclocking options
    arm_freq=800
    sdram_freq=400
    core_freq=400
    gpu_freq=300
    #over_voltage=-4
    over_voltage=0
    #sdram_over_voltage=-4
    sdram_over_voltage=0
    # dynamic turbo
    force_turbo=0
     
  10. shabta

    shabta Facebook Friend

    Contributor
    Joined:
    Jan 14, 2016
    Likes Received:
    153
    Trophy Points:
    43
    @DigMe I think I got my answer, but I am on the road for two more weeks so I can't try it out. Thanks for checking!
     
  11. Grahad2

    Grahad2 Red eyes from too much anime

    Pyrate
    Joined:
    Jan 26, 2017
    Likes Received:
    1,162
    Trophy Points:
    113
    Location:
    Singapore
    Negative values undervolt, which causes the SoC to run cooler. (And consequently require lower voltage since it's cooler.)
     
  12. digitaldave

    digitaldave Acquaintance

    Contributor
    Joined:
    Mar 19, 2016
    Likes Received:
    27
    Trophy Points:
    18
    Location:
    St Evenage, Englandshire
    @haywood,

    Thanks for that, it now works! It's now indexing my entire library, oops, didn't think that one through!
     
  13. starence

    starence Facebook Friend

    Contributor
    Joined:
    Sep 27, 2016
    Likes Received:
    133
    Trophy Points:
    43
    Location:
    United States
    Has anyone figured out a good solution for streaming Spotify? I don't have any Apple devices, so AirPlay is probably out.
     
  14. Kattefjaes

    Kattefjaes Mostly Harmless

    Pyrate
    Joined:
    Sep 5, 2016
    Likes Received:
    4,521
    Trophy Points:
    113
    Location:
    London, UK
    ..though if anyone has worked out a kludge to make it work, do tell. However, the libspotify support sucked somewhat, even when it worked- there seemed to be no way to do anything other than play pre-set playlists. Maybe if they ever drop the long-AWOL web API, things will improve. I moved to Tidal, because it's actually usable from outside of a browser/their own clients.

    If they deliver a decent API and price the upcoming lossless service sensibly, they may be worth another look..
     
  15. Poleepkwa

    Poleepkwa Friend

    Pyrate BWC
    Joined:
    Oct 1, 2015
    Likes Received:
    1,557
    Trophy Points:
    93
    Location:
    Finland
  16. neogeosnk

    neogeosnk Friend

    Pyrate
    Joined:
    Sep 28, 2015
    Likes Received:
    1,882
    Trophy Points:
    93
    Location:
    Los Angeles, CA
    Anyone doing JRiver dnla with their pi streamer? I can't seem to find a guide or write-up to make it work.
     
  17. Kattefjaes

    Kattefjaes Mostly Harmless

    Pyrate
    Joined:
    Sep 5, 2016
    Likes Received:
    4,521
    Trophy Points:
    113
    Location:
    London, UK
    https://wiki.jriver.com/index.php/DLNA

    What part of it doesn't work for you? All you have to do is going into "playing now" in the left pane of JRiver, and select your DLNA target. Then go to "Audio" and choose some music as usual and press play. That's literally all there is to it. The whole point of service discovery is that it's self-configuring.

    I guess if you turned the UnPnP renderer off on the Pi, that'd be a possible way for it to go wrong? Otherwise, remember that JRIver maintains a playlist per renderer, more or less, if you click between your DLNA/UnPnP and local targets, you'll see the playlists change (and they can all be playing at once).

    It usually works pretty well. You'll probably need to go into more detail, if the above doesn't help.
     
  18. philipmorgan

    philipmorgan Member of the month

    Pyrate BWC
    Joined:
    Sep 28, 2015
    Likes Received:
    3,790
    Trophy Points:
    93
    Location:
    In the wind, so to speak
    Home Page:
    Has anyone successfully used third-party DSP (like an EQ plugin) with Jriver sending audio over DLNA/UPNP to a Pi endpoint? I could never get that working but it's been a while since I tried, and maybe I missed something obvious in the Jriver setup?
     
  19. Kattefjaes

    Kattefjaes Mostly Harmless

    Pyrate
    Joined:
    Sep 5, 2016
    Likes Received:
    4,521
    Trophy Points:
    113
    Location:
    London, UK
    JRiver only supports DSP for "local zones", i.e. local sound devices.
     
  20. philipmorgan

    philipmorgan Member of the month

    Pyrate BWC
    Joined:
    Sep 28, 2015
    Likes Received:
    3,790
    Trophy Points:
    93
    Location:
    In the wind, so to speak
    Home Page:
    Actually if you look in the DLNA settings page there are DPS settings there too (some screenshots of this on https://yabb.jriver.com/interact/index.php?topic=104882.0), suggesting that you can DSP an audio stream before it gets sent out over the network, but I've not gotten it to work. Wondering if others have.
     

Share This Page