soundcheck wrote: 
> @marcoc
> 
> Just compiled your binary and changed my flac/pcm conversion rule to
> 96000
> 
> Your squeezelite won't recognize the stream properly.
> 
> I tried wav,wavpcm,raw as output formats of sox.
> 
> 96000 will be played back at 44100 with your SL. It sounds like super
> slomo.
> 
> Can you please post your flac/pcm conversion rule?
> Is there anything I need to consider for the squeezelite configuration
> to make your binary/patch work?
> 
> Thx

I'm working to a plugin that will remove needs to play with
custom-convert.conf and file type, but at the moment You have to
manually:

Put those profiles in custom-convert.conf


Code:
--------------------
    
  wav pcm * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -cs  $START$ $END$ -- $FILE$ |[sox] -q -t flac - -t wav -r 
192000 -c 2 -3 -s -L - gain -3 rate -v
  
  flc pcm * *   
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs $START$ $END$ -- $FILE$ |[sox] -q -t wav - -t wav -r 192000 
-c 2 -3 -s -L - gain -3 rate -v
  
  
--------------------


Set File Type to:



Code:
--------------------
    
  
  wav pcm  -> flac/sox
  flac flac   -> disadled
  flac aiff   -> disadled
  flac pcm  ->  flac/sox
  
  
--------------------


Please make sure the rate is compatible with your player, otherwise LMS
will NOT correctly downsample WAV (you need a little mod to LMS for
this). 

Please look at the squeezelite log file, it should look like that, if
you miss the "_check_header:77 WAVE[\B]" section, you are not using my
mod, and symptoms are exactly the ones you reported.


Code:
--------------------
    
  ...
  
  [12:57:07.640] codec_open:218 codec open: 'p'
  [12:57:07.640] pcm_open:373 pcm size: 2 rate: 44100 chan: 2 bigendian: 0
  
  ...
  
  Content-Type: audio/L16
  
  ...
  
  
  [12:57:07.843] _check_header:77 WAVE[\B]
  [12:57:07.843] _check_header:101 header: fmt  len: 40
  [12:57:07.843] _check_header:129 pcm size: 3 rate: 192000 chan: 2 bigendian: 0
  
  ...
  
    
Code:
--------------------
        
    
    As You could see the server is still sending wrong info about the stream, 
but the client is now looking at the header and resolving it correctly.
    
    MORE OPTIONS:
    
    If you have more than one player and different rules, you could use 
specific mac address or model name, ie:
    
        
Code:
--------------------
            
      wav pcm squeezelite *
      ...
      
      flac pcm * e8:de:27:03:05:b2
      ...
      
      
--------------------
        
    
    
    If you are using remnote streams or Input from the stdIn, you could add R 
and I capability to the above profiles, i.e.
    
    
        
Code:
--------------------
            
      
      wav pcm * *
        # IFRT:{START=--skip=%t}U:{END=--until=%v}
      ...
      
      
--------------------
        
    
    
    Marco



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to