Content Pipeline . Import Audio


Introduction

Currently, supported audio formats are .wav for sound effect (sampling audio) and .mp3 or .ogg for song (streaming audio).

Add sound effect content to project

Just set Importer name to AudioImporter and Processor name to SoundEffectProcessor, like below.

<Item Include="\Audio\Electrical-Tone.wav">
  <Name>Electrical-Tone</Name>
  <BuildAction>Compile</BuildAction>
  <Importer Name="AudioImporter" />
  <Processor Name="SoundEffectProcessor"/>
</Item>

Add song content to project

Just set Importer name to AudioImporter and Processor name to SongProcessor, like below.

<Item Include="\Audio\Srengenge.mp3">
  <Name>Srengenge</Name>
  <BuildAction>Compile</BuildAction>
  <Importer Name="AudioImporter" />
  <Processor Name="SongProcessor"/>
</Item>