Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Junior Member
    Join Date
    Sep 2015
    Posts
    3

    No bitperfect playback of wav fileswith newer LMS versions

    Hi,

    I have a problem playing wav files bitperfect with LMS 8.0.1 nightly and 8.1.2 nightly. I have not testet all formats, but it seems that 24 bit wav files are not working any more.

    Has something changed during the last months regarding playing wav and 2/or 4 bit content? Are the files resampled or something like that and is this a new behaviour which was not present in older LMS versions?

    I do have a DAC where firmware updates are aplyed by playing a 24 bit wav file. The playback has to bee bitperfect, what ever that meens, that this update process is working. With the last firmware version and a earlier version of LMS, I think it was 8.0.0, it worked perfectly, but with the versions mensioned above the firmware update failes.

    Please give bitperfect playback back, not only for 24 bit wav files, bitperfect playback would be good in general.

    Cheers and thanks for yny help,

    Schoepp

  2. #2
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,686

    No bitperfect playback of wav fileswith newer LMS versions

    Might be that you now need to make sure that if you want wav with the header and everything, you need to make sure squeezelite informs LMS it can receive wav files with the -W flag

    I’ve made changes to be consistent across LMS with all formats. Now it means that to receive wav with a header you must claim to accept it and pcm is not wav. Now, I might have left bugs.

    But bit perfect is still here
    Last edited by philippe_44; 2021-01-21 at 17:12.
    LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  3. #3
    Senior Member
    Join Date
    Jun 2014
    Location
    North Somerset, UK
    Posts
    335
    Quote Originally Posted by philippe_44 View Post
    Might be that you now need to make sure that if you want wav with the header and everything, you need to make sure squeezelite informs LMS it can receive wav files with the -W flag

    I’ve made changes to be consistent across LMS with all formats. Now it means that to receive wav with a header you must claim to accept it and pcm is not wav. Now, I might have left bugs.

    But bit perfect is still here
    Hi Philippe

    Having just tested some of the few 24 bit WAV files in my library, I can confirm that 24 bit WAV do not play anymore, with the files just making a white noise sound. However 16 bit WAV files do play correctly.
    If I disable the native setting in Settings> Advanced> File Types> WAV, the file will play but transcoded to Flac.

    Hope this helps and confirms that something has changed.

  4. #4
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,686
    Quote Originally Posted by PaulinPosset View Post
    Hi Philippe

    Having just tested some of the few 24 bit WAV files in my library, I can confirm that 24 bit WAV do not play anymore, with the files just making a white noise sound. However 16 bit WAV files do play correctly.
    If I disable the native setting in Settings> Advanced> File Types> WAV, the file will play but transcoded to Flac.

    Hope this helps and confirms that something has changed.
    I'll need a bit more information then (a server.log file with player.source logging set to info) because I tried on my squeezelite-esp32 both in wav and pcm mode and it worked fine
    LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  5. #5
    Senior Member
    Join Date
    Jun 2014
    Location
    North Somerset, UK
    Posts
    335
    Quote Originally Posted by philippe_44 View Post
    I'll need a bit more information then (a server.log file with player.source logging set to info) because I tried on my squeezelite-esp32 both in wav and pcm mode and it worked fine
    The perils of posting very early in the morning without fully checking!

    Having now carried out a check on all my players, it is only Squeezeplay through iPeng on the iPad that won’t play 24 bit WAV files. All the other players (see attached image) play correctly.

    iPeng version is 9.7.4


    Log attached as requested.

    I guess this is one for Pippin?
    Attached Images Attached Images  
    Attached Files Attached Files

  6. #6
    Junior Member
    Join Date
    Sep 2015
    Posts
    3

    No bitperfect playback of wavfileswith newer LMS versions

    > Am 22.01.2021 um 07:40 schrieb philippe_44 <philippe_44.9vv7nz (AT) no-mx (DOT) forums.slimdevices.com>:
    >
    > I'll need a bit more information then (a server.log file with
    > player.source logging set to info) because I tried on my
    > squeezelite-esp32 both in wav and pcm mode and it worked fine


    The following lines are the logs when playing the 24 bit 192 k/hz file via my UPNP renderer in my DAC. No sound is given out:

    [21-01-22 23:22:29.8875] Slim::Player::StreamingController::stop (2117) bb:bb:99:26:8b:b2
    [21-01-22 23:22:29.8889] Slim::Player::StreamingController::_Stop (610) Song queue is now 0
    [21-01-22 23:22:29.8895] Slim::Player::StreamingController::_setPlayingStat e (2377) new playing state STOPPED
    [21-01-22 23:22:29.8899] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state IDLE
    [21-01-22 23:22:29.8907] Slim::Player::StreamingController::resetSongqueue (1796) Song queue is now
    [21-01-22 23:22:29.8942] Slim::Player::StreamingController:lay (2120) bb:bb:99:26:8b:b2
    [21-01-22 23:22:29.8955] Slim::Player::StreamingController::_setPlayingStat e (2377) new playing state STOPPED
    [21-01-22 23:22:29.8960] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state IDLE
    [21-01-22 23:22:29.8982] Slim::Player::Song::new (109) index 0 -> file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.8992] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state TRACKWAIT
    [21-01-22 23:22:29.9013] Slim::Player::StreamingController::_playersMessage (796) Aktueller Titel: file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.9098] Slim::Player::Song::getNextSong (223) file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.9105] Slim::Player::StreamingController::_nextTrackReady (744) bb:bb:99:26:8b:b2: nextTrack will be index 0
    [21-01-22 23:22:29.9112] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [21-01-22 23:22:29.9117] Slim::Player::StreamingController::_Stream (1213) bb:bb:99:26:8b:b2: preparing to stream song index 0
    [21-01-22 23:22:29.9124] Slim::Player::Song:pen (360) file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.9147] Slim::Player::TranscodingHelper::getConvertCommand 2 (488) Matched: wav->wav via: -
    [21-01-22 23:22:29.9153] Slim::Player::Song:pen (384) seek=false time=0 canSeek=1
    [21-01-22 23:22:29.9172] Slim::Player::TranscodingHelper::getConvertCommand 2 (488) Matched: wav->wav via: -
    [21-01-22 23:22:29.9178] Slim::Player::Song:pen (414) Transcoder: streamMode=I, streamformat=wav
    [21-01-22 23:22:29.9185] Slim::Player::Song:pen (470) Opening stream (no direct streaming) using Slim::Player::Protocols::File [file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav]
    [21-01-22 23:22:29.9198] Slim::Player::Protocols::File:pen (80) duration: [10.003] size: [11523972] endian [] offset: [254] for file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.9203] Slim::Player::Protocols::File:pen (97) Opening file /data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.9240] Slim::Player::Protocols::File:pen (189) Seeking in 0 into /data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:29.9250] Slim::Player::Song:pen (491) URL is a song (audio): file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav, type=wav
    [21-01-22 23:22:29.9407] Slim::Player::StreamingController::_Stream (1282) bb:bb:99:26:8b:b2: stream
    [21-01-22 23:22:29.9436] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [21-01-22 23:22:29.9445] Slim::Player::StreamingController::_setPlayingStat e (2377) new playing state BUFFERING
    [21-01-22 23:22:29.9451] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state STREAMING
    [21-01-22 23:22:29.9652] Slim::Player::TranscodingHelper::getConvertCommand 2 (488) Matched: wav->wav via: -
    [21-01-22 23:22:30.6608] Slim::Player::Protocols::File::sysread (283) Trying to read past the end of file: file:///data/multimedia/flac/BitPerfekt/24_192k_PerfectTest.wav
    [21-01-22 23:22:30.6616] Slim::Player::Source::_readNextChunk (372) end of file or error on socket, song pos: 11524226, tell says: 11524226, totalbytes: 11523972
    [21-01-22 23:22:30.6622] Slim::Player::Source::_readNextChunk (377) bb:bb:99:26:8b:b2 mark end of stream
    [21-01-22 23:22:30.6650] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state STREAMOUT
    [21-01-22 23:23:30.2384] Slim::Player::StreamingController::stop (2117) bb:bb:99:26:8b:b2
    [21-01-22 23:23:30.2400] Slim::Player::StreamingController::_Stop (610) Song queue is now 0
    [21-01-22 23:23:30.2406] Slim::Player::StreamingController::_setPlayingStat e (2377) new playing state STOPPED
    [21-01-22 23:23:30.2410] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state IDLE
    [21-01-22 23:23:30.2424] Slim::Player::Source:laymode (95) bb:bb:99:26:8b:b2: Current playmode: stop

    When playing the same file with squeezelite on a PI connected via USB to the same DAC I can hear the file playing, but I can see in the logs that it is converted to PCM

    There seems to be nothing wrong in the log above and no conversion is happening, but why can I hear no sound? When I stream flac files everything is OK. Can the issue be related to the fact that the renderer is connected to LMS via the upnp bridge plugin?

    I am sure it worked before, because I have done a firmware update of my DAC by playing a 24 bit wav file and the update is only working if bitt perfect playback is happening.

    Do you have any ideas?

    Cheers and thanks for any help,

    Schoepp


  7. #7
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,686
    Quote Originally Posted by schoeppi View Post
    > Am 22.01.2021 um 07:40 schrieb philippe_44 <philippe_44.9vv7nz (AT) no-mx (DOT) forums.slimdevices.com>:[color=blue]
    When playing the same file with squeezelite on a PI connected via USB to the same DAC I can hear the file playing, but I can see in the logs that it is converted to PCM

    There seems to be nothing wrong in the log above and no conversion is happening, but why can I hear no sound? When I stream flac files everything is OK. Can the issue be related to the fact that the renderer is connected to LMS via the upnp bridge plugin?

    I am sure it worked before, because I have done a firmware update of my DAC by playing a 24 bit wav file and the update is only working if bitt perfect playback is happening.

    Schoepp
    Oh, that's different then: the problem is with the UPnP bridge, not with any other player?
    LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  8. #8
    Junior Member
    Join Date
    Sep 2015
    Posts
    3

    No bitperfect playback of wavfileswith newer LMS versions

    > Am 23.01.2021 um 06:26 schrieb philippe_44 <philippe_44.9vwywn (AT) no-mx (DOT) forums.slimdevices.com>:
    >
    >
    > Oh, that's different then: the problem is with the UPnP bridge, not with
    > any other player?


    Yes, that seems to be the case.

    * With a Boom I can play 24 bit wav files perfectly, did not check if conversion from wav to pcm is done.
    * With Squeezelite 1.8 on a PI connect via USB I can play 24 bit files also, but they are not bit perfect, which is because wav is converted to pcm. The PI is connected to the DAC which is able to check if playback is bit perfect or not.
    * The renderer in the DAC, which is connected via the upnp bridge, is not able to play the 24 bit wav files.
    , at least I can hear nothing. The log showed that no conversion is done and I am sure it worked before, because a few months ago I was able to update my DAC’s firmware by playing a wav file exactly the same way I try it now.

    So defenetly something must have been changed, but I do not know where to look for the problem and if it is because of changes in LMS, the upnp bridge or even because of a setting in DAC :-(. I do no upsampling or something like that and the settings for LMS and the DA
    C did not change since the last working firmware update.

    The renderer in the DAC is working out of the box with the upnp bridge, there was no need to change anything in the upnp bridge settings to make gabbles playback and other things working, which cause so ofthen problems with other upnp devices.

    And like said, it worked perfectly a few months ago...

    Cheers,

    Schoepp


  9. #9
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    6,171
    Quote Originally Posted by schoeppi View Post
    &gt; Am 23.01.2021 um 06:26 schrieb philippe_44 :
    &gt;
    &gt;
    &gt; Oh, that's different then: the problem is with the UPnP bridge, not with
    &gt; any other player?


    Yes, that seems to be the case.

    * With a Boom I can play 24 bit wav files perfectly, did not check if conversion from wav to pcm is done.
    * With Squeezelite 1.8 on a PI connect via USB I can play 24 bit files also, but they are not bit perfect, which is because wav is converted to pcm. The PI is connected to the DAC which is able to check if playback is bit perfect or not.
    * The renderer in the DAC, which is connected via the upnp bridge, is not able to play the 24 bit wav files.
    , at least I can hear nothing. The log showed that no conversion is done and I am sure it worked before, because a few months ago I was able to update my DACâ€s firmware by playing a wav file exactly the same way I try it now.

    So defenetly something must have been changed, but I do not know where to look for the problem and if it is because of changes in LMS, the upnp bridge or even because of a setting in DAC :-(. I do no upsampling or something like that and the settings for LMS and the DA
    C did not change since the last working firmware update.

    The renderer in the DAC is working out of the box with the upnp bridge, there was no need to change anything in the upnp bridge settings to make gabbles playback and other things working, which cause so ofthen problems with other upnp devices.

    And like said, it worked perfectly a few months ago...

    Cheers,

    Schoepp
    What is the difference between WAV and PCM?

    Edit. I tried sending two wav files to picoreplayer, one 16/44.1kHz and the other 24/96kHz and both were reported as wav by LMS so LMS itself seems to be behaving correctly.

    Sent from my Pixel 3a using Tapatalk
    Last edited by slartibartfast; 2021-01-23 at 13:33.

  10. #10
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,087
    Quote Originally Posted by slartibartfast View Post
    What is the difference between WAV and PCM?
    The WAV header whic may contain metadata.

    Is it possible in the "working" setup the WAV header as well as PCM is (incorrectly) being sent to DAC but now the WAV header has been stripped so only the PCM data in WAV file is sent to DAC ?

    It seems unlikely but then a DAC that recognises a bit sequence in a PCM stream as a firmware update and not audio also seems strange.

    edit:
    Has PCM stream been processed for volume, fade-in,crossfade or gain ?
    Has volume lock at 100% been turned off ?
    Last edited by bpa; 2021-01-23 at 13:28.

Posting Permissions

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