Home
last modified time | relevance | path

Searched refs:SynthVoice (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java51 private ArrayList<SynthVoice> mFreeVoices = new ArrayList<SynthVoice>();
52 private Hashtable<Integer, SynthVoice>
53 mVoices = new Hashtable<Integer, SynthVoice>();
185 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in generateBuffer()
187 SynthVoice voice = iterator.next(); in generateBuffer()
198 SynthVoice voice = mVoices.get(noteIndex); in noteOff()
205 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in allNotesOff()
207 SynthVoice voice = iterator.next(); in allNotesOff()
215 public SynthVoice createVoice(int program) { in createVoice()
235 SynthVoice voice; in noteOn()
[all …]
DSynthVoice.java22 public abstract class SynthVoice { class
29 public SynthVoice() { in SynthVoice() method in SynthVoice
DSawVoice.java22 public class SawVoice extends SynthVoice {
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSynthEngine.java51 private ArrayList<SynthVoice> mFreeVoices = new ArrayList<SynthVoice>();
52 private Hashtable<Integer, SynthVoice>
53 mVoices = new Hashtable<Integer, SynthVoice>();
185 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in generateBuffer()
187 SynthVoice voice = iterator.next(); in generateBuffer()
198 SynthVoice voice = mVoices.get(noteIndex); in noteOff()
205 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in allNotesOff()
207 SynthVoice voice = iterator.next(); in allNotesOff()
215 public SynthVoice createVoice(int program) { in createVoice()
235 SynthVoice voice; in noteOn()
[all …]
DSynthVoice.java22 public abstract class SynthVoice { class
29 public SynthVoice() { in SynthVoice() method in SynthVoice
DSawVoice.java22 public class SawVoice extends SynthVoice {