< Back to IRCAM Forum

MIDI setup problems in OM 6.9

Gosh I did it!
But that was SOOOOOO complicated, I didn’t event know what I did, it just work

Hi All,

I stumbbled once with this issue, and it might be that it’s not OS depended.
I found an incompatibility with Digitools Drivers and the Apple audio/midi preferences that
once these drivers were loaded prevented you to access the Apple midi preferences.
So if you have such drivers form digitool, the trick was to trash the audio/midi preferences
then relaunch your session.

I don’t know if this is helpfull.

Best
K

Same problem here, can’t generate a single sound. I tried every possible preferences combination, even tried making my OM work along with Asio4all, Jackaudio, Cableoutput, no sound ever came out. I don’t really understand how this whole driver/player/output/port logic works, I admit, and this is where I need help. I have read all the tutorials mentionned above and tried everything without success, reinstalling both midishare and openmusic, rebooting, etc.

I’m on windows 8.1, openmusic v.6.9.

So when I open the msdriver icon in the midi prefs of OM, I get only one output: Microsoft WS Wavetable synth, even if every other software I have sees all the other outputs I have listed above (Asio4all, Jackaudio, but I guess those are not MIDI outputs, but audio outputs? does that make a difference?) My port and output are properly selected just like the tutorials on the MS website. Nothing ever appears neither in the OM midi mixer, or in my windows mixer. I don’t want to be using Portmidi as i don’t have any synth right now with me.

Weird thing is: it has worked briefly, at some point, when I had freshly rebooted my computer. I closed OM and reopened it and the sound had stopped coming out (forever).

Another, even weirder thing: when I lauch OM, it gets stuck and it’s not until i open another application (chrome, for instance), that the pop-up window with the workspaces options comes up. This is new of my second reinstallation of OM.

Any ideas? Thanks.

NG

Here’s the error code

Call to om-lisp::om-error-handler
Call to invoke-debugger
Call to error
Call to win32::signal-exception-error
Call to (subfunction system::|%FOREIGN-CALLABLE/lisp_signal_error_on_c_stack| (fli:define-foreign-callable “lisp_signal_error_on_c_stack”))
Call to mp::process-sg-function

Hi,
First, you don’t need any additional driver to make OM connect with MidiShare.

So, let’s try it step by step.

  1. Keep OM closed for the moment.
    In the OM folder you will find two MidiShare setup application.
    msDrivers.exe should allow you to set the MIDI port. This is the same as called by OM.
    Make sure port 0 (top-left corner) is connected to Microsoft WS Wavetable synth.
    => Close msDrivers.exe, and open mscontrol32.exe to test the sound (move the pitch/vol sliders).

any sound here ?

@nathansgiroux
About the error code: where does this come from ? (OM listener ? system Console ? when ?)
you did not mention an error in the previous post.

I do have sound when I open the msDrivers independantly. Next step?

The error code comes from the OM listener when I try to play a score-object for the first time after starting OM. It is also acccompanied by a pop-up reading :

“Error: Exception C0000005 [FLAGS 0] AT 0 eax 0 EBX 4989E68 ecx 7FE49000 edx 0 esp 4ACFC84 ebp 0 esi 481A38C edi 0”

Thanks for helping.

I thought you just had no sound, which would probably be because of a connection problem in OM.

In this case the next step would be, start OM, MIDI preferences, select MidiShare as MIDI I/O and make sure that the Midi Port 0 is still connected to Microsoft WS Wavetable synth. but I guess you already did that

Now the error you report here actually looks pretty bad. It seems more related to an external error in the MIDI driver (is it MidiShare?)

Yes, I already did that.

I also tried a workaround using JackWinMMEDriver, which can be used through JackAudio. It seems to be a MIDI driver that is built in Windows. Only problem is I don’t know how to make OM use this driver instead of MS. Where would the files of this driver be in my computer? Which files do I have to copy in the OM folder? If not, is there a downloadable MIDI driver that I can use instead of MS?

In principle with MidiShare you have nothing to do or install. Maybe installing additional drivers may even be what makes MidiShare crash…

Otherwise, I’m affraid I have no idea of what is going on here.

Can you (or did you) test with OM 6.8 ?

I don’t have a link to any older version of OM.

Tried with a keyboard today. After choosing portmidi, and routing it through midishare’s window, OM gives ERROR: Cannot take CAR of 1. After that, it gives the same message everywhere I click («restart», «apply», midishare icon, etc.)

The only way to make it work was to select midishare everywhere, close OM, reopen with keyboard plugged, and pray, and it worked. At least now I have a way of hearing what my patch is doing.

Also found this, that would suggest the problem being with my own system. This was a “last error backtrace” in OM operated just after trying to play an object in the old way.

Sun Jan 18 18:11:24 2015
Microsoft GS Wavetable Synth : midiOutShortMsg error 1
Undefined external error.
GetPrivateProfileString result : 2
no : 2

Maybe, as you suggested, some other driver is messing around with MS GS Wavetable Synth. I will investigate further.

About switching MidiShare / PortMIDI: beware of applying the change (button “apply” on the preferences) before to route the ports. “Apply” will update the window components: if you do not do it, you will route PportMIDI with the MidiShare utility and vice-versa (causing errors).

Let’s keep things simple though, and say PortMIDI does not exist: just select MidiShare always.

About previous versions, there is a link to an “archives” page on the left of every software download page:
http://forumnet.ircam.fr/shop/en/archived.php?id_product=43&archived=1

nathansgiroux
no it is not your system, i’m having exactly the same error
in msMMsystem.log:

Microsoft GS Wavetable Synth : midiOutShortMsg error 1
Unbekannter externer Fehler.

windows 7 x64 here

so somethings not working as it should in om 6.9/windows
regards
seb

Hi,

The same OSX problem here: I tried both 1.92 & 1.93 with msDrivers tool after a clean installation of 10.10.3 but there’s no midi device…

Is there an alternative to Midishare? does somebody manage to see midi devices after a yosemite clean install?

By the moment portmidi + whatever synth works fine (OM 6.9 OSX 10.10.3).

best regards,
rc

hi RC
the answer is in your message.
the alternative to midishare is to use PortMidi with any MIDI synth installed on your computer
best
Jean

Hello,
I can see the possible externals in Open Music 6.9 preferences still are Microplayer, Multiplayer, Pm2 and Csound.

But bm-microton isn’t working any more, it brings up an error in terminal with osx 10.10.5. I miss that app, it had good possibilties to add your own soundfonts within the app folder. Would it be possible to create a new app working on the new system, or make it available as Max patches, as the microplayer option has not yet been removed from the score objects?

Portmidi seems to work, 1/8-tones, 1/3, 1/5-tones, etc. sound correct to me. But with 1/16-tones I’m not sure. What should be a cromatically ascending 1/16-tone scale sounds more like 1/8-tones, and some times the order gets mixed up. Are there some limitations there?

If portmidi and a software synth are the new playback options, would it be an idea to add them to externals to have them openened automatically with Open Music, instead of now outdated apps?

Ruben

I’m also trying to avoid the Midi percussion track, but it seems difficult on channel 7 and 8 with eight tones. Is there a work-around for this? I’m using Portmidi and SimpleSynth. With Microplayer you could use 16 different output sounds, with any microtonal division, and without this problem.

Best
Ruben

Hi Ruben,

Some answers :

-bm-microton is now microplayer, and since its third party software relying also on Max (proprietory application), it is not maintained by OM team.

  • Portmidi is NOT an application but a library. If you like it’s the substitute of MidiShare (which is no more maintained).

  • I will check with the 16th note issue regarding the channel 10 percussion issue.

Best
K

Hi again,

Ok , unfortunately it appears that there’s a bug in the parsing of channels regarding 16th note midi playback. In principle, you need only 8 channels for 16th tone playing. I will see with the dev team where this bug is. It seems that the automated bending is erroneous.

Best
K

(bogus message)