public void StartVoice(Voice voice)
 {
     LibFluidsynth.Synth.fluid_synth_start_voice (Handle, voice.Handle);
 }
Exemple #2
0
 public void StartVoice(Voice voice)
 {
     ThrowIfDisposed();
     LibFluidsynth.fluid_synth_start_voice(Handle, voice.Handle);
 }
 public bool GetVoiceList(Voice [] voices, int voiceId)
 {
     var arr = new IntPtr [voices.Length];
     LibFluidsynth.Synth.fluid_synth_get_voicelist (Handle, arr, arr.Length, voiceId);
     for (int i = 0; i < arr.Length; i++) {
         if (arr [i] == IntPtr.Zero)
             return false;
         voices [i] = new Voice (arr [i]);
     }
     return true;
 }
Exemple #4
0
 public void StartVoice(Voice voice)
 {
     LibFluidsynth.Synth.fluid_synth_start_voice(Handle, voice.Handle);
 }