Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
187ac806
Commit
187ac806
authored
Dec 05, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Some improvements in the VA tutorial script
parent
40d97c83
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/VirtualAcoustics/VA/itaVA_tutorial.m
View file @
187ac806
...
...
@@ -63,7 +63,8 @@ a.reset()
% Optionally add important data directories (if not specified in the VA setup GUI which pops up the first time you use VA)
a
.
add_search_path
(
fullfile
(
deployDir
,
'data'
)
);
a
.
add_search_path
(
fullfile
(
deployDir
,
'conf'
)
);
%a.add_search_path( 'C:/Users/Rocky/Experiment/InputWAVFiles' )
%a.add_search_path( 'C:/Users/Rocky/Experiment/HRTFs' )
%% Step 3: Set global output gain
% set global gain of VA output
...
...
@@ -88,7 +89,7 @@ a.set_output_gain(0.3); % value between 0 (-inf dB) and 1 (0 dB)
%% Step 4: Create a receiver and assign an HRIR set
% load HRTF set stored in VADataDir\HRIR
HRIRSet
=
a
.
create_directivity
(
'ITA_Artificial_Head_5x5_44kHz_128.v17.ir.daff'
);
% $(DefaultHRIR) macro would work, too
HRIRSet
=
a
.
create_directivity
_from_file
(
'ITA_Artificial_Head_5x5_44kHz_128.v17.ir.daff'
);
% $(DefaultHRIR) macro would work, too
% create a receiver and assign the HRTF set
L
=
a
.
create_sound_receiver
(
'Listener'
);
% input parameters: (displayed) name (in VAGUI) / auralization mode / ID of HRIR data set
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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