February 4, 1996 HBPM/Macintosh Source Distribution, Release 0.01 Alpha Here are the sources for three programs. Homebrew OMS Driver Homebrew ScalePlayer Homebrew Thru Application They're described in the README file for the binary distribution. You'll also need the OMS Software Developers' Kit (SDK) to build this. You can download the SDK from http://www.opcode.com/. I used the 09/11/95 release. Also, the SDK includes the OMS Specification, which may be useful. I used Metrowerks Codewarrior release 8.0 to build these programs. You should be able to reconstruct them using earlier Codewarrior releases. You can't compile the OMS Driver using Symantec C++. Symantec does not support virtual functions in code resources. I don't know how well MPW would work. In audio.c, you may run into problems with SndSoundManagerVersion(). Some versions of Apple's headers declare that routine as returning a long; others say it returns a NumVersion structure. There's an #ifdef in audio.c to use the other form as necessary. In the OMS Driver directory, the source files that are Mac specific are Codewarrior IDE text files (creator code 'CWIE'), and the sources that are common with the Silicon Graphics synth are BBEdit documents (creator code 'R*ch'). That's Just to make it perfectly clear which files are supposed to be part of the portable synthcore and synthcore interface. I did have to add some "#ifdef __MWERKS__" in MIDIConvert.C. If you use an earlier Codewarrior release, you'll have to construct project files by hand. I've put a project dump file in each directory -- its name ends in ".TEXT". Look at those, and also look at these (probably incomplete) notes. Thru Application Add the OMS SDK to your access path. ScalePlayer Add the OMS SDK to your access path. Generate 68020 code. Generate 68881 code. Use 4-byte ints. Preferred heap size: 1024K or so. OMS Driver Add the OMS SDK to your access path. Code model: Large Generate 68020 code. Generate 68881 code. Use 4-byte ints. Lots of optimization. Link Single Segment. Project Type: Code Resource Creator: Kb0b (used in driver.c) File Type: OMdv Resource Type: OMdv Resource ID: 128 Resource Flags: Locked Extended Resource Have fun! K kbob@sgi.com