<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<syntona version="0.5.23">
  <module bundle="core" id="0" name="top3" type="patch">
    <view height="0" width="0" xpos="20" ypos="20"/>
    <editor>
      <view height="600" width="800" xpos="20" ypos="20"/>
    </editor>
    <modules>
      <module bundle="jsyn" id="0" name="sample" type="sample">
        <view height="128" width="96" xpos="277" ypos="149"/>
        <jack name="on"/>
        <jack name="off"/>
        <jack name="queue"/>
        <jack name="output"/>
        <jack name="rate"/>
      </module>
      <module bundle="jsyn" id="1" name="monoRdr" type="monoRdr">
        <view height="108" width="96" xpos="447" ypos="249"/>
        <jack name="dataQueue"/>
        <jack max="1.0" min="0.0" name="amplitude" value="1.0" valueAdded="false"/>
        <jack max="88200.0" min="0.0" name="rate" value="45988.87356" valueAdded="false"/>
        <jack name="output"/>
      </module>
      <module bundle="jsyn" id="2" name="monoWtr" type="monoWtr">
        <view height="68" width="96" xpos="446" ypos="171"/>
        <jack name="dataQueue"/>
        <jack max="1.0" min="0.0" name="input" value="0.0" valueAdded="false"/>
      </module>
      <module bundle="jsyn" id="3" name="lineOut" type="lineOut">
        <view height="68" width="96" xpos="645" ypos="204"/>
        <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="jsyn" id="4" name="sawOscBL" type="sawOscBL">
        <view height="88" width="96" xpos="535" ypos="23"/>
        <jack max="8000.0" min="40.0" name="frequency" value="95.62832800000001" valueAdded="false"/>
        <jack max="1.0" min="0.0" name="amplitude" value="0.0355436" valueAdded="false"/>
        <jack name="output"/>
      </module>
      <module bundle="core" id="5" name="knob" type="knob">
        <view height="60" width="68" xpos="453" ypos="21"/>
        <jack max="100.0" min="0.0" name="kick" value="0.0"/>
        <jack max="2000.0" min="40.0" name="in" value="95.62832800000001"/>
        <jack name="out"/>
      </module>
      <module bundle="core" id="6" name="knob2" type="knob">
        <view height="60" width="68" xpos="455" ypos="84"/>
        <jack max="100.0" min="0.0" name="kick" value="0.0"/>
        <jack max="1.0" min="0.0" name="in" value="0.0355436"/>
        <jack name="out"/>
      </module>
      <module bundle="core" id="7" name="knob3" type="knob">
        <view height="60" width="68" xpos="343" ypos="323"/>
        <jack max="100.0" min="0.0" name="kick" value="0.0"/>
        <jack max="88200.0" min="0.0" name="in" value="45988.87356"/>
        <jack name="out"/>
      </module>
      <module bundle="core" id="8" name="comment" type="comment">
        <view height="310" width="250" xpos="23" ypos="34"/>
        <text>The sample contains 10 seconds of audio data by default.

To write to the sample, connect the sample "output" to the monoWtr "dataQueue".
Hit "queue" button then play with the knobs on the sawOscBL to record a ten second performance.

To play back the sample, disconnect from the monoWtr and connect the sample to the MonoRdr "dataQueue".
Then hit "queue" to play back the recorded data.
You can change the rate while it is playing back.
</text>
      </module>
    </modules>
    <connections>
      <output id="0" jack="output"/>
      <output id="0" jack="rate"/>
      <output id="1" jack="output">
        <input id="3" jack="input1"/>
      </output>
      <output id="4" jack="output">
        <input id="2" jack="input"/>
        <input id="3" jack="input0"/>
      </output>
      <output id="5" jack="out">
        <input id="4" jack="frequency"/>
      </output>
      <output id="6" jack="out">
        <input id="4" jack="amplitude"/>
      </output>
      <output id="7" jack="out">
        <input id="1" jack="rate"/>
      </output>
    </connections>
  </module>
</syntona>
