Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convolution and Upsampling
16-07-2019, 13:13
Post: #8
RE: Convolution and Upsampling
There is no solution at present that allows you to upsample to different sample rates before applying the convolution filter..

For the 44;16 files, you could use

convOut=-i /share/ConvolutionFiles/Cor1S352.wav -lavfi [0]aresample=resampler=soxr:precision=32:osr=352800[2];[2][1]afir=gtype=gn

The change from Cor1S*.wav to Cor1S352.wav is needed because without this, MinimStreamer will select Cor1S44.wav to match the sample rate of the input audio file. The addition of osr=352800 is needed because without this, soxr would leave the sample rate of 44100 Hz unchanged, the convolution would be performed at 44100 Hz and FFmpeg would upsample the output from the convolution filter from 44100 Hz to 352800 Hz.

This setting could be used to test whether applying the filters in this order improves sound quality but could not be a permanent setting because it isn't suitable for 48 kHz and 96 kHz audio files.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Convolution and Upsampling - mm2 - 10-07-2019, 17:50
RE: Convolution and Upsampling - mm2 - 12-07-2019, 14:07
RE: Convolution and Upsampling - mm2 - 13-07-2019, 13:22
RE: Convolution and Upsampling - mm2 - 14-07-2019, 16:28
RE: Convolution and Upsampling - simoncn - 16-07-2019 13:13
RE: Convolution and Upsampling - mm2 - 16-07-2019, 17:31
RE: Convolution and Upsampling - mm2 - 27-07-2019, 16:24

Forum Jump:


User(s) browsing this thread: 1 Guest(s)