Open main menu

CDOT Wiki β

Changes

Performing Live with Jack,Qsynth, and Bristol Organ

824 bytes added, 18:56, 20 November 2011
no edit summary
I will discuss in this WIKI how to use Linux Ubuntu Studio for live performances. Contrary to other Internet postings, you don't have to use an application such as '''Reaper''' ''(although that approach would make it more user-friendly for non-Linux users or "Newbies")''. Instead, a well-written Bash shell script can be used to launch Jack and necessary keyboard applications such as '''Qsynth''' '''(Piano, and other sound-font voices)''', as well as '''Bristol Organ Emulator''' '''(Hammond B3, Vox, Rhodes Piano, Phophet5, Juno, Moog, etc)'''.
<br /><br />
Therefore, you can switch to different voices by switching to different transmitting <u>MIDI channels</u>,which may be more convenient than pointing and clicking on an instrument icon via the '''Reaper ''' or '''Cubase ''' applications (which are not free applications). Also, applications such as '''Bristol Organ allows a user to sync midi controller buttons or sliders (on the keyboard) to change control settings on the emulated organ''' by middle-clicking the mouse on the emulated keyboard's control knob and moving or activating the midi controller on the keyboard.Also, why pay for applications like Reaper or Cubase when you can accomplish the same task for free?!?
<br /><br />
I have used MS Windows OS with '''Native Instruments Hammond B4, and other Native Instruments applications''', so I have some experience when comparing open-source software against proprietary software (i.e. pros vs cons).<br /><br />
... And by the way... as long as you keep net-book volume to acceptable output level, you shouldn't damage the amplifier. I asked posed this connection concern question to an experienced a veteran "sound-guy" that has setup audio equipment for the likes of '''Moe Koffman''' and '''The Good Brothers''' back in his "younger days". He states, '''''"this shouldn't be a problem what-so-ever, just keep volume down in net-book end and adjust volume via the amplifier"'''''...
=== Setting up / Installing / Configuring Network, Ubuntu Studio, and Jack System ===
:* Ran '''Synaptic Package Manager''' (from Admin), and installed '''Ubuntu Studio Desktop''' (I selected ALL packages associated with Ubuntu Studio).
:* Followed '''instructions to make my Tascam US122 device work''' with my netbook: [ [https://help.ubuntu.com/community/TASCAM_US-122 https://help.ubuntu.com/community/TASCAM_US-122] ]<br /><br />
* I "Tweaked" the appearance of my Gnome Desktop like running the '''Avant Window Navigator (docking panel appearance like Mac OSX)''', and '''removed the "old-style" gnome-panels'''. Here is a resource that I created to help: [ [[Replacing Panels with Docking Station (awn)]] ][[Image:awn-pic.png|thumb|right|550px|<b>Avant Window Navigator</b> gives a Mac OSX '''docking station''' appearance<br />(A welcome change from traditional panels). ] ]<br /><br />
*'''NOTE:''' I had trouble when displaying my net-book on the data display in class. '''Every time I pressed a key, the screen would go blue and return display to my net-book.''' I thought it was attributed to Ubuntu, but all I needed to do was update (flash) my '''BIOS from v3010 to v3012'''. Refer to the section below labelled:<br />'''Steps to Enhance CPU performance (Acer AspireOne a751h)''' for a full set of procedures to solve this problem. It seems to have also solved the '''hibernation problem''', <u>and</u> also the problem of '''not displaying Python applets on my Avant Window Navigator docking tray...!''' <br /><br />
* Now that you have Ubuntu Studio on your machine, here are some guides that I have written to help you get started<br /> (This is assuming that you are using the ''Tascam US122 usb interface'', although that is NOT necessary if you have a ''USB keyboard''):
[[Image:netbook2.png|thumb|right|400px|<b>Ubuntu Studio Desktop</b> with Applications (<b>Jack Audio Server</b>, <b>Bristol Hammond B3 Emulator</b>, and <b>Qsynth</b>) Automatically Launched and Connected or "patched" via a <b>Bash Shell script</b>]]
The organ emulator called '''Bristol Organ''' can simply be run via the '''startBristol''' command ''(after the Jack audio server has been started)''. To simplify the process of starting jack audio server, launching and making input/output connections for both '''Qsynth''' and several '''Bristol Organ''' emulations, it is easier to place commands into a '''Bash shell script''' and run shell script as a program! ''Please see next section for an example of how I did this...''
 
 
=== "Putting it All Together" with a Bash Shell Script ===
 
One *perceived* problem that a typical "end-user" would face is having to '''manually connect''' (patch) various Devices (like a keyboard), with various keyboard emulators (like '''Qsynth''' and '''Bristol''' organ). But it is important to realise that these "graphical applications" are just convenient "front-ends" or user-friendly graphical representations of Linux commands.
 
Since they are Linux commands, these command, to launch and make patches (connections), and simply be added to a file (called a ''shell script''), and run like program (either as an desktop icon), or a start-up program from boot-up.
 
'''For reference, here is a link to my Bash Shell script:''' [ [http://matrix.senecac.on.ca/~murray.saul/netbook.bash.txt txt] ]
 
For additional reference, '''here is a link that explains how above shell script works:''' [ coming soon ]
 
=== YouTube Tutorials ===
LMMS Synth: [ [http://www.youtube.com/watch?v=boRmY9jH7fs http://www.youtube.com/watch?v=boRmY9jH7fs] ]
 
=== "Putting it All Together" with a Bash Shell Script ===
 
One *perceived* problem that a typical "end-user" would face is having to '''manually connect''' (patch) various Devices (like a keyboard), with various keyboard emulators (like '''Qsynth''' and '''Bristol''' organ). But it is important to realise that these "graphical applications" are just convenient "front-ends" or user-friendly graphical representations of Linux commands.
 
Since they are Linux commands, these command, to launch and make patches (connections), and simply be added to a file (called a ''shell script''), and run like program (either as an desktop icon), or a start-up program from boot-up.
 
'''For reference, here is a link to my Bash Shell script:''' [ [http://matrix.senecac.on.ca/~murray.saul/netbook.bash.txt txt] ]
 
For additional reference, '''here is a link that explains how above shell script works:''' [ coming soon ]
=== Using Ubuntu Studio for Live Performances ===
... But '''if you didn't know that, and launched the Qsynth application using that extra midi channel, then don't be surprised if your Bristol B3 organ abruptly aborts... no wonder!''' Therefore, you have to do a little planning head, and reserve extra midi channels for any Bristol Organs that have multiple keyboards prior to assigning various midi channels...
[[Image:midi1.png|thumb|right|220px|<b>Qsynth MIDI Channel Dialog Box</b>. Notice a maximum of 16 midi channels, but also the ability to store into separate presets for later use. '''Notice the both MIDI channels 3 and 4 reserved for by Bristol B3 organ''' (both keyboard registers), '''Midi channel 10 is usually reserved for percussion'''...]]
==== Tweaking Qsynth to Play Different MIDI Channels / Sound-fonts ====
==== Tweaking Qsynth to Play Different MIDI Channels / Sound-fonts ====
[[Image:midi1.png|thumb|right|220px|<b>Qsynth MIDI Channel Dialog Box</b>. Notice a maximum of 16 midi channels, but also the ability to store into separate presets for later use...]]
Before proceeding with this section, please familiarise yourself with how to use Qsynth and sound-fonts by reading another one of my WIKIs:<br />[ [[Quick & Simple - Setting up Jack Server and Q-synth]] ]. I will assume that you have a basic knowledge of using Qysynth, obtaining sound-fonts, and adding sound-fonts in Qsynth for the remainder of this section.
I have see some misinformation regarding the use of sound-fonts with Qsynth. You can add in a lot of sound-fonts with Qsynth, and then assign them (either using a particular sound, or incorporating "sound banks") to midi channels. I am currently have assigned instruments to 10 midi channels (2 have been reserved for my B3 Organ. In addition, you can save these midi assigns as different "preset names" to be saved and loaded as needed during performance or practice.
In order to assign MIDI channels in Qsynth, when you click the '''Channels''' button, you will see the '''Channels dialog box''' appear. Notice that this dialog box allows for a total of 16 midi channels (this is more than I require for a typical practice or performance). If you require more, you can save different midi instrument assignments to various profiles (perhaps to be loaded between your sets).
Steps to Assignment Instruments:
[[Image:midi2.png|thumb|right|300px|'''Assigning Instrument''' (program) to a '''Bank''' (i.e. "''SFID"'' or ''"Offset"'').]]
# '''When adding sound-fonts into Qsynth, write-down the SFID number''' (i.e. Sound-font Identification number) - Do NOT close this dialog box quite yet!
# Now, here's the trick: For each sound font, '''make certain that the "Offset" number corresponds to the same number as the SFID!'''
# Now, '''click OK to save and exit''' the sound-font dialog box.
# If you are running Jack, then you need to '''restart the Jack engine'''. This will require that you manually connect the instruments in the "Jack Connections" dialog box. If this is "a pain", you could always quit all applications, and re-run your Bash shell script to launch your music session...
# Go to the '''Channels dialog box, and double-click on a midi channel'''.<br />I am selecting the next available '''channel - 13'''.# The '''Channel 13 Midi Channel Dialog box''' appears.# '''Select the Bank number ''' (which corresponds to the Offset or SFID that you have written-down).# Then '''click on the program number to select an instrument ''' (depending on the sound-font, there may be only one to select, or a wide variety if the sound-font is a bank of sounds).# '''!! NOTE: in order for the changes to take effect, you need to click the Save button; otherwise, all your changes will be lost!'''
# You may need to restart the Jack engine and re-establish your connections.
'''That is about 's it!Start performing!!'''
'''My M-AUDIO keyboard allows me to easily change between midi channels by pressing the Advanced Functions button, and then pressing a note on the keyboard that corresponds to the midi channel'''. Easy-Breezy, and efficient! :)
Here is a link to documentation of my M-AUDIO midi keyboard for reference:
[ [http://www.m-audio.com/images/global/manuals/050505-KSSeries_UG_EN01.pdf http://www.m-audio.com/images/global/manuals/050505-KSSeries_UG_EN01.pdf]
= Sound Font Editing in Linux =
13,420
edits