-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
examples/first_steps/setting_up_an_acoustic_scene/binaural_renderer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<scene | ||
Renderer="ssr_binaural" | ||
BlockSize="4096" | ||
SampleRate="44100" | ||
HRIRs="impulse_responses/qu_kemar_anechoic/QU_KEMAR_anechoic_3m.sofa"> | ||
<source Name="Cello" | ||
Type="point" | ||
Position="1 2 1.75"> | ||
<buffer ChannelMapping="1" | ||
Type="fifo" | ||
File="stimuli/anechoic/instruments/anechoic_cello.wav"/> | ||
</source> | ||
<sink Name="Head" | ||
Position="0 0 1.75" | ||
UnitX="1 0 0" | ||
UnitZ="0 0 1"/> | ||
</scene> |
17 changes: 17 additions & 0 deletions
17
examples/first_steps/setting_up_an_acoustic_scene/brs_renderer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<scene | ||
Renderer="ssr_brs" | ||
BlockSize="4096" | ||
SampleRate="44100" | ||
LengthOfSimulation="5.0"> | ||
<source Type="point" | ||
Name="SoundSource" | ||
IRs="impulse_responses/qu_kemar_rooms/auditorium3/QU_KEMAR_Auditorium3_src2_xs+4.30_ys+3.42.sofa"> | ||
<buffer ChannelMapping="1" | ||
Type="noise"/> | ||
</source> | ||
<sink Name="Head" | ||
Position="0 0 0" | ||
UnitX="0 1 0" | ||
UnitZ="0 0 1"/> | ||
</scene> |
19 changes: 19 additions & 0 deletions
19
examples/first_steps/setting_up_an_auditory_model/binaural_renderer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<scene | ||
Renderer="ssr_binaural" | ||
BlockSize="4096" | ||
SampleRate="44100" | ||
LengthOfSimulation = "3" | ||
HRIRs="impulse_responses/qu_kemar_anechoic/QU_KEMAR_anechoic_3m.sofa"> | ||
<source Name="Cello" | ||
Type="point" | ||
Position="1 2 1.75"> | ||
<buffer ChannelMapping="1" | ||
Type="fifo" | ||
File="stimuli/anechoic/instruments/anechoic_cello.wav"/> | ||
</source> | ||
<sink Name="Head" | ||
Position="0 0 1.75" | ||
UnitX="1 0 0" | ||
UnitZ="0 0 1"/> | ||
</scene> |
31 changes: 31 additions & 0 deletions
31
examples/first_steps/setting_up_an_auditory_model/blackboard.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<blackboardsystem> | ||
|
||
<dataConnection Type="AuditoryFrontEndKS"/> | ||
|
||
<KS Name="loc" Type="GmmLocationKS"/> | ||
<KS Name="dec" Type="LocalisationDecisionKS"> | ||
<Param Type="int">1</Param><!-- enable head rotation --> | ||
</KS> | ||
<KS Name="rot" Type="HeadRotationKS"> | ||
<Param Type="ref">robotConnect</Param> | ||
</KS> | ||
|
||
<Connection Mode="replaceOld" Event="AgendaEmpty"> | ||
<source>scheduler</source> | ||
<sink>dataConnect</sink> | ||
</Connection> | ||
<Connection Mode="replaceOld"> | ||
<source>dataConnect</source> | ||
<sink>loc</sink> | ||
</Connection> | ||
<Connection Mode="add"> | ||
<source>loc</source> | ||
<sink>dec</sink> | ||
</Connection> | ||
<Connection Mode="add" Event="RotateHead"> | ||
<source>dec</source> | ||
<sink>rot</sink> | ||
</Connection> | ||
|
||
</blackboardsystem> |