Skip to content
GitLab
Menu
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
4c8dfa3c
Commit
4c8dfa3c
authored
Jan 06, 2021
by
jonasstienen
Browse files
Minor comment changes
parent
c3720c86
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/SoundFieldSimulation/Pigeon/examples/itaPigeon_example.m
View file @
4c8dfa3c
...
...
@@ -12,6 +12,8 @@ sensor_pos = [ 0 0 1.7 ];
paths
=
pgn
.
run
(
emitter_pos
,
sensor_pos
);
fprintf
(
'Received %i geometrical propagation paths\n'
,
numel
(
paths
)
)
fprintf
(
'Received %i geometrical propagation paths
(see itaGeoPropagation example)
\n'
,
numel
(
paths
)
)
%pgn.run_gui() % Opens the GUI of pigeon instead
%{
pgn
.
run_gui
()
% Opens the GUI of pigeon instead
%}
applications/SoundFieldSimulation/Pigeon/tests/ita_propagation_test_directivity.m
View file @
4c8dfa3c
%% Input data
if
~
exist
(
'genelec8020'
,
'var'
)
genelec8020
=
DAFF
(
'Genelec8020
_2016_1x1
.v17.ir.daff'
);
genelec8020
=
DAFF
(
'Genelec8020.v17.ir.daff'
);
% See BRAS data and OpenDAFF Matlab scripts
md
=
genelec8020
.
metadata
;
%delay_seconds_daff = md( 3 ).value / genelec8020.properties.samplerate; % 232.8, different value :/
end
if
~
exist
(
'gpsim'
,
'var'
)
gpsim
=
itaGeoPropagation
();
directivity_id
=
gpsim
.
load_directivity
(
'Genelec8020
_2016_1x1
.v17.ir.daff'
,
'Genelec8020'
);
directivity_id
=
gpsim
.
load_directivity
(
'Genelec8020.v17.ir.daff'
,
'Genelec8020'
);
end
genelec_front
=
itaAudio
();
...
...
Write
Preview
Supports
Markdown
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