Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
VAMatlab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
VAMatlab
Commits
b713182a
Commit
b713182a
authored
Aug 23, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding diffraction and reflection order parts
parent
ff4863e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
matlab/VA_example_ppa.m
matlab/VA_example_ppa.m
+8
-4
No files found.
matlab/VA_example_ppa.m
View file @
b713182a
...
...
@@ -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
=
tru
e
;
record_paths
=
fals
e
;
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'
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment