Adding sime MIRO converters to MS and DFT domain DAFF files (still under testing)

parent 4e14bf28
function [ freqs, mags, metadata ] = dfMIROMS( alpha, beta, miro_obj )
if ~isempty( miro_obj.resampleToFS )
sampleRate = miro_obj.resampleToFS;
end
if strcmp( miro_obj.angles, 'DEG' )
[ irID, azimuth, elevation ] = closestIr( miro_obj, alpha, beta );
else
......
......@@ -45,6 +45,10 @@ daffv17_convert_from_miro( HRIR_FULL2DEG, 'HRIR_FULL2DEG_48kHz_web.v17.ir.daff',
HRIR_FULL2DEG.resampleToFS = 44.1e3;
daffv17_convert_from_miro( HRIR_FULL2DEG, 'HRIR_FULL2DEG_44kHz_web.v17.ir.daff', additional_metadata );
% ... in frequency domain.
% ... in complex frequency domain.
HRIR_FULL2DEG.resampleToFS = HRIR_FULL2DEG.fs; % reset fs
daffv17_convert_from_miro( HRIR_FULL2DEG, 'HRIR_FULL2DEG_44kHz_web.v17.dft.daff', additional_metadata, 'dft' );
daffv17_convert_from_miro( HRIR_FULL2DEG, 'HRTF_FULL2DEG_48kHz_128taps_web.v17.dft.daff', additional_metadata, 'dft' );
% ... energetic.
daffv17_convert_from_miro( HRIR_FULL2DEG, 'HRTF_FULL2DEG_energetic_web.v17.ms.daff', additional_metadata, 'ms' );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment