Re: [slim] [ANNOUNCE] Squeezeslave: 1.0 released

2011-12-14 Thread lauret

Maybe I have a fix for all the 48000/44100 Hz issues, instead of the
convert.conf:


Code:

int slimproto_helo(slimproto_t *p, char device_id, char revision, const 
char *macaddress, char isGraphics, char isReconnect) {  
/* Only when message is larger than 36 are capabilities supported, so 
msg should look like:
(   $deviceid, $revision, 
$mac[0], $mac[1], $mac[2], $mac[3], $mac[4], $mac[5], 
$uuid,
$wlan_channellist, $bytes_received_H, 
$bytes_received_L, $lang
) = unpack(CCH2H2H2H2H2H2H32nNNA2, $$data_ref); 
*/
unsigned char msg[SLIMPROTO_MSG_SIZE];
int channelList = 0;
memset(msg, 0, SLIMPROTO_MSG_SIZE);
  
packA4(msg, 0, HELO);
packN4(msg, 4, (36+19));
packC(msg, 8, device_id);
packC(msg, 9, revision);
memcpy(msg+10, macaddress, 6);
memcpy(msg+16, \x00\x00\x00\x00\x00\x00\x00\x00, 16);
if (isGraphics)
channelList |= 0x8000;
if (isReconnect)
channelList |= 0x4000;
packN2(msg, 32, channelList);
packN4(msg, 34, 0); // bytes_received_H
packN4(msg, 38, 0); // bytes_received_L
memcpy(msg+42, \x00\x00, 2);  // language
memcpy(msg+44, MaxSampleRate=44100, 19);

return slimproto_send(p, msg);
  }



I first added a language switch to the command line arguments, which
passed it on to slimproto_helo, but it didn't seemed to make a
difference, so I left it at \x00\x00

There is a problem though: Slim::Player::SqueezeSlave does not use the
capabilities supplied, but if you start squeezeslave with -e12
(Squeezeplay, so no display), it reads the capabilities and correctly
resamples to 44.1kHz. So for this to fully function, a server-side fix
is necessary.


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=83362

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] [ANNOUNCE] Squeezeslave: 1.0 released

2011-12-14 Thread lauret

philippe;676658 Wrote: 
 I'd like to know if there is a way to play high resolution audio files
 with squeezeslave wasapi or asio.

Squeezeslave only supports 44.1kHz / 16-bits. 

You can find an appropriate custom-convert.conf file which lets the
server transcode all material to 44.1/16 here:
https://code.google.com/p/squeezeslave/source/browse/#svn%2Fsqueezeslave%2Ftrunk%2Fsqueezeslave%2Fconfig
(use custom-convert.conf.441).


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=83362

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] lossless internet radio streaming in FLAC!

2010-05-02 Thread lauret

bpa;461234 Wrote: 
 Operator error - after adding the new rule,  I forgot to disable OGG
 native decoding.
 
 Streams play OK on 7.4.1 with the following conf line which is for
 Linux
 
  
Code:

  
   
   ogg flc * *
   # R
   [mplayer.sh] -really-quiet -vc null -vo null -bandwidth 1000 -cache 
128 -af volume=0,resample=44100:0:1,channels=2 -ao pcm:file=/dev/fd/3 $FILE$ | 
[flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
   

  

I've tried this on my Ubuntu machine (without the .sh in mplayer.sh),
but it appears I don't have /dev/fd/3. *man fd* did not help me either.


When putting on the stream it tries to buffer all the time and I can
hear only loud glitches


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=65553

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] Delay possible between SBR analog and digital out

2009-10-28 Thread lauret

I want to use a subwoofer eq processor, but this introduces a delay of
7,5 ms (or more than 2,5m delay). As the subwoofers stand under the main
speakers (thus at the same distance from the listening position) this is
undesirable.

Would it be possible to create a delay between the analog outputs and
the digital outputs (where the digital output should have a delay of
7,5ms)? I use the digital output via a DAC for the main speakers and I
could use the analog outputs for the subwoofer processing.

Or altenatively to buy another SBR which could have a delay when synced
to the other SBR?

Thanks!


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=70519

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Resampling with sox

2009-02-24 Thread lauret

Has anybody an idea what invokes the 'flc flc transcode *' rule rather
that the 'flc flc * *' rule?


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=60305

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Resampling with sox

2009-02-24 Thread lauret

Mick Seymour;400210 Wrote: 
 Rules concerning the different SBs hardware decoding capabilities.

But why are 44.1kHz/16-bit FLACs transcoded? Why aren't they streamed
unprocessed to the SB?


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=60305

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Resampling with sox

2009-02-23 Thread lauret

Ok, I changed it in:

flc flc transcode *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d -2}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0
$RESAMPLE$ - 

Where the -2 is 2 bytes or 16 bits. But now some 44.1/16-bits music
is also converted (it says so in the More Info menu). This music didn't
play yesterday (I thought maybe because dithering is a heavy process for
a PII), so I removed it. But why is some 44.1/16-bit music transcoded?
(I have only flacs, and I can't see a difference between cd's)


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=60305

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Resampling with sox

2009-02-22 Thread lauret

Ok, I tried to edit the convert.conf. First I created
/etc/slimserver/custom-convert.conf. Then I thought that this one is
for normal flac playback:

flc flc * *
-

And that this one is for transcoding:

flc flc transcode *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0
-b 16 dither $RESAMPLE$ - 

I added the -b 16 dither. Is that about correct? I wasn't sure about
the $RESAMPLE$ command, because dithering should be last.

Thanks!


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=60305

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Resampling with sox

2009-02-19 Thread lauret

andyg;398064 Wrote: 
 The bit depth of the source file is not changed.  The sample rate is
 halved, as you describe.

Is it possible to add anywhere a command that the file also gets
downsampled to 16-bit whenever sox is processing hi-rez files?


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=60305

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] Resampling with sox

2009-02-18 Thread lauret

As of version 7.3.2 extended resampling is supported:

Improved playback of high-resolution audio tracks. Sound eXchange
(SoX) now resamples higher-rate FLAC or Ogg tracks to lower
sample-rate FLAC compatible with your player. Previous 7.3.1 release
resampled only to MP3 format. 

My question is: is it possible to select the output bit depth for
resampling? My DAC is a 16-bit DAC, so the last bits get truncated.

And is it possible to select the preferred sampling frequency? I would
like to transcode 96kHz in 48kHz and 88.2kHz in 44.1kHz as the sampling
frequency is then halved.


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=60305

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] Use Duet Controller as remote for your amp.

2009-01-27 Thread lauret

I would actually also be nice if the volume could be controlled using
the volume control. On one of my sb's my volume controls are useless as
the digital output is fixed. If it's possible using this applet, how
hard could it be I was wondering?


-- 
lauret

lauret's Profile: http://forums.slimdevices.com/member.php?userid=17632
View this thread: http://forums.slimdevices.com/showthread.php?t=58392

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss