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
5d09fd91
Commit
5d09fd91
authored
Aug 19, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WiP
parent
c8b3b756
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
matlab/VA_example_ppa.m
matlab/VA_example_ppa.m
+8
-2
No files found.
matlab/VA_example_ppa.m
View file @
5d09fd91
...
...
@@ -247,7 +247,7 @@ switch ppa_example_mode
for
n
=
1
:
N
idx_current
=
idx
(
n
);
load
(
fullfile
(
output_folder
,
file_listing
(
idx_current
)
.
name
),
'-mat'
);
load
(
fullfile
(
output_folder
,
file_listing
(
idx_current
)
.
name
),
'-mat'
);
% makes paths_update available
source_pos
=
source_str
.
(
strcat
(
'source_'
,
num2str
(
S
-
1
)));
receiver_pos
=
receiver_str
.
(
strcat
(
'receiver_'
,
num2str
(
R
-
1
)));
...
...
@@ -260,7 +260,11 @@ switch ppa_example_mode
va
.
set_sound_source_position
(
S
,
source_pos_OpenGL
);
va
.
set_sound_receiver_position
(
R
,
receiver_pos_OpenGL
);
va
.
set_rendering_module_parameters
(
'MyBinauralOutdoorNoise'
,
paths_update
);
if
isfield
(
paths_update
,
'path_003ca6d3a74540310873574908219251'
)
va
.
set_rendering_module_parameters
(
'MyBinauralOutdoorNoise'
,
paths_update
);
else
disp
(
'not found, skipping update'
)
end
% Increment core clock
manual_clock
=
manual_clock
+
frame_rate
;
...
...
@@ -273,6 +277,8 @@ switch ppa_example_mode
end
close
(
h
)
va
.
disconnect
disp
(
'Stop VA to export simulation results from rendering module(s)'
)
...
...
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