本篇是如何在 Ubuntu 上安裝 Jack,並與原先的音頻系統 PulseAudio 共存的教學。
示範環境:Linux Mint 19.10
首先我們安裝 KxStudio 這個專門為 Linux 音樂軟體庫,先前往 KxStudio Repositories,然後安裝他的 PPA。
先下載 kxstudio-repos.deb,然後按照官網的指示進行操作:
# Install required dependencies if needed
sudo apt-get install apt-transport-https gpgv
# Remove legacy repos
sudo dpkg --purge kxstudio-repos-gcc5
# Download package file
wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_10.0.3_all.deb
# Install it
sudo dpkg -i kxstudio-repos_10.0.3_all.deb
這樣就安裝好了 KxStudio 的 PPA,我們就可以在 apt 指令安裝 KxStudio 的軟體了。
Cadence 是一個 Jack 的管理器,同時也附帶很多工具。安裝 Cadence 的同時也會自動安裝 Jack2
sudo apt install cadence
那由於 Jack 執行時,無法讓 PulseAudio 同時運行,所以我們同時要安裝 pulseaudio-module-jack 這個套件讓 PulseAudio 可以當作 Jack 上的 plugin 執行。
sudo apt install pulseaudio-module-jack
接下來我們還要將使用者加入 sound
群組
sudo usermod -aG sound $USER
接下來我們啟動 Cadence
點開 Jack Bridge 的地方,然後設定 Bridge Type 為 ALSA -> PulseAudio -> JACK(Plugin)
。
重開機,打開 Cadence -> Tools -> Catia,Catia 是操作 Jack 接線的地方,應該就可以看到以下畫面:
有部份不同沒關係,重點是有沒有看到 PulseAudio JACK Source 這個區塊,如果沒有就代表前面有設定沒成功。
接著試著播放音樂,如果瀏覽器和一般音樂播放器都沒問題的話,就成功了。
部落格版:【教學】Ubuntu 安裝 Jack :成功運行 PulseAudio │ Linux Mint
相關連結:CHAWTeam官網
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing