<wavAudioFile> (Audio from WAV File)

This element specifies the existence of an audio WAV file. This element is specified within the non-visual properties of an object. The audio must be attached to an object as this is how it is represented within the document. The actual playing of the audio however is done within the timing node list that is specified under the <timing> element.

example:
<p:pic>
  <p:nvPicPr>
    <p:cNvPr id="7" name="Rectangle 6">
      <a:hlinkClick r:id="" action="ppaction://media"/>
    </p:cNvPr>
    <p:cNvPicPr>
      <a:picLocks noRot="1"/>
    </p:cNvPicPr>
    <p:nvPr>
      <a:wavAudioFile r:embed="rId2"/>
    </p:nvPr>
  </p:nvPicPr></p:pic>

In the above example, we see that there is a single <wavAudioFile> element attached to this picture. This picture is placed within the document just as a normal picture or shape would be. The id of this picture, namely 7 in this case, will be used to refer to this <wavAudioFile >element from within the timing node list. The Embedded relationship id will be used to retrieve the actual audio file for playback purposes. ]

Note:

Parent Elements

<nvPr>4.4.1.30)

Attributes

Description

<builtIn> (Recognized Built-In Sound)

Specifies whether or not this sound is a built-in sound. If this attribute is set to <true> then the generating application is alerted to check the <name> attribute specified for this sound in it's list of built-in sounds and can then surface a custom name or UI as needed.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<embed> (Embedded Audio File Relationship ID)

Namespace: .../officeDocument/2006/relationships

Specifies the identification information for an embedded audio file. This attribute is used to specify the location of an object that resides locally within the file.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§7.8.2.1).

<name> (Sound Name)

Specifies the original name or given short name for the corresponding sound. This is used to distinguish this sound from others by providing a human readable name for the attached sound should the user need to identify the sound among others within the UI.

The possible values for this attribute are defined by the XML Schema string datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_EmbeddedWAVAudioFile">
	<attribute ref="r:embed" use="required"/>
	<attribute name="name" type="xsd:string" use="optional" default=""/>
	<attribute name="builtIn" type="xsd:boolean" use="optional" default="false"/>
</complexType>