Lines Matching refs:voice
187 SynthVoice voice = iterator.next(); in generateBuffer() local
188 if (voice.isDone()) { in generateBuffer()
192 voice.mix(mBuffer, SAMPLES_PER_FRAME, 0.25f); in generateBuffer()
198 SynthVoice voice = mVoices.get(noteIndex); in noteOff() local
199 if (voice != null) { in noteOff()
200 voice.noteOff(); in noteOff()
207 SynthVoice voice = iterator.next(); in allNotesOff() local
208 voice.noteOff(); in allNotesOff()
235 SynthVoice voice; in noteOn() local
237 voice = mFreeVoices.remove(mFreeVoices.size() - 1); in noteOn()
239 voice = createVoice(mProgram); in noteOn()
241 voice.setFrequencyScaler(mFrequencyScaler); in noteOn()
242 voice.noteOn(noteIndex, velocity); in noteOn()
243 mVoices.put(noteIndex, voice); in noteOn()
252 SynthVoice voice = iterator.next(); in pitchBend() local
253 voice.setFrequencyScaler(mFrequencyScaler); in pitchBend()