title: Polyphonic sound with envelopes with JSyn does not sound good
body: <p>I have used the JSyn examples PlayChords and PlaySegmentedEnvelope, (both examples are easy to find), to create a simple polyphonic sound. This piece of code</p>
  
  <pre><code>        synth = JSyn.createSynthesizer();
          synth.add(osc1 = new SineOscillator());
          synth.add(osc2 = new SineOscillator());
          synth.add(envelopePlayer1 = new VariableRateMonoReader());
          synth.add(envelopePlayer2 = new VariableRateMonoReader());
          double[] pairs = {0.1, 1.0, 0.5, 1.0, 0.7, 0.3, 0.8, 0.0};
          envelope = new SegmentedEnvelope(pairs);
          synth.add(lineOut = new LineOut());
          envelopePlayer1.output.connect(osc1.amplitude);
          envelopePlayer2.output.connect(osc2.amplitude);
          osc1.output.connect(0, lineOut.input, 0);
          osc1.output.connect(0, lineOut.input, 1);
          osc2.output.connect(0, lineOut.input, 0);
          osc2.output.connect(0, lineOut.input, 1);
          synth.start();
          lineOut.start();
          osc1.frequency.set(440.0);
          envelopePlayer1.dataQueue.queue(envelope);
          osc2.frequency.set(660.0);
          envelopePlayer2.dataQueue.queue(envelope); // attack
          synth.sleepFor(2.0);
          synth.stop();
  </code></pre>
  
  <p>does play a fifth as expected. There is, however, a very disturbing noise played as well. How can this be improved to play just the fifth?</p>