README.txt (1902B)
1 README.txt 2 Roger B. Dannenberg 3 16 Jun 2009 4 5 This directory was created to implement PmDefaults, a program to 6 set default input and output devices for PortMidi applications. 7 8 There are three main sub-projects here: 9 1) pmjni -- a JNI (Java Native Interface) to access PortMidi 10 2) jportmidi -- a Java class to access PortMidi (uses pmjni) 11 3) pmdefaults -- the PmDefaults application (uses jportmidi) 12 13 For Mac OS X, you should build the PmDefaults application in Xcode. 14 15 For Win32, an installer for PmDefaults is included in setup/. 16 To build from sources, you should first build everything including 17 the portmidi dll (that will be used by the Java application) using 18 Visual C++ and a provided .sln file in the portmidi home directory. 19 Then, run make.bat in this directory. The subdirectory win32 will be 20 created with the application pmdefaults.exe. You can run this application 21 in the normal way. To move the application, you need to copy *everything* 22 in win32. To build setup/pmdefaults-setup.exe, I have used both 23 Setup Generator from Gentee software and Inno Setup from jrsoftware.org. 24 A script for Inno Setup is included in this directory, but since paths 25 seem to be absolute, you will have to adjust the paths in the script 26 before you use it. 27 28 ---- implementation notes ---- 29 30 For windows, we use the free software JavaExe.exe. The copy here was 31 downloaded from 32 33 http://software.techrepublic.com.com/abstract.aspx?kw=javaexe&docid=767485 34 35 I found this page by visiting http://software.techrepublic.com.com and 36 searching in the "Software" category for "JavaExe" 37 38 JavaExe works by placing the JavaExe.exe file in the directory with the 39 Java application jar file and then *renaming* JavaExe.exe to the name 40 of the jar file, but keeping the .exe extension. (See make.bat for this 41 step.) Documentation for JavaExe can be obtained by downloading the 42 whole program from the URL(s) above. 43 44 45 46 47 48