特殊:Badtitle/NS100:HowToQjackCtlConnections:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Oneleaf留言 | 贡献
无编辑摘要
第9行: 第9行:
Firstly, install the applications we will be using:
Firstly, install the applications we will be using:
<pre><nowiki>
<pre><nowiki>
sudo apt-get install vkeybd zynaddsubfx
sudo apt-get install vkeybd zynaddsubfx
</nowiki></pre>
</nowiki></pre>



2007年5月24日 (四) 10:22的版本

{{#ifexist: :HowToQjackCtlConnections/zh | | {{#ifexist: HowToQjackCtlConnections/zh | | {{#ifeq: {{#titleparts:HowToQjackCtlConnections|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:HowToQjackCtlConnections|1|-1|}} | zh | | }}

This is a very basic tutorial that should give you an idea of how to use the Qjack``Ctl Connections window.

The Connections window in Qjack``Ctl provides a quick and easy way for you to make your audio and MIDI connections between your JACK-enabled applications. It isn't as advanced as the Patchbay, in that it can't save and load your settings to files, but it is easier to get going quickly, and is good if you don't care about saving your configuration to reload at a later time.

For this simple tutorial, we will assume that you have Qjack``Ctl installed and set up JACK per UbuntuHelp:HowToJACKConfiguration. We will show you how to connect the Virtual MIDI Keyboard application to ZynAddSubFX, and get some nice sounds on your speakers. At the end of this tutorial, you will have a basic understanding of MIDI and audio routing with JACK, and you should be able to apply these concepts to meet your needs.

Firstly, install the applications we will be using:

sudo apt-get install vkeybd zynaddsubfx

Now go to Applications > Sound & Video and launch the following applications: JACK Control, VKey``Bd, and ZynAddSubFX. Be sure to load JACK Control first, the launch order of other applications doesn't matter.

You should now have all three applications loaded. Click on the Connect button in the Qjack``Ctl main window.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections2.png

This will open up a new window, which is the Connections window, on the Audio tab. In the left pane, you have the Readable Client list (audio outputs), and in the right pane you have the Writable Client list (audio inputs). We want to have the output of ZynAddSubFX connected to the sound card's ALSA input so that we can hear ZynAddSubFX's sounds.

Click on the ZynAddSubFX entry in the left pane, and click on the alsa_pcm entry in the right pane, and then click on the Connect button.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections3.png

You will now see a line drawn between the left and right panes. This represents an audio connection, and is like a virtual audio patch cable. Think of it this way: you just plugged your synthesizer into a set of speakers.

Now click on the MIDI tab.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections4.png

In the left pane, you have the Readable Client list (MIDI outputs), and in the right pane you have the Writable Client list (MIDI inputs). We want to have the MIDI output of VKey``Bd connected to ZynAddSubFX's MIDI input so that we can play notes on ZynAddSubFX using the VKey``Bd application.

Click on the Virtual Keyboard entry in the left pane, and click on the ZynAddSubFX entry in the right pane, and then click on the Connect button.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections5.png

Again, you see the line drawn between the left and right panes. This represents a MIDI connection, and is like a virtual MIDI patch cable. Think of it this way: you just plugged your MIDI keyboard controller into your synthesizer.

Click the close button to hide the Connections window, as we're done making connections.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections6.png

Now, switch to the VKey``Bd window, and press some keys on your computer keyboard, or use your mouse to click on the graphical keyboard. Any notes that you press will highlight in blue, as shown in the image below.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections7.png

If you look at the ZynAddSubFX window, you should see the volume meters (at the very bottom of the window) showing activity, and you should hear some sounds coming out your speakers.

HowToQjackCtlConnections?action=AttachFile&do=get&target=TutQjackCtlConnections8.png

Congratulations, you have just made your first JACK audio and MIDI connections! You should have a pretty basic understanding of how connections work.

JACK Connections are very flexible, as you can plug any audio output into any audio input, and any MIDI output into any MIDI input. For example, you could plug the MIDI output of your USB MIDI keyboard into the MIDI input of seq24; the MIDI output of seq24 into the MIDI input of ZynAddSubFX; the audio output of ZynAddSubFX to the input of JACK-Rack; the audio output of JACK-Rack into Ardour, and then record it to disk.

Have fun and make music!