Commit b713182a authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Adding diffraction and reflection order parts

parent ff4863e3
......@@ -6,14 +6,15 @@
% Requires ITA-Toolbox, obtain from http://www.ita-toolbox.org
output_folder = fullfile( 'C:\Users\jonas\sciebo\Thesis stuff\auralization\resources', 'example_ppa/s1_r1' );
%output_folder = fullfile( 'D:\Users\stienen\Sciebo\Thesis stuff\auralization\resources', 'example_ppa/s1_r1' );
%output_folder = fullfile( 'C:\Users\jonas\sciebo\Thesis stuff\auralization\resources', 'example_ppa/s1_r1' );
output_folder = fullfile( 'D:\Users\stienen\Sciebo\Thesis stuff\auralization\resources', 'example_ppa/s1_r1' );
frame_rate = 128 / 44100; % block length / sampling frequency
sort_by_date = false;
record_paths = true;
record_paths = false;
ppa_diffraction_model = 'utd';
%single_path_id = 'path_003ca6d3a74540310873574908219251';
max_order_auralization = 0;
S = 1;
R = 1;
......@@ -101,6 +102,9 @@ if any( strcmpi( ppa_example_mode, { 'simulation', 'all' } ) )
pu.source = S;
pu.receiver = R;
pu.identifier = pp.identifier;
[ refl_order, diffr_order ] = ita_propagation_get_orders( pp );
pp.reflection_order = refl_order;
pp.diffraction_order = diffr_order;
path_count = path_count + 1;
all_path_names{path_count} = pp.identifier;
......@@ -247,7 +251,7 @@ if any( strcmpi( ppa_example_mode, { 'auralization', 'all' } ) )
% Load data
load( fullfile( output_folder, 'analysis_data.mat' ) )
load( fullfile( output_folder, 'postprocessing_data.mat' ), 'postproc_all_paths' )
file_listing = dir( strcat( output_folder, '/frame*data.mat' ) );
......
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