[environment, options] = sig_barumerli2024(flags, options)
flag | String describing the type of the environment:
|
options | Optional structure representing the FrAMBI options. |
environment | Structure representing the FrAMBI environment. See the general description of FrAMBI for more details. In addition, the following environment-specific fields are created:
|
options | Structure representing the FrAMBI options. No agent-specific fields are added. |
sig_barumerli2024('horizontal',..) generates a FrAMBI environment simulating a sound source rotating in the horizontal plane. The sound is spatialized using a preloaded HRTF set. The environment updates the source position over time according to the specified angular speed and sound duration. Note that to reduce computational time, the spatialization is done at the initialization of the environment for all source angles. It defines the following functionality linked with local functions:
sig_barumerli2024('mockup',..) generates a FrAMBI environment as a mockup for the vertical-plane sound-source localization. In this mockup, the source angle is directly accessible by the agent, which then does not need to infer it at all. The mockup uses the model.execute functionality only which is linked with local_execute_mockup. It returns the angle of the source directly as the output to the agent. This results in fast simulation useful for educational purposes only.
R. Barumerli and P. Majdak. FrAMBI: A Software Framework for Auditory Modeling Based on Bayesian Inference. under review at Neuroinformatics, 2024.