<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> -->
<Movie version='6' rate='12' backgroundColor='white' width="400" height="100" compressed='Yes'
    xmlns="http://www.kineticfusion.org/RVML/2.0">
    <Title>
        Sound Envelope Example
    </Title>
    <Desc>
        Illustrates how a simple sound can be altered. In this example, the right volume is reduced to 0 
        over the first 500 ms, then swapped with the left channel over the next 1000ms and 
        then finally the left channel increased to 50% volume and the right channel 
        decreased to 50% volume prior to completion.
    </Desc>
    <Repository repositoryType='AbsoluteFile'>
        <Sound id='sound' format='ADPCM' resourceType='SWF' resourceLocation='/temp/exampleResources/sounds/Swing.swf' />
    </Repository>
    <Definitions>
        <!-- Elements for informational header -->
        <FontDefinition id='Arial' fontName='Arial' fontStyle='(bold)' fontRange='defined' />
        <EditField id='info' bounds='bounds(0, 0, 0, 0)'  fontID='Arial' fontSize='14.0' color='black' 
            properties='(systemFont, autosize)'>
            <InitialText>This is a sound fading L-R and back to centre</InitialText>
        </EditField>
    </Definitions>
    <Timeline>
        <Frame>
            <Place name="info" depth="1"/>

            <PlaceSound name='sound'>
                <SoundInfo uniquePlay='No' stopPlaying='No' loopCount='1' >
                    <SoundEnvelope mark="500" leftVolume="100" />
                    <SoundEnvelope mark="1500" rightVolume="100" />
                    <SoundEnvelope mark="2000" leftVolume="50"  rightVolume="50"/>
                </SoundInfo>
            </PlaceSound>
        </Frame>
    </Timeline>
</Movie>