Using jOrgan with Reaper 32-bit and 64-bit on Windows 7 64-bit PC

From jOrgan Wiki v1.25.1
Jump to: navigation, search

A. Preparing the experimentation platforms.

1. jOrgan 32-bit and 64-bit on the same PC. (Thanks, Panos, for your tips in earlier messages!)

Install the latest versions of Java as follows:

- for 64-bit java: run jre-6u26-windows-x64.exe and install in C:\Program Files\Java\jre6

- for 32-bit java: run jre-6u26-windows-i586-s.exe and install it in C:\Program Files (x86)\Java\jre6


2. Install the various jOrgan 3.14 versions as follows:(Thanks very much GrahamG for the ASIO,WASAPI,WDMKS file sets)

- for 64-bit jOrgan:
run jOrgan-3.14-installer-amd64.exe four times and install one instance in the following subdirectories respectively:

  • C:\Program Files\jOrgan\jOrgan-x64-3.14 (for use with dsound)
  • C:\Program Files\jOrgan\jOrgan-x64-3.14-ASIO
  • C:\Program Files\jOrgan\jOrgan-x64-3.14-WASAPI
  • C:\Program Files\jOrgan\jOrgan-x64-3.14-WDMKS

I use no file association, and have the desktop icons (= shortcuts proposed by the installer program) pointing to the respective jOrgan.exe files.
Desktop icons are renamed with the names of the respective subdirectories shown above. Go to the \lib subdirectory of each of the last 3 subdirs shown above, rename the existing file libfluidsynth.dll to libfluidsynth-orig.dll, open the corresponding zip file prepared by GrahamG for 64-bit use (see here) and copy the 2 files you find there in the (appropriate) \lib subdir.

- for 32-bit jOrgan: run jOrgan-3.14-installer-x86.exe four times and install one instance in the following subdirectories respectively:

  • C:\Program Files (x86)\jOrgan\jOrgan-3.14 (for use with dsound)
  • C:\Program Files (x86)\jOrgan\jOrgan-3.14-ASIO
  • C:\Program Files (x86)\jOrgan\jOrgan-3.14-WASAPI
  • C:\Program Files (x86)\jOrgan\jOrgan-3.14-WDMKS

I use no file association and suppressed use of the shortcuts proposed by the installer program. Instead I make a desktop icon from each respective jorgan.jar file.
Desktop icons are renamed with the names of the respective subdirectories shown above.
I navigate to each jorgan.jar file in turn, right-click on it, select "Open with", select "Select Standard program", select "Browse" (at bottom right), then navigate to C:\Program Files (x86)\Java\jre6\bin\javaw.exe to select it as the Standard program to run jorgan.jar. Check the box "Always use this program to open this type of file". Go to the \lib subdirectory of each of the last 3 subdirs shown above, rename the existing file libfluidsynth.dll to libfluidsynth-orig.dll, open the corresponding zip file prepared by GrahamG for 32-bit use (see here) and copy the 2 files you find there in the (appropriate) \lib subdir.

3. Install the Reaper versions as follows:

- for 64-bit Reaper: run reaper401_x64-install.exe and install in C:\Program Files\REAPER (x64) verify that under "Additional Functionality" the box next to "ReaRoute ASIO driver" is checked.

- for 32-bit Reaper: run reaper401-install.exe and install in C:\Program Files (x86)\REAPER verify that under "Additional Functionality" the box next to "ReaRoute ASIO driver" is checked.

B. Using jOrgan with Reaper.

Reaper (both 64 and 32-bit) comes with the ReaRoute ASIO driver.
This ASIO driver can be used to capture audio send out from jOrgan's FluidSynth Sound Element when using the ASIO file set GrahamG provided.

The other file sets (WASAPI and WDMKS) cannot be linked to Reaper. Reaper, among its many other capabilities, operates as a VST host. This opens the way for us to apply any VST effects to jOrgans audio output; reverberation is of course our prime interest.

To use Reaper with jOrgan ASIO, Reaper has to be started first, followed by jOrgan (with ASIO support of course). This is important. If jOrgan is started first and Reaper afterwards, Reaper will not "see" what comes out of jOrgan.

In Reaper, add a track using the "TRACK" menu, "arm" the track for recording, click in the "input" field and select "Input Stereo" followed by ReaRoute 1 / ReaRoute 2", in the next field to the right click till you get "Record Monitoring: ON".

Then start the jOrgan ASIO version that matches the Reaper version you already opened (64-bit or 32-bit). Both have of course to be either 64-bit or 32-bit versions.
Load a disposition in jOrgan that has a single FluidSynth sound element. Open construction mode. Open the FluidSynth sound element. Select in the box Audio driver "portaudio" as driver, and in the box Audio device "ReaRoute ASIO (x64)" or "Rearoute ASIO", depending on the bit version used. Look at the box Sample rate to see what the sample rate is of the soundfont you have loaded for that particular disposition. Get out of construction mode.

In Reaper go to menu "OPTIONS", then Preferences, then Device and check that next to "Request sample rate", you see the same sample rate as in the jOrgan/FluidSynth/Sample rate box. If your audio card does not automatically adapt its sample rate to what jOrgan needs, you will have to manually line it up with Reaper and jOrgan so that all 3 have the same sample rate.

If all goes well you should now have sound when you select some stops in jOrgan and start playing.

(Here this works nicely for the combination Reaper 64-bit plus jOrgan 64-bit with 64-bit ASIO files, as well as for the combination Reaper 32-bit plus jOrgan 32-bit with 32-bit ASIO files.)

You can now in the Reaper track click on FX. This will open a window showing what plugins are available. It also allows you to add directories in which you have stored your preferred VST plugins and to rescann its contents.

At a certain moment Reaper here complained about not running with Administrative Privileges.
I changed that by right-clicking its desktop icon, then the compatibility tab, then checking the box Run this program as Administrator. The result was that when after that i started Reaper, then jOrgan and a disposition, the sound was very heavily distorded. After quite some trial and mostly error, i found out that in this case also jOrgan needs to run with Administrator Privileges.
For the 64-bit version of jOrgan this is simple: same procedure as described above for Reaper.
For the 32-bit version of jOrgan you have to navigate to C:\Program Files (x86)\Java\jre6\bin\javaw.exe and apply the same procedure there.

C. Conclusion

For those who want a better reverb than what FluidSynth currently provides, this is a possible way to get it.
Of course, this can also be done, even in Windows, using LinuxSampler with Jack and a VST host. Both methods have the drawback that ASIO does not support multiple FluidSynth instances or that the FluidSynth extension in jOrgan does not support multichannel audio (beyond stereo). WDMKS (multichannel audio cards only) and WASAPI (single- and multichannel audio cards) do support multiple instances of FluidSynth, but I know of no method to add reverberation with these drivers other than what FluidSynth provides.