ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > OS X + ScummVM and Multiple MIDI devices
OS X + ScummVM and Multiple MIDI devices
  Author    Thread Reply to topic
macafella



Joined: 27 Sep 2017
Posts: 7
OS X + ScummVM and Multiple MIDI devices 

Hi

I connected two physical midi-devices to my Mac running OS X and the 1.9.0 build via 2 x Roland USB UM-One USB-to-MIDI connectors.

If I have just one device connected via midi will play fine through there, however if I Connect both I can't choose between the two devices, it always plays through one of the devices.

From the list of devices I can only choose "CoreMidi" - the two USB adapters does not register as individual units I can choose between.

Is there some trick to adjusting with the ports in Midi config? Or do I need to dig into a .ini file somewhere.

I read about a similar issue with the Windows version that was fixed back in 2012, so I am thinking that maybe I am just the first mac-user to come across this odd problem.

Any help or input on how to make this a setting instead of having to mess with the cables is very welcome.

Thanks

 Reply with quote  
Post Mon Oct 02, 2017 8:04 pm 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 823
 

https://github.com/scummvm/scummvm/blob/master/backends/midi/coremidi.cpp#L203 ...

 Reply with quote  
Post Mon Oct 02, 2017 9:19 pm 
 View user's profile Send private message
macafella



Joined: 27 Sep 2017
Posts: 7
 

Thank you for the hint Smile

Sorry for asking stupid but I understand from your link what I describe is expected behaviour because it's on the "TO DO" list - correct? Smile

If that is the case that in itself is a huge relief for me. A) Because I wont have to spend 3-4 more hours trying to figure out what I am doing wrong B) I can look forward to having this solved some sweet day.

 Reply with quote  
Post Mon Oct 02, 2017 9:32 pm 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 823
 

Yes, afraid so as on TODO list. Pull Requests and code submissions to fix this are gratefully received as we are an open source project.

However, I think one of our developers seems to have taken a stab at this after reading your post:
https://github.com/scummvm/scummvm/pull/1038

 Reply with quote  
Post Mon Oct 02, 2017 11:49 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 468
Location: West Sussex, UK
 

I have created a ScummVM snapshot with my changes from the link posted by digitall, and I would appreciate if you can test it and let us know if it works correctly: https://www.dropbox.com/s/qe2wqi7nghds5ct/ScummVM-midi-test.dmg?dl=0

 Reply with quote  
Post Tue Oct 03, 2017 12:08 am 
 View user's profile Send private message
macafella



Joined: 27 Sep 2017
Posts: 7
 

BINGO!! That works.

My midi device configured in Audio MIDI Setup like this:
https://www.dropbox.com/s/k1efeb97rt1f3qu/Screen%20Shot%202017-10-03%20at%2002.20.10.png?dl=0

Now registers in the game like this:
https://www.dropbox.com/s/ozgg7lem8e25vl2/Screen%20Shot%202017-10-03%20at%2002.21.10.png?dl=0


However, I cannot complete my test because the above is done on my modern intel macbook, and the two sound modules are connected to my "Retro mac" which is a PowerPC, iMac G4.

I don't want to be greedy, but could you compile this for PPC so I could test it with the dual synth setup?

Preferably a daily-build like this one because I have been wanting that for so long because it "unlocks" Gabriel Knight 1 as a title I can add to my list.

 Reply with quote  
Post Tue Oct 03, 2017 12:29 am 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 468
Location: West Sussex, UK
 

Here you are: a PPC build with the latest code
https://www.dropbox.com/s/r6p94rbywf58rzo/ScummVM-midi-test-ppc.dmg?dl=0

 Reply with quote  
Post Tue Oct 03, 2017 7:44 pm 
 View user's profile Send private message
macafella



Joined: 27 Sep 2017
Posts: 7
 

Thank you! Works very good Smile Awesome job you guys are doing with Scumm! Can't wait for the new list of supported games Smile And thanks for still supporting PPC!

 Reply with quote  
Post Thu Oct 05, 2017 10:54 am 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 468
Location: West Sussex, UK
 

Thank you for testing and confirming that this works. The changes have now be included in our main code base, so this will be included in the next release (and in daily builds starting tomorrow, but that won't help you for your PPC mac Razz ).

 Reply with quote  
Post Thu Oct 05, 2017 11:08 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge