INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Playback stutters / skips towards the end of tracks  (Read 801 times)

DWMB

  • Recent member
  • *
  • Posts: 14
Playback stutters / skips towards the end of tracks
« on: December 28, 2024, 04:47:26 am »

Hi, I'm new to JRiver.

I have an issue: when a track of one bit-depth approaches a track from a different album with a different bit-depth, but where the sample rate of the two tracks is the same, the first track stutters / skips for a second or so in playback towards the end of the track as it is about to transition or change over to the new track.

So, for example, if the bit-depth on the first track is 16 bits at a sample rate of 44.1kHz, but the second track is 24 bits at the same sample rate of 44.1kHz, the first track skips or stutters in playback a few seconds before transitioning over to the second track. It's like a part of the track is cut off towards the end of the track, as the bit-depth is about to change.

This does not happen between tracks of different sample rates, or between tracks on the same album or different albums where the bit-depth remains the same.

Is there a way to get around this with JRiver, perhaps with the changing of a setting? One can do this with a Resync Delay with Roon and Audirvana.

Thanks.
Logged

Dawgincontrol

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 682
  • We have met the enemy and he is us.
Re: Playback stutters / skips towards the end of tracks
« Reply #1 on: December 28, 2024, 08:57:31 am »

I had this exact problem a while back and can't remember exactly what I changed that fixed it as I went through various settings.

In DSP Studio I know I changed Output Encoding to "None". 
Under channels I put my system number of speakers (in my case 5.1).
Useing JRSS mixing and for stereo sources only mix to 2.1 and set my subwoofer to 85 (personal preference).

Under Tools>Options>Audio I have prebuffering to 6 seconds, Bitstreaming YES (DSD) on mine, Use SOX for resampling, and Resample uncommon sample rates automatically, and I switch tracks Gaplessly.  Seems to me it was in the areas listed or a combination thereof, that the skipping stopped.

Hope this helps.  You were correct that it was only on the change in bitdepth where the problem occurred when listening to a playlist that combined them.
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #2 on: December 29, 2024, 04:23:53 am »

@ Dawgincontrol

Thank you for your reply. I'm actually pleased that this has happened to someone else previously, as it rare to find on the forums a shared experience.

So, I've now ticked in the check box for SoX for resampling, with all the other suggested settings having already been set.

I have an MSB Discrete DAC, so as per the instructions I cannot set Output Encoding to none without there being static sound. It must be set to DSD in DoP format with the MSB.

Just to confirm, I'm running JRiver version 33.0.53 for Mac. I must now test the system with the other aforesaid setting in place.

Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3137
Re: Playback stutters / skips towards the end of tracks
« Reply #3 on: December 29, 2024, 07:36:09 am »

From the online specs, it looks like that DAC supports PCM playback. With Output Encoding set to DSD DoP every file is converted to that format before sending to the DAC. To play PCM files as PCM you should set Output Encoding to None, set bitstreaming on and in the ASIO setup choose DoP. Then only DSD files are sent as DoP.

Are you using USB or DLNA?
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #4 on: December 29, 2024, 08:51:19 am »

I'm using JRiver 33.0.53 for Mac. Where do you find the ASIO setup to select DoP?

Thanks.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7986
  • Long cold Winter...
Re: Playback stutters / skips towards the end of tracks
« Reply #5 on: December 29, 2024, 08:56:23 am »

ASIO is mainly a Windows thing, it doesn't really apply for macOS. I'll move this topic to the correct MC33 for Mac section as this is the MC33 for Windows section so that's where the ASIO confusion came from here.

Anyways on macOS you have to use the CoreAudio output for your DAC and you have to enable DoP for DSD playback as macOS doesn't support native DSD. Look in MC's Options > Audio > Audio Device > Device settings for any setting related to DoP. If there is no option for this (can't recall, haven't used macOS in years) it likely already uses DoP by default and should work as-is when DSD bitstreaming is enabled.

