Dear list,

I have implemented fluidsynth as a default player in OpenMusic.
OpenMusic is commonLisp based environment. So i am communicating with 
fluidsynth library via cffi adn all is working.
However i am not succeding in changing tunings via sysex and octave tuning 
functions.

I am first sending this sysex message:

 "7E 7F 08 09 03 7F 7F 40 00 5A 1F 47 57 61 76 4F 2E 69 4D 56 33 43 6C 5E 0A 4B 
43 65 61 52 48"

using fluid_synth_sysex function.

then i am sending octave tuning message (sorry for the lisp expression):

(cl-fluid::fluid_synth_activate_octave_tuning
 (cl-fluid::synthptr (car cl-fluid::*fl-synths*))
 0
 0
 "17_edo" 
 (cffi::foreign-alloc :int :initial-contents '(0.0 41.0 12.0 53.0 24.0 65.0 
35.0 6.0 47.0 18.0 59.0 29.0)) 
 1)

The messages are being sent since i don't have an error output.

Then i am sending fluid_synth_activate_tuning like this:

(cl-fluid::fluid_synth_activate_tuning
 (cl-fluid::synthptr (car cl-fluid::*fl-synths*))
 0 0 0 1)


But no detuning is done.
Note that  (cl-fluid::synthptr (car cl-fluid::*fl-synths*)) is a pointer 
pointing to a already created fluidsynth instance.

Anybody has an idea, or am I doing something wrong here?

Thank you in advance.

Best regards
Karim





-- 
Karim Haddad

Music Representations Team, IRCAM
Research and development manager.
email   : karim.had...@ircam.fr
webpage : http://karim.haddad.free.fr

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to