Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Stream What You Hear (SWYH) -- an updated alternative to WaveInput for Windows users

    This thread is for people who are looking for a way to capture the audio stream that Windows sends to the sound card, and direct it to LMS.

    This functionality used to be provided by the WaveInput plugin, and WaveInput may still work for older PCs and versions of Windows (< Win8). But WaveInput relies on an audio software device, "Stereo Mix" that is no longer included in Windows distributions. The WaveInput code is also a bit of an orphan now -- the person who originally coded it up no longer maintains it, and the long-suffering maintainer (@bpa) is not planning to update the code to deal with the OS changes. You can find more details on the WaveInput thread.

    As luck would have it, SWYH is a simple third party option that solves this problem.

    An example of when you might need SWYH or WaveInput would be when you want to redirect the output of an internet streaming service to LMS, so that it can distribute the stream to the player(s) you choose. Note that if there is a dedicated working plugin for the streaming service you're interested in (e.g., Spotify, Soundcloud) then you're probably better off using that. Chances are the dedicated plugin will provide better sound quality and control via the LMS interface. WaveInput, and SWYH, should be considered a last resort. But as streaming services multiply and evolve, sometimes there may not be a dedicated working LMS plugin, and the SWYH option is good all purpose solution to this.

    The instructions below work for me, running Windows 10 on a Lenovo Thinkpad Yoga. I'm more of an end user than a programmer, so if you have trouble getting this to work, I'll be happy to try to troubleshoot, but I can't make any promises. And H/T to @bpa and @kidstypike who helped me get this working on my system.


    Instructions:

    1. Download the current version of SWYH from their website: http://www.streamwhatyouhear.com/download/

    (consider donating to support the software, they provide a link on their home page).


    2. Install the package on your laptop or PC

    I used the default options for the most part. But I did have it create a shortcut on the desktop. Since this is a package that runs in the background, it's a bit easier to launch and troubleshoot with that shortcut.

    The last install screen asks if you want to launch the program -- yes is checked by default, so as long as you don't change that, the program will start up when you finish the install.


    3. Find and open the SWYH program interface

    To interact with SWYH when it's running, you need to find it in your "system tray". Depending on how many programs you have running in the background it will either be visible in the default tray, or you'll need to click the carat to display the rest of the icons to find it. In addition, on my system, the dark color of the SWYH icon makes it almost impossible to see:

    Name:  Screenshot (329).png
Views: 432
Size:  24.4 KB



    Note that if you right-click the SWYH icon, one of the options is labeled "Stream to". I can see all of my players when I choose this, but you can't just pick your player and have the stream sent to it. You need to set up the connection in LMS.


    4. Right click the SWYH icon and pick the settings option.
    Set the HTTP port to a high number so it doesn't interfere with other defaults (I used 50011).

    Name:  Screenshot (340).png
Views: 421
Size:  52.4 KB



    5. Right click the SWYH icon and pick "Tools -> HTTP Live Streaming"

    Name:  Screenshot (341).png
Views: 419
Size:  46.7 KB



    You're going to copy this http address into a new "Favorite" in LMS



    5. Open the LMS web interface, and navigate to edit your "Favorites". Create a new favorite (I call mine SWYH) and copy over the url from the SWYH stream.

    Name:  Screenshot (334).png