If you have the audio output set to the default CoreAudio output, it goes through the system mixer and that could be the source of your issue. If it still happens, look at the integer mode option in Device settings and see if that makes a difference.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #6 on: December 29, 2024, 09:13:21 am »

I have the core audio set to my DAC (ProUSB XEF), and there is no option under device settings to select DoP.

Bitstreaming is set on Yes (DSD).
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7986
  • Long cold Winter...
Re: Playback stutters / skips towards the end of tracks
« Reply #7 on: December 29, 2024, 09:20:07 am »

Assuming DSD works fine in that configuration up to DSD256 for your DAC, DSD512 requires native DSD support which macOS does not support and your DAC doesn't support a PCM sample rate needed to get DSD512 over DoP working. The issue is related to the DAC changing bit-depths between PCM tracks (e.g. 16-bit to 24-bit). Hmmmm. You might try changing that integer mode option I mentioned before and see if that changes anything. I would be also interested if this behavior is consistent in Windows and/or Linux too if you have any machines using either handy.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3137
Re: Playback stutters / skips towards the end of tracks
« Reply #8 on: December 29, 2024, 09:30:15 am »

You might also try the Play from Memory options. They sometimes help this problem.  Note - I am a Windows guy.  I assume these are also available on Mac.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7986
  • Long cold Winter...
Re: Playback stutters / skips towards the end of tracks
« Reply #9 on: December 29, 2024, 09:34:44 am »

Memory playback should work fine in macOS, it did the last time I used macOS a few years ago. It kinda reminds me of the issue where some DACs have an audible pop or click when switching bit-depths but if it's significant stuttering and skipping forward that's a bit of a brain scratcher. Maybe Bob might have some insight if on that if it's Mac-related.

Maybe a screenshot of the Audio Path of a file currently being played might give some insight, at least if there's anything like DSP or resampling being used?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3137
Re: Playback stutters / skips towards the end of tracks
« Reply #10 on: December 29, 2024, 09:42:56 am »

The fact that it stutters a second or two before the end of a track seems like it may be related to the pre-loading of the next track that MC does. No idea why it would be bit depth dependend. I think one of the memory playback options now waits to do the preload until the track is actually done playing. That was my though.
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #11 on: December 29, 2024, 10:10:39 am »

Hi everyone.

So, I was able to set Output Encoding to "None", without issue this time.

It is now not upsampling to DSD and is playing normal PCM format through the DAC. In the process, the problem of the stuttering or skipping when the bit-depth changes, appears to have gone. I did not experience or encounter the issue when testing it now.

I will conduct further testing tonight to make sure, and advise.

Thank you for the help and advice.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7986
  • Long cold Winter...
Re: Playback stutters / skips towards the end of tracks
« Reply #12 on: December 29, 2024, 10:39:40 am »

Nice! Hopefully that fixes it for you. :)

Using Output Encoding to output DSD is a bad idea generally as that converts EVERYTHING to DSD (even DSD) and is always a lossy conversion. Also depending on what DSD option it's set to (and if it's stereo or multichannel) the on-the-fly DSD conversions are one of the most resource intensive tasks Media Center can do, and depending how powerful the machine is can have issues with stuttering. I would be curious in knowing how you came upon the Output Encoding option in the effort of trying to output DSD?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #13 on: December 29, 2024, 12:48:59 pm »

Thank you for the heads-up on upsampling to DSD under Output Encoding.

I couldn't put my finger on it, but sound quality went south when everything output to DSD.

To answer your question, I made the mistake of applying the instructions of MSB in setting output to DSD in DoP format - but that was supposed to be under device audio settings which is absent under audio settings on a Mac. So, I thought that that functionality must be activated under Output Encoding.

I'm new to JRiver, and sometimes that is how one learns by trial and error.

Thanks.

Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #14 on: December 29, 2024, 03:52:10 pm »

Sorry, I have one other question: how do I prevent intermittent stuttering or skipping during playback of a track? This happens from time to time.

Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72637
  • Where did I put my teeth?
Re: Playback stutters / skips towards the end of tracks
« Reply #15 on: December 29, 2024, 06:54:30 pm »

