<?xml version="1.0" ?>
<sdf version="1.6">
  <world name="logical_audio_sensor">
    <physics name="fast" type="ignored">
      <real_time_factor>0</real_time_factor>
    </physics>

    <model name="model_playing">
      <pose>0 0 0 0 0 0</pose>
      <link name="audio_link">
      </link>
      <plugin
        filename="ignition-gazebo-logicalaudiosensorplugin-system"
        name="ignition::gazebo::systems::LogicalAudioSensorPlugin">
        <source>
          <id>1</id>
          <pose>0 0 0 0 0 0</pose>
          <attenuation_function> linear</attenuation_function>
          <attenuation_shape>sphere</attenuation_shape>
          <inner_radius>1.0</inner_radius>
          <falloff_distance>2.0</falloff_distance>
          <volume_level>.5</volume_level>
          <playing>true</playing>
         <play_duration>0</play_duration>
        </source>
      </plugin>
    </model>

    <model name="model_not_playing">
      <pose>10 10 0 0 0 0</pose>
      <link name="audio_link">
      </link>
      <plugin
        filename="ignition-gazebo-logicalaudiosensorplugin-system"
        name="ignition::gazebo::systems::LogicalAudioSensorPlugin">
        <source>
          <id>2</id>
          <pose>0 0 0 0 0 0</pose>
          <attenuation_function> linear</attenuation_function>
          <attenuation_shape>sphere</attenuation_shape>
          <inner_radius>1.0</inner_radius>
          <falloff_distance>2.0</falloff_distance>
          <volume_level>.5</volume_level>
          <playing>false</playing>
          <play_duration>0</play_duration>
        </source>
      </plugin>
    </model>
  </world>
</sdf>
