<AudioFramework>
  <!-- static_moduledef - contains all the context/crowd modules that are only created on initialization -->
  <!-- Commentary Context -->

  <!-- Crowd Context -->
  <Module type="ContextModule" name="CrowdContextModule"   maxNumValidContexts="50" maxNumTriggeredContexts="35" maxContextEvaluationTime="10.0" numPassives="10" maxNumWindows="25" windowUpdateRate="30" />
  <!-- Chant Context -->
  <Module type="ContextModule" name="ChantsContext"  maxNumValidContexts="60" maxNumTriggeredContexts="45" maxContextEvaluationTime="10.0" numPassives="20" maxNumWindows="25" windowUpdateRate="30" />

  <!-- Crowd Players -->
  <Module Type="CrowdModule" name="CrowdPlayer" GlobalPatch="CrowdGlobalPatch">
    <CrowdPlayer Name="Reactions_Home" Type="ReactionPlayer" TargetPatchName="ReactionPlayerHome" />
    <CrowdPlayer Name="Reactions_Away" Type="ReactionPlayer" TargetPatchName="ReactionPlayerAway" />
    <CrowdPlayer Name="Reac_HomeEven" Type="ReactionPlayer" TargetPatchName="ReactionPlayerHome" />
    <CrowdPlayer Name="Reac_AwayEven" Type="ReactionPlayer" TargetPatchName="ReactionPlayerAway" />
    <CrowdPlayer Name="Reac_HmAsAwy" Type="ReactionPlayer" TargetPatchName="ReactionPlayerHome" />
    <CrowdPlayer Name="Reac_AwAsHm" Type="ReactionPlayer" TargetPatchName="ReactionPlayerAway" />
    <CrowdPlayer Name="Chants" Type="GraffitiPlayer" />
    <PlayerPatch CrowdPlayerName="Chants">
      <Attributes FadeOutTime="0.30" StreamGuid="CHNT" SampleProjectKey="HARM" />
      <VoiceConfig MaxVoices="2" MinVoices="2" numMappings="3" voiceParamName="voiceIdEnum" >
        <VoiceMapping voiceName="Chants_Source_Home" TargetPatchName="MainMixer"  TargetInterfaceName="MainMixer.Signals" SignalName="MainMixer.ChantsHome_Sub.Input" paramValue="1" maxVoices="1" VoicePriority="100"/>
        <VoiceMapping voiceName="Chants_Source_Away" TargetPatchName="MainMixer"  TargetInterfaceName="MainMixer.Signals" SignalName="MainMixer.ChantsAway_Sub.Input" paramValue="2" maxVoices="1" VoicePriority="99"/>			
        <VoiceMapping voiceName="Chants_Source_Home_Song" TargetPatchName="MainMixer"  TargetInterfaceName="MainMixer.Signals" SignalName="MainMixer.ChantSong_Sub.Input" paramValue="4" maxvoices="1" VoicePriority="100"/>
      </VoiceConfig>
    </PlayerPatch>  
  </Module>

  
  <!-- <Module Type="CrowdModule" name="UFOPlayer">
  </Module> -->

  
  <MessageMap sourceModuleName="CrowdPlayer" sourceMessage="ReceivedCrowdEvent" destinationModuleName="CrowdContextModule" destinationMessage="Do Follow" />
  <!--
  <MessageMap sourceModuleName="Chants" sourceMessage="ChantPlayerBusy" destinationModuleName="ChantsContext" destinationMessage="Interrupts On" />
  <MessageMap sourceModuleName="Chants" sourceMessage="ChantPlayerNotBusy" destinationModuleName="ChantsContext" destinationMessage="Interrupts Off" />
  -->
</AudioFramework>