sofacoustics / SOFAtoolbox

SOFA Toolbox (API for Matlab, Octave)
http://sofaconventions.org
European Union Public License 1.2
116 stars 31 forks source link

Can i change the.sofa file sampling rate? #56

Closed Wenkang-Liu closed 2 years ago

petibub commented 2 years ago

If the data type is FIR, then there is Data.SamplingRate, which you could change to a new sampling rate. If you want to resample impulse responses to a new sampling rate as well, currently there is a preliminary SOFAresample() function, or you use Matlab's function resample(). Hope that helps, Piotr