INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: RD James on March 12, 2016, 06:02:50 am

Title: Can't upsample 32.7kHz PCM
Post by: RD James on March 12, 2016, 06:02:50 am
I get a "something went wrong with playback" error when trying to upsample these tracks to anything higher than 44.1kHz.
http://www.filedropper.com/strmbgmisllobbynight_2 (14.1MB zip)
Title: Re: Can't upsample 32.7kHz PCM
Post by: RD James on March 14, 2016, 07:50:41 am
bump
Title: Re: Can't upsample 32.7kHz PCM
Post by: Matt on March 14, 2016, 08:09:50 am
Thanks for the file.

I'm investigating.
Title: Re: Can't upsample 32.7kHz PCM
Post by: Hendrik on March 14, 2016, 08:14:23 am
Resampling only works when there is a clear mathematical connection between the two rates, which is also "simple" enough to fit into the algorithm without overflows which in this case is only possible with 44.1kHz and lower rates, since its an extremely odd source rate.
I would suggest to offline convert such files with MC once to 44.1k if you really must play them often enough.

Thats the price one pays for using more than just a "dumb" linear resampler, it builds a complex model between the input and output rates, and if the required model would be too complex, it can't work.
Title: Re: Can't upsample 32.7kHz PCM
Post by: RD James on March 14, 2016, 09:12:26 am
Is there any benefit to that?
I thought it was best to resample "odd" rates as high as possible.
If it's resampled to 44.1kHz hasn't the damage been done at that point?
Title: Re: Can't upsample 32.7kHz PCM
Post by: Hendrik on March 14, 2016, 09:24:54 am
No, it doesn't really make much of a difference. Modern resamplers avoid distortions introduced through the resampling.
Title: Re: Can't upsample 32.7kHz PCM
Post by: RD James on March 15, 2016, 05:26:11 am
Perhaps the <44100 Hz resampler could have special handling which does this automatically without having to convert the files?
I don't want to convert them because it will inflate their size and it's not a reversible process.

If it can't go directly to the desired sample rate, resample to the highest that it can use first, then resample to the desired rate.