uk.org.toot.synth.channels.example3
Class Example3SynthChannel.Example3Voice

java.lang.Object
  extended by uk.org.toot.synth.PolyphonicSynthChannel.AbstractVoice
      extended by uk.org.toot.synth.channels.example3.Example3SynthChannel.Example3Voice
All Implemented Interfaces:
PolyphonicSynthChannel.Voice
Enclosing class:
Example3SynthChannel

public class Example3SynthChannel.Example3Voice
extends PolyphonicSynthChannel.AbstractVoice


Constructor Summary
Example3SynthChannel.Example3Voice(int pitch, int velocity, int sampleRate)
           
 
Method Summary
 boolean mix(AudioBuffer buffer)
           
 void setSampleRate(int rate)
           
 
Methods inherited from class uk.org.toot.synth.PolyphonicSynthChannel.AbstractVoice
getPitch, isReleased, release, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Example3SynthChannel.Example3Voice

public Example3SynthChannel.Example3Voice(int pitch,
                                          int velocity,
                                          int sampleRate)
Method Detail

setSampleRate

public void setSampleRate(int rate)

mix

public boolean mix(AudioBuffer buffer)
Specified by:
mix in interface PolyphonicSynthChannel.Voice
Overrides:
mix in class PolyphonicSynthChannel.AbstractVoice


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.