Views: 418
Size:  26.4 KB



    After you save this, you're ready to go. Fire up an audio stream in your browser, navigate to LMS, select the SWYH favorite, and press play!


    A couple of other things to note:

    1. There is a lag in the stream you'll hear on your squeezebox player, so it's a good idea to turn off your PC/laptop speakers (this won't affect the SB player -- you control the volume for that from your LMS UI).

    2. You can control the selection/distribution/volume of this stream with other LMS controllers like Ipeng.
    Last edited by moxbox; 2016-12-10 at 22:51.
    LMS 7.9 Win 10 SBV3 duet
    serving vintage Marantz 2230, large Advents and ADS 710.
    funky and wonderful that this new tech can talk to this old stuff

  2. #2

    Reserving this spot for future announcements

    Check back later.
    LMS 7.9 Win 10 SBV3 duet
    serving vintage Marantz 2230, large Advents and ADS 710.
    funky and wonderful that this new tech can talk to this old stuff

  3. #3
    Senior Member
    Join Date
    May 2008
    Location
    United States
    Posts
    10,921
    Thanks for posting this. A couple of additional thoughts:

    1. One should "reserve" the IP address of the computer running SWYH. Otherwise the IP addressed used in the LMS SWYH "favorite" could be different each time the computer connects with the local network.

    2. Even if the user doesn't see a player listed in the SWYH settings, it doesn't matter if you try to add a player or search for a player. One can simply leave this blank. The only important point is that the SWYH streaming link is pasted into a favorite in LMS. Then when streaming, LMS will play this to any and all players connected to LMS,
    Home: VortexBox 4TB (2.3) > LMS 7.9 > Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: VBA 3TB (2.3) > LMS 7.9 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
    Office: Win8(64) > LMS 7.9 > Squeezelite
    Spares: Transporter, Touch(3), Radio(3), Boom, SB3, CONTROLLER
    Controllers: iPhone6 & iPadAir2 (iPeng & Squeezepad), CONTROLLER, or SqueezePlay 7.8 on Win8(64) laptop
    Files: ripping: dbpoweramp > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify

  4. #4
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,398
    I'd change the streaming option from MP3 to PCM - the URL remains as is - and yes I'd make the host a static IP by reserving through DHCP.
    Vortexbox LMS 7.9 music on QNAP TS419p via NFS iThingys/iPeng/Tablets
    Living Room - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 -> Sony TA FE 320 -> Sennheiser RS 130 & B&W P7
    Office - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones Bedroom (TV) - Amazon Fire TV (SB Player) -> Topping TP20 -> Wharfedale Modus Cubes

  5. #5
    Quote Originally Posted by d6jg View Post
    I'd change the streaming option from MP3 to PCM.
    Having just looked up the difference -- the benefit of this would be that the PCM stream is not compressed?
    LMS 7.9 Win 10 SBV3 duet
    serving vintage Marantz 2230, large Advents and ADS 710.
    funky and wonderful that this new tech can talk to this old stuff

  6. #6
    Senior Member
    Join Date
    May 2008
    Location
    United States
    Posts
    10,921
    Quote Originally Posted by moxbox View Post
    Having just looked up the difference -- the benefit of this would be that the PCM stream is not compressed?
    Correct. But if wifi connected it will place more demand on the bandwidth.
    Home: VortexBox 4TB (2.3) > LMS 7.9 > Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: VBA 3TB (2.3) > LMS 7.9 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
    Office: Win8(64) > LMS 7.9 > Squeezelite
    Spares: Transporter, Touch(3), Radio(3), Boom, SB3, CONTROLLER
    Controllers: iPhone6 & iPadAir2 (iPeng & Squeezepad), CONTROLLER, or SqueezePlay 7.8 on Win8(64) laptop
    Files: ripping: dbpoweramp > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify

  7. #7
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,398
    Yes. Personally I would always wire a "source" whatever it is.


    Sent from my iPhone using Tapatalk
    Vortexbox LMS 7.9 music on QNAP TS419p via NFS iThingys/iPeng/Tablets
    Living Room - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 -> Sony TA FE 320 -> Sennheiser RS 130 & B&W P7
    Office - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - SB Touch -> Topping TP21 -> AKG Headphones Bedroom (TV) - Amazon Fire TV (SB Player) -> Topping TP20 -> Wharfedale Modus Cubes

  8. #8
    Senior Member
    Join Date
    Feb 2008
    Posts
    3,991
    Sort of works .... music streams show strange glitches where music briefly skips (barely noticeable but still evident even to my clapped out ears!)
    Touch, Logitech Radio, Logitech UE Radio, O2 Joggler + SqpOS
    UPnPBridge - 2 paired Sonos Play1 speakers; Rocki - Sony SRS-BTM8 speaker; Pioneer WX-SMA1 speaker; - PURE One Flow internet radio: PURE Jongo S3x ; Jongo T2; Libratone Zipp
    Castbridge - Chromecast 1 + Chromecast Audio
    AirplayBridge - Loewe Airspeaker
    SB Player - Fire TV
    ------------------------------------------------------------------------------------

  9. #9

    http stream still named ...mp3 after switching to pcm

    Quote Originally Posted by garym View Post
    Correct. But if wifi connected it will place more demand on the bandwidth.
    I figured the http stream would be renamed after I changed the settings from MP3 to PCM/L16. But it has the same name it had before, with the "mp3" at the end `http://192.168.0.11:50011/stream/swyh.mp3`

    Is this what yours looks like too?
    LMS 7.9 Win 10 SBV3 duet
    serving vintage Marantz 2230, large Advents and ADS 710.
    funky and wonderful that this new tech can talk to this old stuff

  10. #10
    Senior Member
    Join Date
    Feb 2008
    Posts
    3,991
    Quote Originally Posted by moxbox View Post
    I figured the http stream would be renamed after I changed the settings from MP3 to PCM/L16. But it has the same name it had before, with the "mp3" at the end `http://192.168.0.11:50011/stream/swyh.mp3`

    Is this what yours looks like too?
    Yes
    Touch, Logitech Radio, Logitech UE Radio, O2 Joggler + SqpOS
    UPnPBridge - 2 paired Sonos Play1 speakers; Rocki - Sony SRS-BTM8 speaker; Pioneer WX-SMA1 speaker; - PURE One Flow internet radio: PURE Jongo S3x ; Jongo T2; Libratone Zipp
    Castbridge - Chromecast 1 + Chromecast Audio
    AirplayBridge - Loewe Airspeaker
    SB Player - Fire TV
    ------------------------------------------------------------------------------------

Tags for this 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
  •