Skip to content

Instantly share code, notes, and snippets.

@edumeneses
Created September 3, 2024 14:13
Show Gist options
  • Save edumeneses/978393a231f2f1b30ae7a688b8b500e3 to your computer and use it in GitHub Desktop.
Save edumeneses/978393a231f2f1b30ae7a688b8b500e3 to your computer and use it in GitHub Desktop.
Install Jacktrip for the Linux server
- Install jacktrip using `sudo apt install jacktrip jacktrip-gui -y`
- Test if you can create a **jacktrip hub server** with the command `jacktrip -S`
- If everything went well create a Systemd service (unit file) and start the service:
```bash
cat <<- "EOF" | sudo tee /etc/systemd/system/jacktrip_server.service
[Unit]
Description=Run JackTrip server
After=multi-user.target
[Service]
Type=idle
Restart=always
ExecStart=jacktrip --jacktripserver
[Install]
WantedBy=default.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable jackaudio.service
```
- To connect with the hub server via terminal with `jacktrip -C <SERVER_IP_OR_ADDRESS> --numchannels 128 --remotename <CLIENT_NAME>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment