INTERACT FORUM

Please login or register.

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

Author Topic: Can't upsample 32.7kHz PCM  (Read 2826 times)

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Can't upsample 32.7kHz PCM
« 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)
Logged

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Can't upsample 32.7kHz PCM
« Reply #1 on: March 14, 2016, 07:50:41 am »

bump
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: Can't upsample 32.7kHz PCM
« Reply #2 on: March 14, 2016, 08:09:50 am »

Thanks for the file.

I'm investigating.
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10970
Re: Can't upsample 32.7kHz PCM
« Reply #3 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.
Logged
~ nevcairiel
~ Author of LAV Filters

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Can't upsample 32.7kHz PCM
« Reply #4 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?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10970
Re: Can't upsample 32.7kHz PCM
« Reply #5 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.
Logged
~ nevcairiel
~ Author of LAV Filters

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Can't upsample 32.7kHz PCM
« Reply #6 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.
Logged
Pages: [1]   Go Up