/usr/share/sdformat/1.5/audio_source.sdf is in sdformat-sdf 2.0.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <!-- Audio Source -->
<element name="audio_source" required="*">
<description>An audio source.</description>
<element name="uri" type="string" default="__default__" required="1">
<description>URI of the audio media.</description>
</element>
<element name="pitch" type="double" default="1.0" required="0">
<description>Pitch for the audio media, in Hz</description>
</element>
<element name="gain" type="double" default="1.0" required="0">
<description>Gain for the audio media, in dB.</description>
</element>
<element name="contact" required="0">
<description>List of collision objects that will trigger audio playback.</description>
<element name="collision" type="string" default="__default__" required="+">
<description>Name of child collision element that will trigger audio playback.</description>
</element>
</element>
<element name="loop" type="bool" default="false" required="0">
<description>True to make the audio source loop playback.</description>
</element>
<element name="pose" type="pose" default="0 0 0 0 0 0" required="0">
<description>A position and orientation in the parent coordinate frame for the audio source. Position(x,y,z) and rotation (roll, pitch yaw) in the parent coordinate frame.</description>
</element>
</element>
|