John Gorst wrote:

In case anyone else is trying to do this here is a work around.
This enables you to turn your exstreamer into a squeezebox (minus the display!!) and is much better than directing the exstreamer at serverip:9000/stream.mp3

Install VAcard from barix website (free).
Install 'virtual audio cable' (non-free, demo available)
Install squeezeslave

In 'multimedia/sound' (depending on your windows version) in control panel select 'virtual cable 1' as your default playback device. (This makes squeezeslave output to this virtual soundcard, I cant find any way to choose a playback device via the squeezeslave command line)

Start squeezesalve. Remember to put the IP address of the server after the command, and use the -m option to make squeezeslave use a different mac address if you run more than one copy of squeezesalve on your network e.g.
squeezeslave 192.168.100.4 -m 00:08:e1:00:15:54

Run audio repeater (start -->programs --> virtual audo cable). Set 'wave in' as 'virtual cable 1'. Set 'wave out' as 'Vacard 1 out'. Press start.

Open 'VAcard TCP/IP mp3 streamer' - it should be started automatically when windows starts. Open by clicking on a black icon in the taskbar. Select the 'streamers' tab. Enable the first tick box 'pusher #0'. Click on properties.

You can either 'push' the stream to your exstreamer or 'pull' the stream. I choose to pull as then the exstreamer will continue to try and reconnect if the server reboots. Select 'stream server'. Leave default values for port and connections (8000 and 3). Recording device should be set as 'vacard1 in' and is unchangeable. Choose appropriate values for the rest - e.g. sampling rate 44100, bitrate 320, stereo.

Then configure your exstreamer to connect to this server to obtain its audio. On the barix webinterface Settings --> streaming -->
- mode - '3 streaming puller'
- Server IP address - IP address of the computer with squeezeslave running
- server path - /
(all others leave at default)

Problems:
- all sound from your computer will go to this 'device' as we have changed the default sound card output...... this will be resolved once we can choose an output using squeezesalve (which is still very unfinished, but surprisingly usable). - VAcard would not be required if we could output directly to 'vacard 1', however if we do that the sound is garbled - ?is this a squeezeslave problem?

Other uses:
- could be used to redirect the audio output of your whole computer to the exstreamer e.g. when playing games, listening to DRM protected music etc. Not sure how realtime it is yet - but it seems fairly good (less than 1 second delay when switching tracks on the slimserver webinterface)





Having problems using squeezeslave combined with a 'virtual audio driver' on windows. (see http://www.barix.com/index.php?option=com_docman&task=cat_view&gid=130&itemid=0)

The output is slow and 'blocky'
A 5.3 min (5min 18 seconds) sond takes 7.05 min (7min 3 sec) to play (1.32x longer approx) Is this something to do with squeezesalve output the wrong frequency (happens with all my mp3 and flac which are all 44100)

The system is Windows 2000 Pro with a 'virtual audio card' output device. This then streams the output to my barix exstreamer (sick I know - but was given it when someone upgraded to a squeezebox... I am going to make use of it in my bathroom)

When playing to the 'proper' sound card then it sounds fine. Using any other music player e.g. media player through the 'virtual sound card' also works fine.

Any help to get this sorted much appreciated.

Here is an output from the command line

C:\squeezeslave>squeezeslave 192.168.100.4
Found 10 devices
        Primary Sound Driver : : 2
        Vacard 1 Out (emulated) : : 2
        Vacard 2 Out (emulated) : : 2
        Vacard 3 Out (emulated) : : 2
        Creative Sound Blaster PCI : : 2
Primary Sound Capture Driver : 11025.000000 22050.000000 44100.000000 :
2
Creative Sound Blaster PCI : 11025.000000 22050.000000 44100.000000 : 2
        Vacard 1 In (emulated) : 11025.000000 22050.000000 44100.000000 : 2
        Vacard 2 In (emulated) : 11025.000000 22050.000000 44100.000000 : 2
        Vacard 3 In (emulated) : 11025.000000 22050.000000 44100.000000 : 2
PortAudio on DirectSound - Latency = 5376 frames, 121 msec

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to