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

WiP

parent c8b3b756
......@@ -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 );
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)' )
......
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