Installing jOrgan on Puppy Linux
This Tutorial presents an extensive step by step procedure for installing jOrgan on Puppy Linux. Don't be put off by the length of the tutorial, I am taking you through almost every single mouse click or 'Enter' press that needs to happen. Please note that this tutorial was written for Puppy Linux version 5.1.1 with jOrgan 3.11.1, it will be updated for Puppy 5.2 and jOrgan 3.12 once Puppy 5.2 is released.
There will also soon be a jOrgan Pup available for Puppy Linux 5.2 which will have everything pre-installed.
If you have any questions of comments you can email me at ggoode [dot] sa [at] gmail [dot] com
Installing Puppy Linux and the Required Software
Download the Puppy 5.1.1 CD Image from ftp://ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.1.1/lupu-511.iso
Burn the ISO image to CD using your favourite CD burning app.
Boot your computer using the CD
Once Puppy 5.1.1 has booted, use the Universal Installer (Menu -> Setup -> Puppy universal installer) to either install Puppy Linux to your Hard Drive OR to a USB Memory Stick [if you need more info on this step let me know].
Reboot using the install that you have just created
Configure the Puppy Package Manager to use the Ubuntu Lucid Repositories
Start the Puppy Package Manager (menu -> Setup -> Setup Puppy -> Puppy Package Manager
Click on 'Configure package manager'
Select the three Ubuntu-Lucid-xxxx repositories
Click on OK
Click on 'Exit Package Manger'
Connect to the Internet
Click on the 'connect' icon on the desktop (this will load the Internet Connection Wizard)
Select your network interface
Enter whatever network passwords, etc are needed and click on Connect if needed.
As I only ever connect to the internet to intall new software I don't enable the firewall, but I do set the SNS (simple network setup)as the default network setup tool)
Use Puppy Package Manager to install Jave JRE, Qjackctl, and Qsynth
Restart Puppy Package Manager
Type 'qjackCtl' into the search box
Click once on the 'qjackCtl' Package in the list returned - this will run you through the install sequence.
It will tell you that there are unmet dependencies, so click on the 'Examine dependencies' button to let it add the dependencies for you
Click on the 'Download and install all selected packages' button
The installer will prompt you on where to download the packages from, I use the default.
Click on the 'Download packages button
The installer will also eventually say that it has installed the package and ask you if you want to trim the fat - I usually do....
The installer will then report on any missing dependencies...if you're missing perlapi that is fine, we're not going to need it
Once qjackctl is installed, do a search for qsynth and follow the same sequence as set above to install Qsynth and all its dependencies (this is so that jOrgan can also use libfluidsynth, and I use Qsynth for testing and other things).
Do a search for 'jre' and follow the same sequence as a above to install Java runtime environment 1.6.0.20
Once all of these are installed - exit the Puppy Package Manager
Download and install the jOrgan DEB
Click on the 'browser' icon on the desktop (If this is the first time that you have opened the browser you will be asked to choose and install the browser of your choice - I use firefox)
Navigate to http://sourceforge.net/projects/jorgan/files/jorgan-package/3.11/jorgan_3.11.1_i386.deb/download
Select 'Save' from the download dialogue screen
Save the DEB to the root folder (default) and click OK
Open the File Browser (click on the 'file' icon on the desktop)
Click once on the downloaded jorgan_3.11.1_i386.deb package
Click on OK
The installer will then report a successful installation - click OK (it will now do the menu refresh)
Check that things have installed and are working
Menu -> Multimedia -> Multimedia should show JACK Control, Qsynth, and jOrgan (no icon)
Click on the jOrgan icon to start jOrgan (it may bring up an error that it is 'Unable to open file "%f" - this is safe to ignore)
Update fluidsynth and libfluidsynth to version 1.1.2
Open your Internet Browser and navigate to: http://launchpadlibrarian.net/56928093/fluidsynth_1.1.2-2_i386.deb
Select 'Save' from the download dialogue screen
Save the DEB to the root folder (default) and click OK
Then navigate to: http://launchpadlibrarian.net/56928094/libfluidsynth1_1.1.2-2_i386.deb
Select 'Save' from the download dialogue screen
Save the DEB to the root folder (default) and click OK
Open the File Browser (click on the 'file' icon on the desktop)
Click once on the downloaded DEB packages and follow the install steps as you did with the jorgan DEB file.
Provide the required link to liblash.so.3
Open the file Browser
Navigate to /usr/lib
Locate the liblash.so.2.1.1 file and Right Click on it
Select File 'liblash.so.2.1.1' -> Link
Delete the 2.1.1 from the end of the liblash.so and add the 3 (to make it liblash.so.3)
Click on 'Symlink'
You can now close the file browser.
Configuring Virtual Midi Devices
Configure the Virtual MIDI Ports (you may not need these, but they do come in handy)
Open the text editor (click on the 'text' icon on the desktop)
Enter the following three lines of commands:
modprobe -r snd-usb-audio
modprobe snd-virmidi
modprobe snd-usb-audio
Save the file to the Startup folder
File -> Save As -> Enter 'startup' as the saved file name
Click on the 'Browse for other folders' button and browse to /root/Startup
Click on the 'Save' button
Set the Permissions on the new 'startup' file
Open the File Browser and navigate to the Startup folder
Right click on the 'startup' file and select File 'startup' -> Permissions
Click on 'Yes'
Run the startup file by clicking once on it (it will be run every time that you reboot your computer - we're just manually starting it here instead of rebooting)
Configure Jack Control
Start JACK Control (Multimedia -> Multimedia -> JACK Control)
Click on the Setup button
Select the "Misc" tab in the top menu bar
Select the "Start Jack audio server on application startup" option
Select the "Enable system tray icon" option
Now select the "Settings" tab in the top menu bar
Click on the 'Realtime' checkbox to select it
Set your 'Frames/Period' to 512
Set your 'Sample Rate' option to 44100
Set your Periods/Buffer to 4
Set the 'Timeout' option to "5000"
Change the 'Audio' option to "Playback only"
Click on the 'SAVE' button on the top right hand side of the Settings screen
Click 'OK' (this closes the SETUP window)
Now click on the 'START' button (the window should now indicate that Jack audio server has started)
[This assumes that your soundcard is configured correctly and will work at 44100hz - some do not, so if you run into problems here, let me know]
[Optional: You can add 'qjackctl' to your startup file so that Jack Control starts automatically on re-boot]
Running your first jOrgan Disposition
Download the ZIP file of the jOrgan organ model that you want to play (these steps assume you will be using a fluidsynth based model, usually indicated by a 'FS' somewhere in the name of the organ model)[if you're downloading a RAR file you will need to decompress it on another computer for now, I'll be adding the steps to include RAR support at a later stage]
Unzip the organ contents of the model file into your 'my-documents' folder (I have a sub-folder called jorgan3.11.1, you might like to do the same)
Click on the saved ZIP file to open it with XArchive
Click on the 'Extract' button (select OK to select all files)
Click on 'Choose' and navigate to /root/my-documents/jorgan311.1/
Use the 'Create Folder' button if you need to create a new folder
Click on 'Open'
Then click on Ok
Close XArchive
Make sure that your JACK audio server has started and is running Ok
Start jOrgan
Load the organ model disposition file
Click on File -> Open
Navigate to /root/my-documents/jorgan3.11.1/(organfolder) [where (organfolder) is the organ that you downloaded and unzipped]
Customize the organ to your MIDI setup
if the Customize Wizard did not start automatically, click on File -> Customize...
If your MIDI keyboards and pedalboard show up in the Device drop down menus, then configure the keyboard elements to them. If they do not, then use the virmidi ports that we created for this purpose (I always use the virtual MIDI ports as my MIDI setup changes due to different experiments that I do)
Configure the MIDI channels as per your MIDI setup
Click on Next, Next, Finished
Configure the fluidsynth elements to use Jack
Enter Construct Organ mode (click on the set square/ruler/pencil icon)
Locate the fluidsynth elements (they have the same icon as Qsynth - an orange tear shape (and they will likely have a red x on them too)
Click on the first fluidsynth element to select it
In the Audio Driver property select 'jack' from the drop down
Select the next fluidsynth element and do the same, etc for the rest of the fluidsynth elements
Select any other element close the fluidsynth elements (taking the selection off the fluidsynth element, which allows jOrgan to load start fluidsynth and load the soundfont)
The red x's on the element's icons should be gone [if not, contact me]
Exit Construct Organ mode by click in the square/ruler/pencil icon again
If you selected a virtual MIDI port in the manual Device selection, you will now need to connect your USB keyboard to the virtual MIDI port using the Jack Control ALSA connections panel.
Right Click on the Jack Control icon on the bottom right hand side of the Menu bar
Select 'Connections' from the menu
Click on the ALSA tab at the top of the Connections window
Select your MIDI keyboard device on the left column and the Virmidi Port you configured in jOrgan in the right column
Click on the Connect button
Do the same for all the keyboards/virtual midi ports configured
Right Click on the Jack Control icon again and select the Connections window to close it
Now you should be ready to play the organ....
Advanced Topic: Convolution Reverb.... jConvolver with the Jc-Gui frontend
Use Puppy Package Manager to install jconvolver (and as it is a command line tool only it will not show up on the menu).
Open Puppy Package Manager (Setup -> Setup Puppy -> Puppy Package Manager)
Do a search for 'jconvolver'
Install jconvolver and jconvolver-config-files - using the same sequence as described in the first section of these install and configure steps. Remember to use the 'Examine dependencies' button when installing jconvolver so that all the software dependencies are installed as well.
Download and install Jc-Gui, the graphical front-end that makes jconvolver easier to use.
Download Jc-Gui from http://www.bandshed.net/debian/jcgui_0.7_i386.deb (save it to /root as before)
Click on the DEB to install it
Download some free convolution reverbs to use with jconvolver - I would suggest creating a 'reverbs' folder in your my-documents and saving the wav files there...
http://freeverb3.sourceforge.net/ir.shtml
Magnuskerk Anloo (high resolution 2 channel stereo IR) http://www.prospectum.com/en/specials/anloo_IR_2ch_wav.zip
Once all that is installed, with the jack audio server running, start Jc-Gui (Multimedia -> Multimedia -> Jc-Gui)
Click on 'jconvolver settings' (this will open the jConv Settings window, you may need to drag the window to the center of your screen)
Click on the 'Open file' icon (the folder image)
Navigate to your reverb wav files and select one by clicking on it
Click on Open (the folder icon) [if your text is white on the light blue background, just look closely at the screen to see the text]
Wait for the wav file to be loaded. You should now see it in the preview window.
Don't worry about the other buttons and dials, those are for tweaking the reverb
Click on Ok to close the Jconv Settings window
Now click on the 'run jconvolver' button
After a few seconds (or a little longer with the older computers) the 'run jconvolver' button should turn bright green, indicating that jconvolver is loaded and running
Take note of the wet/dry slider above the four dials above the buttons that we have used
Now we need to connect the output of the fluidsynth soundfonts to the reverb, and connect the reverb to the speaker outputs. We will do this in the Jack Control Audio Connections tab:
Right Click on the Jack Control icon on the bottom right hand side of the Menu bar
Select 'Connections' from the menu
Click on the 'Audio' tab at the top of the Connections window if it is not displayed by default
Select a jOrgan fluidsynth jack output from the left hand side, then select the jconvjc port on the right hand side and click on the Connect button
Do the same for all the other fluidsynth ports that you want connected to the reverb
Now select the 'jconvjc' port on the left hand side and select the 'system' port on the right hand side, and click on the Connect button to connect them [This connects the fluidsynth outputs to the jconvolver input stream, and the jconvolver output to your speakers]
Now play the organ, and use the wet/dry slider mentioned above to get the right about of reverb mixed in to the audio stream.
Advanced Topic: Using Jack Control's Patchbay
Right click on the Jack Control icon on the right hand side of the Menu bar and select 'Connections'
In the Connect Panel, select the ALSA tab and make all the MIDI connections that you need
Test these connections in jOrgan to make sure everything is working
If you are using an external reverb (Jc-Gui or Jack-Rack), then click on the Audio tab and make all the audio connections needed.
Test to make sure that everything is connected as you need it to be
Right click on the Jack Control icon on the Menu bar again and select 'Connections' again to close the Connections window
Now right click on the Jack Control icon again and select 'Patchbay'
In the Patchbay Panel, click on the 'New button'. This should open a dialogue box asking if you want to create a patchbay definition snapshot of the actual client connections
Click on 'Yes'. This should automatically replicate your connections in the Patchbay
If the Save button is not enabled, remove a MIDI or Audio device from the patchbay that is not being used (for example, MIDI-Thru)
Once the 'Save' button has been enabled, click on 'Save'
Enter a name for this patchbay in the File name box
Click on 'Save' within the file dialogue screen
Click on 'Activate' back in the Patchbay window
Close the Patchbay screen by right clicking on the Jack Control icon and selecting 'Patchbay'
Now open the 'Setup' screen by right clicking on the Jack Control icon and selecting 'Setup'.
Click on the 'Options' tab and make sure that the 'Activate Patchbay persistence' check box has been enabled and that your patchbay file is listed in the patchbay drop down.
Click on the 'Settings' tab of the Jack Control Setup window and Save your setup (If the 'Save' button is not activated then de-select and re-select the 'Realtime' check box and the Save button will activate).
Close the Setup window
For more information and other options on how to use the Patchbay, see http://www.rncbc.org/drupal/node/76
Now you won't have to keep connecting your MIDI keyboards to the Virmidi Ports each time you re-boot your computer :)
Contacting Me
If you have any questions of comments you can email me, GrahamG, at ggoode [dot] sa [at] gmail [dot] com
Navigation