特殊:Badtitle/NS100:HowToQjackCtlConnections
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/HowToQjackCtlConnections }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/af | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Afrikaans| [[::HowToQjackCtlConnections/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ar | • {{#if: UbuntuHelp:HowToQjackCtlConnections|العربية| [[::HowToQjackCtlConnections/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/az | • {{#if: UbuntuHelp:HowToQjackCtlConnections|azərbaycanca| [[::HowToQjackCtlConnections/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/bcc | • {{#if: UbuntuHelp:HowToQjackCtlConnections|جهلسری بلوچی| [[::HowToQjackCtlConnections/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/bg | • {{#if: UbuntuHelp:HowToQjackCtlConnections|български| [[::HowToQjackCtlConnections/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/br | • {{#if: UbuntuHelp:HowToQjackCtlConnections|brezhoneg| [[::HowToQjackCtlConnections/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ca | • {{#if: UbuntuHelp:HowToQjackCtlConnections|català| [[::HowToQjackCtlConnections/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/cs | • {{#if: UbuntuHelp:HowToQjackCtlConnections|čeština| [[::HowToQjackCtlConnections/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/de | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Deutsch| [[::HowToQjackCtlConnections/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/el | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Ελληνικά| [[::HowToQjackCtlConnections/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/es | • {{#if: UbuntuHelp:HowToQjackCtlConnections|español| [[::HowToQjackCtlConnections/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/fa | • {{#if: UbuntuHelp:HowToQjackCtlConnections|فارسی| [[::HowToQjackCtlConnections/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/fi | • {{#if: UbuntuHelp:HowToQjackCtlConnections|suomi| [[::HowToQjackCtlConnections/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/fr | • {{#if: UbuntuHelp:HowToQjackCtlConnections|français| [[::HowToQjackCtlConnections/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/gu | • {{#if: UbuntuHelp:HowToQjackCtlConnections|ગુજરાતી| [[::HowToQjackCtlConnections/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/he | • {{#if: UbuntuHelp:HowToQjackCtlConnections|עברית| [[::HowToQjackCtlConnections/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/hu | • {{#if: UbuntuHelp:HowToQjackCtlConnections|magyar| [[::HowToQjackCtlConnections/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/id | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Bahasa Indonesia| [[::HowToQjackCtlConnections/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/it | • {{#if: UbuntuHelp:HowToQjackCtlConnections|italiano| [[::HowToQjackCtlConnections/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ja | • {{#if: UbuntuHelp:HowToQjackCtlConnections|日本語| [[::HowToQjackCtlConnections/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ko | • {{#if: UbuntuHelp:HowToQjackCtlConnections|한국어| [[::HowToQjackCtlConnections/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ksh | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Ripoarisch| [[::HowToQjackCtlConnections/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/mr | • {{#if: UbuntuHelp:HowToQjackCtlConnections|मराठी| [[::HowToQjackCtlConnections/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ms | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Bahasa Melayu| [[::HowToQjackCtlConnections/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/nl | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Nederlands| [[::HowToQjackCtlConnections/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/no | • {{#if: UbuntuHelp:HowToQjackCtlConnections|norsk| [[::HowToQjackCtlConnections/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/oc | • {{#if: UbuntuHelp:HowToQjackCtlConnections|occitan| [[::HowToQjackCtlConnections/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/pl | • {{#if: UbuntuHelp:HowToQjackCtlConnections|polski| [[::HowToQjackCtlConnections/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/pt | • {{#if: UbuntuHelp:HowToQjackCtlConnections|português| [[::HowToQjackCtlConnections/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ro | • {{#if: UbuntuHelp:HowToQjackCtlConnections|română| [[::HowToQjackCtlConnections/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/ru | • {{#if: UbuntuHelp:HowToQjackCtlConnections|русский| [[::HowToQjackCtlConnections/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/si | • {{#if: UbuntuHelp:HowToQjackCtlConnections|සිංහල| [[::HowToQjackCtlConnections/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/sq | • {{#if: UbuntuHelp:HowToQjackCtlConnections|shqip| [[::HowToQjackCtlConnections/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/sr | • {{#if: UbuntuHelp:HowToQjackCtlConnections|српски / srpski| [[::HowToQjackCtlConnections/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/sv | • {{#if: UbuntuHelp:HowToQjackCtlConnections|svenska| [[::HowToQjackCtlConnections/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/th | • {{#if: UbuntuHelp:HowToQjackCtlConnections|ไทย| [[::HowToQjackCtlConnections/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/tr | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Türkçe| [[::HowToQjackCtlConnections/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/vi | • {{#if: UbuntuHelp:HowToQjackCtlConnections|Tiếng Việt| [[::HowToQjackCtlConnections/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/yue | • {{#if: UbuntuHelp:HowToQjackCtlConnections|粵語| [[::HowToQjackCtlConnections/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/zh | • {{#if: UbuntuHelp:HowToQjackCtlConnections|中文| [[::HowToQjackCtlConnections/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/zh-hans | • {{#if: UbuntuHelp:HowToQjackCtlConnections|中文(简体)| [[::HowToQjackCtlConnections/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToQjackCtlConnections | UbuntuHelp:HowToQjackCtlConnections | {{#if: | :}}HowToQjackCtlConnections}}/zh-hant | • {{#if: UbuntuHelp:HowToQjackCtlConnections|中文(繁體)| [[::HowToQjackCtlConnections/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:HowToQjackCtlConnections|: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. You do not need to use JACK if you only want to make MIDI connections. If, however, you would also like to route audio connections, make sure JACK is configured as described at HowToJACKConfiguration. Users that only want to make MIDI connections can also follow this tutorial, skipping the parts about audio connections. The Connections window in Qjack``Ctl provides a quick and easy way for you to make your audio and MIDI connections between applications supporting ALSA or JACK MIDI. 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. 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 Qjack``Ctl, 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. This will open up a new window, which is the Connections window, on the Audio tab. If you are not using JACK, you can skip to the MIDI tab now. 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. 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. 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. 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. 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. 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. Congratulations, you have just made your first JACK audio and MIDI connections! You should have a pretty basic understanding of how connections work. MIDI and 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, and the MIDI output of seq24 into the MIDI input of ZynAddSubFX. If you are using JACK, you can also plug 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!