It could simply be limited bandwidth.
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #16 on: December 30, 2024, 05:00:33 am »

No, the issue that I'm now having is intermittent stuttering / skipping of playback during a track. This is over USB from my Mac Mini to my DAC. It's not an issue with streaming over a network.

I would just like to get guidance on how to eliminate such stuttering / skipping.

Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72637
  • Where did I put my teeth?
Re: Playback stutters / skips towards the end of tracks
« Reply #17 on: December 30, 2024, 06:06:29 am »

Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3137
Re: Playback stutters / skips towards the end of tracks
« Reply #18 on: December 30, 2024, 07:33:04 am »

You might try Memory Playback.
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #19 on: December 30, 2024, 08:30:17 am »

I will try that.

What is very confusing to me is if I disable integer mode under device settings, my DAC (player device), which is connected to my network, plays music from JRiver on my Mac mini to other speakers on my network, and not my speakers connected to my amp that my DAC is connected to.  >:( How do I stop this?
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #20 on: December 30, 2024, 03:13:03 pm »

I’m raising the question regarding integer mode, because if it is disabled under device settings on MC, the stuttering or skipping during playback of tracks seems to be gone.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7986
  • Long cold Winter...
Re: Playback stutters / skips towards the end of tracks
« Reply #21 on: December 30, 2024, 05:35:41 pm »

If it works with integer mode disabled, that could mean your DAC has issues with integer being sent to it and works with floating point being sent to it instead. There has been instances in the past where with some DACs integer mode needed to be disabled in order for it to work correctly (as they weren't compatible) and I guess that's the case here with the MSB?

Integer mode is a feature that was added in MC all the way back in 2013 when it was supported in OS X 10.9: https://yabb.jriver.com/interact/index.php/topic,84657.0.html
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #22 on: December 30, 2024, 05:59:22 pm »

Thank you.

But with Integer Mode disabled, when my amp is off, the Mac Mini plays music on MC through my MSB to my MacBook Pro speakers in another room. My MSB is connected to the same network, but how is this possible?
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #23 on: December 31, 2024, 08:13:56 am »

How is this possible?? Mac mini connected over USB to my MSB DAC in my hifi rig - the MSB also has a network Renderer connected to my local network - when my amp is switched off in my hifi rig, but I have JRiver playing from my Mac mini to my MSB over USB, audio comes through on my MacBook Pro speakers in another room (my study) - only zone activated on JRiver is my MSB as the device player (the "Player"); no other dynamic zones nor MSB Renderer on DLNA activated on JRiver. What on earth is going on here?? So frustrating!  >:(
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #24 on: December 31, 2024, 08:41:00 am »

What I've now discovered is if screen sharing from my Mac mini to my MacBook Pro is off, then there is no playback coming through on my MacBook Pro speakers.

But, Audirvana does not present this problem with screen sharing on. So, what's the deal here??

Thanks.
Logged

DWMB

  • Recent member
  • *
  • Posts: 14
Re: Playback stutters / skips towards the end of tracks
« Reply #25 on: December 31, 2024, 12:26:45 pm »

With my amp on, JRiver is playing through my MSB on my hifi speakers and simultaneously on my MacBook Pro speakers after activating share screen to work on my Mac mini from my MacBook. I've never come across something like this, ever!
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14008
Re: Playback stutters / skips towards the end of tracks
« Reply #26 on: January 02, 2025, 10:32:18 am »

With my amp on, JRiver is playing through my MSB on my hifi speakers and simultaneously on my MacBook Pro speakers after activating share screen to work on my Mac mini from my MacBook. I've never come across something like this, ever!
This thread is hard to follow but the default Core Audio device is like a switchboard. It can do lots of things that you might not expect, like send sound through a screen sharing session.
It can also do some useful things like being able to redirect your audio output to a AirPlay device.

If you have a directly attached (internal speakers, monitor or USB Dac) device you'd like to always do the same thing, create another zone for that and specify the device specifically in MC's audio device settings.
Logged
Pages: [1]   Go Up