MIDI/Sound bug in SP3 for the Mac
-
At some point in time, Apple changed a bunch of the sound/midi handling APIs. I hadn't run the code in awhile but somebody pointed out that SP3 for the Mac wasn't working at all because it failed at launch with an error concerning MusicDeviceMIDIEvent. Turns out that the APIs used to map that function into the AudioToolbox.framework but now it is resident in AudioUnit.framework.
The fix to SP3 for the Mac is pretty straightforward. You need to add a line to the dls_synth.rb file (it is in the Midiator/lib directory within the SP3 installation directory structure inside of the Application Support directory)
Change dls_synth.rb by adding a second dlload command directly after the dlload command for AudioToolbox. Create a copy of the line and substitute AudioUnit for AudioToolbox. You need both dlload commands since the audio support code is scattered across both frameworks.
-
For those interested in specified directions:
Find:
module AudioToolbox
extend DL::Importable
dlload '/System/Library/Frameworks/AudioToolbox.framework/Versions/Current/AudioToolbox'and change to: (note blue line at bottom)
module AudioToolbox
extend DL::Importable
dlload '/System/Library/Frameworks/AudioToolbox.framework/Versions/Current/AudioToolbox'
dlload '/System/Library/Frameworks/AudioUnit.framework/Versions/Current/AudioUnit'
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement