特殊:Badtitle/NS100:HowToQjackCtlConnections
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/HowToQjackCtlConnections }} |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/af | • {{#if: php5|Afrikaans| [[::HowToQjackCtlConnections/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ar | • {{#if: php5|العربية| [[::HowToQjackCtlConnections/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/az | • {{#if: php5|azərbaycanca| [[::HowToQjackCtlConnections/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::HowToQjackCtlConnections/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/bg | • {{#if: php5|български| [[::HowToQjackCtlConnections/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/br | • {{#if: php5|brezhoneg| [[::HowToQjackCtlConnections/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ca | • {{#if: php5|català| [[::HowToQjackCtlConnections/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/cs | • {{#if: php5|čeština| [[::HowToQjackCtlConnections/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/de | • {{#if: php5|Deutsch| [[::HowToQjackCtlConnections/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/el | • {{#if: php5|Ελληνικά| [[::HowToQjackCtlConnections/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/es | • {{#if: php5|español| [[::HowToQjackCtlConnections/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/fa | • {{#if: php5|فارسی| [[::HowToQjackCtlConnections/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/fi | • {{#if: php5|suomi| [[::HowToQjackCtlConnections/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/fr | • {{#if: php5|français| [[::HowToQjackCtlConnections/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/gu | • {{#if: php5|ગુજરાતી| [[::HowToQjackCtlConnections/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/he | • {{#if: php5|עברית| [[::HowToQjackCtlConnections/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/hu | • {{#if: php5|magyar| [[::HowToQjackCtlConnections/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/id | • {{#if: php5|Bahasa Indonesia| [[::HowToQjackCtlConnections/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/it | • {{#if: php5|italiano| [[::HowToQjackCtlConnections/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ja | • {{#if: php5|日本語| [[::HowToQjackCtlConnections/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ko | • {{#if: php5|한국어| [[::HowToQjackCtlConnections/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ksh | • {{#if: php5|Ripoarisch| [[::HowToQjackCtlConnections/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/mr | • {{#if: php5|मराठी| [[::HowToQjackCtlConnections/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ms | • {{#if: php5|Bahasa Melayu| [[::HowToQjackCtlConnections/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/nl | • {{#if: php5|Nederlands| [[::HowToQjackCtlConnections/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/no | • {{#if: php5|norsk| [[::HowToQjackCtlConnections/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/oc | • {{#if: php5|occitan| [[::HowToQjackCtlConnections/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/pl | • {{#if: php5|polski| [[::HowToQjackCtlConnections/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/pt | • {{#if: php5|português| [[::HowToQjackCtlConnections/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ro | • {{#if: php5|română| [[::HowToQjackCtlConnections/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/ru | • {{#if: php5|русский| [[::HowToQjackCtlConnections/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/si | • {{#if: php5|සිංහල| [[::HowToQjackCtlConnections/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/sq | • {{#if: php5|shqip| [[::HowToQjackCtlConnections/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/sr | • {{#if: php5|српски / srpski| [[::HowToQjackCtlConnections/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/sv | • {{#if: php5|svenska| [[::HowToQjackCtlConnections/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/th | • {{#if: php5|ไทย| [[::HowToQjackCtlConnections/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/tr | • {{#if: php5|Türkçe| [[::HowToQjackCtlConnections/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/vi | • {{#if: php5|Tiếng Việt| [[::HowToQjackCtlConnections/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/yue | • {{#if: php5|粵語| [[::HowToQjackCtlConnections/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/zh | • {{#if: php5|中文| [[::HowToQjackCtlConnections/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/zh-hans | • {{#if: php5|中文(简体)| [[::HowToQjackCtlConnections/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}HowToQjackCtlConnections}}/zh-hant | • {{#if: php5|中文(繁體)| [[::HowToQjackCtlConnections/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:HowToQjackCtlConnections|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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.
attachment: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.
attachment: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.
attachment: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.
attachment: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.
attachment: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.
attachment: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.
attachment: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!