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
4b9e6b8e
Commit
4b9e6b8e
authored
Nov 14, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restructuring example calls
parent
337e8295
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
matlab/itaVA_example_simple.m
matlab/itaVA_example_simple.m
+3
-3
No files found.
matlab/itaVA_example_simple.m
View file @
4b9e6b8e
...
...
@@ -24,9 +24,6 @@ va.set_signal_source_buffer_looping( X, true );
S
=
va
.
create_sound_source
(
'itaVA_Source'
);
va
.
set_sound_source_position
(
S
,
[
2
1.7
2
]
)
% Connect the signal source to the virtual sound source
va
.
set_sound_source_signal_source
(
S
,
X
)
% Create a listener with a HRTF and position him
L
=
va
.
create_sound_receiver
(
'itaVA_Listener'
);
va
.
set_sound_receiver_position
(
L
,
[
0
1.7
0
]
)
...
...
@@ -34,5 +31,8 @@ va.set_sound_receiver_position( L, [ 0 1.7 0 ] )
H
=
va
.
create_directivity
(
'$(DefaultHRIR)'
);
va
.
set_sound_receiver_directivity
(
L
,
H
);
% Connect the signal source to the virtual sound source
va
.
set_sound_source_signal_source
(
S
,
X
)
% More information
disp
(
'Type
''
doc itaVA
''
for more information.'
)
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