Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46
  1. #1
    Junior Member
    Join Date
    Apr 2018
    Posts
    26

    Streaming Line Audio

    I have a series of devices running LMS throughout the house and it occurred to me the other day it'd be ideal if I could feed line audio from things like a turntable, reel or cassette deck, etc., through the server so we could hear that on our little network. Ideally I'd have the smallest setup and could tuck the source player away in a shelf without having to have an entire computer nearby to capture and stream the audio.

    Is there any kind of simple setup for this that would be suggested or recommended? Is there any kind of standalone box that just turns line audio into a network stream, or could I do this with a Raspberry Pi or such? I understand the preamp/line issues with a phono and am not looking for a USB turntable or anything like that, very specifically I want to capture audio from the analog equipment I've been using for 30+ years. Thanks in advance!

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,124
    Yes - a Raspberry Pi (or similar small computer) running LMS with the Wavinput plugin PLUS, in the case of RPi at least, something to grab the line input.
    I do that part with a Behringer UFO202 that I picked up on eBay. It has a switch on it to enable preamp for turntable. It connects to RPi via USB.
    There is quite a long delay between the audio being started and the sound coming out on a player on LMS ... but that gives me time to sit down in the right place after putting the needle down!
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #3
    Senior Member
    Join Date
    Apr 2007
    Location
    Northampton, UK
    Posts
    294
    Quote Originally Posted by Paul Webster View Post
    Yes - a Raspberry Pi (or similar small computer) running LMS with the Wavinput plugin PLUS, in the case of RPi at least, something to grab the line input.
    I do that part with a Behringer UFO202 that I picked up on eBay. It has a switch on it to enable preamp for turntable. It connects to RPi via USB.
    There is quite a long delay between the audio being started and the sound coming out on a player on LMS ... but that gives me time to sit down in the right place after putting the needle down!
    How do you select that input, from the RPi player's menu / LMS browser?
    Living room: piCorePlayer, with USB to Marantz PM7005, TDL RTL3 speakers.
    Dining room: SB Boom.
    Kitchen: SB Radio 1/4 with battery.
    Bedroom 1: SB Radio 2/4 no battery, SB Radio 3/4 with battery.
    Bedroom 2: SB Touch, AE 2.1. speakers.
    Bathroom: SB Radio 4/4, white, with (and running on) battery.
    Unused 3: Slim Devices SB3, Logitech SB3.
    Server: LMS v7.9.2 on piCorePlayer on RPi 3.

  4. #4
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,853
    Quote Originally Posted by Furry View Post
    How do you select that input, from the RPi player's menu / LMS browser?
    via radio play stream/load url.
    Just take a look into the plugin documentation.

  5. #5
    Senior Member
    Join Date
    Apr 2007
    Location
    Northampton, UK
    Posts
    294
    Quote Originally Posted by DJanGo View Post
    via radio play stream/load url.
    Just take a look into the plugin documentation.
    Ah, I remember now. Thanks. Last time I tried this plugin was >10 years ago.
    Living room: piCorePlayer, with USB to Marantz PM7005, TDL RTL3 speakers.
    Dining room: SB Boom.
    Kitchen: SB Radio 1/4 with battery.
    Bedroom 1: SB Radio 2/4 no battery, SB Radio 3/4 with battery.
    Bedroom 2: SB Touch, AE 2.1. speakers.
    Bathroom: SB Radio 4/4, white, with (and running on) battery.
    Unused 3: Slim Devices SB3, Logitech SB3.
    Server: LMS v7.9.2 on piCorePlayer on RPi 3.

  6. #6
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,124
    Quote Originally Posted by Furry View Post
    How do you select that input, from the RPi player's menu / LMS browser?
    I have the wavin: invocation set as a Favourite which makes it easy to call up from anywhere ... plus I can say:
    "OK Google, Squeezebox Turntable"
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  7. #7
    Senior Member
    Join Date
    Apr 2007
    Location
    Northampton, UK
    Posts
    294
    Quote Originally Posted by Furry View Post
    Ah, I remember now. Thanks. Last time I tried this plugin was >10 years ago.
    Apparently, I have to put wavin:0 (or wavin:default ?) in the favourites.

    I want to use a USB soundcard, via an RPi (piCorePlayer) USB port. So far, I'm getting "Problem: Can't open file for: Waveinput"

    Any tips, please?

    TIA.

    Edit(1): I am using a HiFiBerry digi for coax output. "wavin:sysdefault:CARD=device" gets me "Now Playing" instead of the "Problem..." message above, but no audio is heard.
    Last edited by Furry; 2018-09-22 at 04:03.
    Living room: piCorePlayer, with USB to Marantz PM7005, TDL RTL3 speakers.
    Dining room: SB Boom.
    Kitchen: SB Radio 1/4 with battery.
    Bedroom 1: SB Radio 2/4 no battery, SB Radio 3/4 with battery.
    Bedroom 2: SB Touch, AE 2.1. speakers.
    Bathroom: SB Radio 4/4, white, with (and running on) battery.
    Unused 3: Slim Devices SB3, Logitech SB3.
    Server: LMS v7.9.2 on piCorePlayer on RPi 3.

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,596
    Quote Originally Posted by Furry View Post
    Apparently, I have to put wavin:0 (or wavin:default ?) in the favourites.

    I want to use a USB soundcard, via an RPi (piCorePlayer) USB port. So far, I'm getting "Problem: Can't open file for: Waveinput"

    Any tips, please?

    TIA.

    Edit(1): I am using a HiFiBerry digi for coax output. "wavin:sysdefault:CARD=device" gets me "Now Playing" instead of the "Problem..." message above, but no audio is heard.
    Waveinput uses "arecord" - first prove that you can record from the device and save in a file. No popint messing with LMS if there is another issues with the audio subsystem.

    The device used in -D with arecord is the defined that will be defined in the "wavin:" URL. If you are device is "default" then "wavin:default" if it is "sysdefault" then it is "wavin:sysdefault"

    Depending on the OS/distro Make sure the user which runs LMS - has permissions andmemeberr of a group to access audio hardware.

    If you are using Pulseaudio rather than ALSA then there may be additonal issues to overcome.

  9. #9
    Senior Member
    Join Date
    Apr 2007
    Location
    Northampton, UK
    Posts
    294
    Quote Originally Posted by bpa View Post
    Depending on the OS/distro
    It's piCorePlayer on RPi 3.
    Living room: piCorePlayer, with USB to Marantz PM7005, TDL RTL3 speakers.
    Dining room: SB Boom.
    Kitchen: SB Radio 1/4 with battery.
    Bedroom 1: SB Radio 2/4 no battery, SB Radio 3/4 with battery.
    Bedroom 2: SB Touch, AE 2.1. speakers.
    Bathroom: SB Radio 4/4, white, with (and running on) battery.
    Unused 3: Slim Devices SB3, Logitech SB3.
    Server: LMS v7.9.2 on piCorePlayer on RPi 3.

  10. #10
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,596
    Quote Originally Posted by Furry View Post
    It's piCorePlayer on RPi 3.
    Did you try arecord yet ?
    Did it work ?

    I don't know the permission details of pcp regarding audio hardware - I suggest ask on Pcp thread.

Posting Permissions

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