Home > SUpDEq-v5.0.0 > materials > get_HRIRs_sfd_N35.m

get_HRIRs_sfd_N35

PURPOSE ^

% SUpDEq - Spatial Upsampling by Directional Equalization

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

% SUpDEq - Spatial Upsampling by Directional Equalization

 script get_HRIRs_sfd_N35

 Just a small script to show how to get the reference dataset
 'HRIRs_sfd_N35' 

 (C) 2018 by JMA, Johannes M. Arend
             TH Köln - University of Applied Sciences
             Institute of Communications Engineering
             Department of Acoustics and Audio Signal Processing

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% SUpDEq - Spatial Upsampling by Directional Equalization
0002 %
0003 % script get_HRIRs_sfd_N35
0004 %
0005 % Just a small script to show how to get the reference dataset
0006 % 'HRIRs_sfd_N35'
0007 %
0008 % (C) 2018 by JMA, Johannes M. Arend
0009 %             TH Köln - University of Applied Sciences
0010 %             Institute of Communications Engineering
0011 %             Department of Acoustics and Audio Signal Processing
0012 
0013 %%
0014 % Load HRIR_L2702 SOFA dataset
0015 hrirs = SOFAload('HRIR_L2702.sofa');
0016 
0017 % Load respective spatial sampling grid. We use a grid with sampling
0018 % weights in this case in order to use SOFiA toolbox for the transform. The
0019 % sampling grid (and the corresponding weights) is derived from the
0020 % original miro file "HRIR_L2702.m" and transformed to degree.
0021 samplingGrid = importdata('samplingGrid_HRIR_L2702.mat');
0022 
0023 % Transform with order N = 35 and FFToversize = 4
0024 HRIRs_sfd_N35 = supdeq_sofa2sfd(hrirs,35,samplingGrid,4);
0025 
0026 % Save as mat file
0027 save HRIRs_sfd_N35 HRIRs_sfd_N35;

Generated on Wed 30-Nov-2022 14:15:00 by m2html © 2005