< Back to IRCAM Forum

Problems with pitchwheel in OM 6.8

It seems that pitchwheel messages (these are for tuning the multichannel for microtone use) is not stable, i.e the first time you send pitchwheel messasges and play a Score object this works. If you replay it DON’t. I am really amazed that this wasn’t reported yet. (I still use the 6.5.1).
Is it a bug ?
I am including a patch example which uses 16th tone on diffent channels.
In the old version this works perfectly. In the new one, it only works the first time.
Hint for the developpers : It seems it comes ONLY for the first 4 channels.

Enjoy!

K

PS: Before playing the chord-seq , please do evaluate the x-append BEFORE playing the chord-seq, then play the chord-seq again…

16th-test.omp (5.12 KB)

Hi,

Yes, Karim is right. I was about to report the bug as well…

Michele

Just like Karim… I found an easy workaround : I also use 6.5.1 :wink:

Pierre

Hi guys : how is your “auto microtone bend” option in MIDI preferences ?
(if it’s on, just turn it off)

If I remember correctly this topic was discussed in the om mailing list around december last year, and Jean suggested the same solution.
In my case, it is not enough to just unselect ‘auto microtone bend’ in the midi preferences options, I also have to select the “Midishare RT” option in the editor playback options. Once this is done, all works well.

All best,

jc

Dear Jean,

Even with the “autochtone midi microbend” same result. And it is worse with cl-midi… No tuning at all.
THe issue here is not even the 16th tones. But the liberty to have customed tuned channels.
I hope you guys find a solution to this. It will be really great.
For Jc, i am sorry to inform you this doesn’t work in our case here. For standard Autpmatic 1/4 tone maybe.
So there is something to do about that. And it should noty be that difficult.

Best
K

The “automatic tuning” should happen only when the option is selected.
If you do “standard” 1/4 or 1/8th tone pitch bend, it’ll be set automatically when you press play and restet when you stop (then, you can also work with other objects that use the channels differently). So that might be an interesting option.

The problem here is that the reset of pitchbends is done also when the option is not selected.
This is bad and can be fixed by a test added in the stop function (I will include the fix in the next release) :

(defmethod player-stop ((engine (eql :midishare)) &optional play-list)
(when midiplayer
(om-midi::midishare-stop-player midiplayer)
(when midi-microplay
(let ((ports (remove-duplicates (mapcar 'fifth ms-list-to-play))))
(loop for p in ports do (microplay-reset p)))))
(setf ms-list-to-play nil ms-loop nil))

PS. CL-MIDI is not related to the MIDI player but only the MIDI file reader/writer. In the next version this will be stated more clearly and you will be able to select the Standard MIDI File system and the MIDI player separately.

Dear Karim,
I am not able to reproduce your problem.
In my case your example patch plays back without any problem both on QT General Midi and in KontakPlayer (though the pitchbend values for Kontakt are different).
I am using midishare without ‘auto bend microtones’ selected on OS 10.8.5
I wonder where the difference is?

Ah, it seems that if the “MidiShare RT” option is selected there is no problem. However, if the player mode is “MIdiShare player” the pitchbend tuning is reset when the sequence stops playing.

Best,

jc

Yes indeed ,
THanx Jc, …
If it’s MidiShare RT (well i had to look for it - for those who don’t know, its the far most right icon in a Score object)
it does play and keep the pitchbends correctly. The other , (classical) mode (non RT) resets the pitchbend back to normal.
Well happy to have found out this.
And thanx to Jean for his patience.

Best 2 u all
Happy OpenMusing !
K

For those who are wondering:
MisiShare RT is an alternative player mode that uses MidiShare to connect and send MIDI events, but it does not use MidiShare player and scheduling (the scheduling is done inetrnally by OM).
This is most likely going to be the “default” option in the future, so feel free to test and report problems.
In OM 6.8.1 this option will actually be called “OM player” and the way MIDI events are actually sent will just to be decided in the general preferences (you’ll have a choice between MidiShare – as is MidiShare RT – or PortMidi).