<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<syntona version="0.5.14">
<module bundle="core" id="0" name="top1" type="patch">
<view height="0" width="0" xpos="20" ypos="20"/>
<modules>
<module bundle="midi" id="0" name="noteOnIn" type="noteOnIn">
<view height="88" width="96" xpos="30" ypos="40"/>
<jack name="pitch"/>
<jack name="amplitude"/>
<jack name="channel"/>
</module>
<module bundle="midi" id="1" name="noteOffIn" type="noteOffIn">
<view height="88" width="96" xpos="35" ypos="160"/>
<jack name="pitch"/>
<jack name="amplitude"/>
<jack name="channel"/>
</module>
<module bundle="jsyn" id="2" name="voice" type="voice">
<view height="148" width="96" xpos="516" ypos="87"/>
<modules>
<module bundle="jsyn" id="0" name="frequency" type="aInput">
<view height="48" width="96" xpos="73" ypos="124"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="1" name="amplitude" type="aInput">
<view height="48" width="96" xpos="71" ypos="52"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="2" name="output" type="aOutput">
<view height="48" width="96" xpos="841" ypos="325"/>
<jack max="100.0" min="0.0" name="input" value="0.0" valueAdded="false"/>
</module>
<module bundle="jsyn" id="3" name="ampEnv" type="DAHDSR">
<view height="208" width="96" xpos="731" ypos="190"/>
<jack max="1.0" min="0.0" name="input" value="0.0" valueAdded="false"/>
<jack max="2.0" min="0.0" name="delay" value="0.0" valueAdded="false"/>
<jack max="8.0" min="0.01" name="attack" value="0.01" valueAdded="false"/>
<jack max="2.0" min="0.0" name="hold" value="0.0" valueAdded="false"/>
<jack max="8.0" min="0.01" name="decay" value="1.8956400000000002" valueAdded="false"/>
<jack max="1.0" min="0.0" name="sustain" value="0.5" valueAdded="false"/>
<jack max="8.0" min="0.01" name="release" value="6.68964" valueAdded="false"/>
<jack max="1.0" min="0.0" name="amplitude" value="1.0" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="4" name="sineOsc" type="sineOsc">
<view height="88" width="96" xpos="42" ypos="373"/>
<jack max="20.0" min="0.1" name="frequency" value="3.4631" valueAdded="false"/>
<jack max="1.0" min="0.0" name="amplitude" value="0.035" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="5" name="aPower2" type="aPower2">
<view height="68" width="96" xpos="141" ypos="349"/>
<jack max="8.0" min="-8.0" name="input" value="0.0" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="6" name="atimes" type="a*">
<view height="88" width="96" xpos="252" ypos="131"/>
<jack max="1.0" min="0.0" name="inputA" value="329.6275569128699" valueAdded="false"/>
<jack max="1.0" min="0.0" name="inputB" value="0.0" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="7" name="sineOscPM" type="sineOscPM">
<view height="108" width="96" xpos="647" ypos="29"/>
<jack max="8000.0" min="40.0" name="frequency" value="440.0" valueAdded="false"/>
<jack max="1.0" min="0.0" name="amplitude" value="0.999969482421875" valueAdded="false"/>
<jack max="1.0" min="0.0" name="modulation" value="0.0" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="8" name="modIndex" type="aInput">
<view height="48" width="96" xpos="66" ypos="253"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="9" name="sineOsc2" type="sineOsc">
<view height="88" width="96" xpos="367" ypos="359"/>
<jack max="8000.0" min="40.0" name="frequency" value="440.0" valueAdded="false"/>
<jack max="4.0" min="0.0" name="amplitude" value="6.8" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="10" name="atimes2" type="a*">
<view height="88" width="96" xpos="356" ypos="238"/>
<jack max="1.0" min="0.0" name="inputA" value="0.0" valueAdded="false"/>
<jack max="10.0" min="0.0" name="inputB" value="2.01" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="jsyn" id="11" name="modEnv" type="DAHDSR">
<view height="208" width="96" xpos="508" ypos="228"/>
<jack max="1.0" min="0.0" name="input" value="0.0" valueAdded="false"/>
<jack max="2.0" min="0.0" name="delay" value="0.0" valueAdded="false"/>
<jack max="8.0" min="0.01" name="attack" value="0.58528" valueAdded="false"/>
<jack max="2.0" min="0.0" name="hold" value="0.0" valueAdded="false"/>
<jack max="8.0" min="0.01" name="decay" value="0.45744" valueAdded="false"/>
<jack max="1.0" min="0.0" name="sustain" value="0.5" valueAdded="false"/>
<jack max="8.0" min="0.01" name="release" value="0.43347" valueAdded="false"/>
<jack max="1.0" min="0.0" name="amplitude" value="1.0" valueAdded="false"/>
<jack name="output"/>
</module>
<module bundle="core" id="12" name="comment" type="comment">
<view height="86" width="250" xpos="241" ypos="29"/>
<text>Two oscillator FM with a modulation envelope. 
Actually Phase Modulation but most people call it FM.</text>
</module>
</modules>
<connections>
<output id="0" jack="output">
<input id="6" jack="inputA"/>
</output>
<output id="1" jack="output">
<input id="7" jack="amplitude"/>
</output>
<output id="3" jack="output">
<input id="2" jack="input"/>
</output>
<output id="4" jack="output">
<input id="5" jack="input"/>
</output>
<output id="5" jack="output">
<input id="6" jack="inputB"/>
</output>
<output id="6" jack="output">
<input id="7" jack="frequency"/>
<input id="10" jack="inputA"/>
</output>
<output id="7" jack="output">
<input id="3" jack="amplitude"/>
</output>
<output id="8" jack="output">
<input id="9" jack="amplitude"/>
</output>
<output id="9" jack="output">
<input id="11" jack="amplitude"/>
</output>
<output id="10" jack="output">
<input id="9" jack="frequency"/>
</output>
<output id="11" jack="output">
<input id="7" jack="modulation"/>
</output>
</connections>
<jack name="on"/>
<jack name="off"/>
<jack max="1000.0" min="0.0" name="frequency" value="64.0" valueAdded="false"/>
<jack max="100.0" min="0.0" name="amplitude" value="0.2109375" valueAdded="false"/>
<jack name="output"/>
<jack max="10.0" min="0.0" name="modIndex" value="3.1893" valueAdded="false"/>
</module>
<module bundle="music" id="3" name="cpf" type="cpf">
<view height="68" width="96" xpos="292" ypos="156"/>
<jack max="100.0" min="0.0" name="in" value="64.0"/>
<jack name="out"/>
</module>
<module bundle="jsyn" id="4" name="lineOut" type="lineOut">
<view height="68" width="96" xpos="686" ypos="150"/>
<jack max="1.0" min="0.0" name="input0" value="0.0" valueAdded="false"/>
<jack max="1.0" min="0.0" name="input1" value="0.0" valueAdded="false"/>
</module>
<module bundle="core" id="5" name="comment" type="comment">
<view height="70" width="250" xpos="245" ypos="255"/>
<text>Convert MIDI pitch to frequency in Hz.
</text>
</module>
</modules>
<connections>
<output id="0" jack="pitch">
<input id="3" jack="in"/>
<input id="2" jack="on"/>
</output>
<output id="0" jack="amplitude"/>
<output id="0" jack="channel"/>
<output id="1" jack="pitch">
<input id="2" jack="off"/>
</output>
<output id="1" jack="amplitude"/>
<output id="1" jack="channel"/>
<output id="2" jack="output">
<input id="4" jack="input0"/>
</output>
<output id="3" jack="out">
<input id="2" jack="frequency"/>
</output>
</connections>
</module>
</syntona>
