Difference between revisions of "Zynthian FAQ"
(10 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
[[Understanding LINUX Audio]] Helps understand the acronyms mentioned in this Wiki | [[Understanding LINUX Audio]] Helps understand the acronyms mentioned in this Wiki | ||
− | ===Which | + | ===Which compute boards does Zynthian support?=== |
− | + | The currently supported computing boards are: | |
− | + | * [https://www.raspberrypi.org/products/raspberry-pi-4-model-b Raspberry Pi 4 Model B] | |
+ | * [https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus Raspberry Pi 3 Model B+] | ||
+ | * [https://www.raspberrypi.org/products/raspberry-pi-3-model-b Raspberry Pi 3 Model B] | ||
− | + | RBPi2 is not longer supported by official zynthian SD images. | |
+ | RBPi3 is supported but may be not powerfull enough if you plan to use many sound engines at the same time. | ||
+ | RBPi4 is the best choice. | ||
+ | |||
+ | === I want to run Zynthian OS on another Single Board Computer === | ||
+ | |||
+ | Not an easy task, but it's doable for advanced users. | ||
+ | If you want to use a different computing board model, you have to build your own SD image using the setup scripts. You can start from [https://github.com/zynthian/zynthian-sys/blob/master/scripts/setup_system_rbpi_raspbian_lite_buster.sh here] on top of minimal Debian Buster install. This script and the [https://github.com/zynthian/zynthian-sys/blob/master/scripts/zynthian_envars.sh environment variables] should be adapted to match your board. | ||
===Where can i buy a Zynthian Kit?=== | ===Where can i buy a Zynthian Kit?=== | ||
− | You can buy official | + | |
+ | You can buy official kits in the '''[https://shop.zynthian.org Zynthian Shop]'''. | ||
=== How do I edit entries in the Wiki? === | === How do I edit entries in the Wiki? === | ||
You need to be able to login into the Wiki. Registering in the wiki is currently disabled for security reasons, but you can ask on the forum to get access. | You need to be able to login into the Wiki. Registering in the wiki is currently disabled for security reasons, but you can ask on the forum to get access. | ||
− | === I | + | === I have a license for Pianoteq, what would be the process to enter the license key ? === |
+ | You have to access the webconf tool and follow ''carefully'' the instructions from the "Software->Pianoteq" section. | ||
− | + | === I see a red lightning on the display, I hear cracks when playing === | |
− | + | You are suffering from underpower. You need a reliable Power Supply Unit and a strong USB cable. The official RaspberryPi PSU bundle is the one that works perfectly. And it's available in the [https://shop.zynthian.org/shop/product/raspberry-pi-15-3w-usb-c-power-supply-389 Zynthian shop]. | |
− | + | === Loading engines or soundfonts is slow === | |
− | |||
− | |||
− | |||
− | |||
− | + | Be sure that you're using a high quality SD card. | |
+ | Also, if you're running ZynthianOs on a RBPi3, consider upgrading to RBPi4. | ||
− | === I have a | + | === Despite I have a good PSU, a good SD card and a RBPi4, my Zynthian hangs === |
+ | Maybe you have let the VNC server running while playing. Forwarding the sound engines native gui over the network is resource consuming. You should consider disabling the VNC server. | ||
− | + | === Does the pre-built kit come with a Raspberry Pi ? === | |
− | + | [https://shop.zynthian.org/shop/product/zynthian-kit-v4-2-358?category=13 In the shop], you can choose to buy the kit with or without a Raspberry Pi 4. | |
− | === | + | === I’m primarily a guitarist and thus, I’m interested in the MOD UI... === |
− | All | + | Currently, all official Zynthian Bundle-All Kits include "audio input". The new official sound card is the [https://blog.zynthian.org/2021/05/zynadac-v1-0-an-open-hardware-soundcard-for-zynthian/ ZynADAC]. |
− | + | Zynthia UI allows to create up to 16 FX-chains for audio processing and, of course, you can also use the fantastic MOD-UI from [https://mod.audio/ MOD Devices]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
=== Do you think Zynthian is for me? === | === Do you think Zynthian is for me? === | ||
− | |||
− | |||
− | |||
− | + | It depends a lot. Building a recent official zynthian kit doesn't require soldering, only basic tinkering (plugging wires, screw-driving, etc.). The official zynthian software runs out-the-box and you shouldn't need to use the command line. That being said, being comfortable with Linux command line helps in solving problems. | |
+ | If you love tinkering and have specific needs, Zynthian is an excellent basis to taylor a unique piece of hardware. | ||
=== About Zynthian Security=== | === About Zynthian Security=== | ||
− | FYI, everything in Zynthian is executed as root user | + | FYI, everything in Zynthian is executed as root user. |
− | Anybody who wants to connect their | + | Anybody who wants to connect their Zynthians to a “not secure” network (any network not controlled by oneself should be considered “not secure”) '''SHOULD CHANGE the default zynthian password'''. You can do that from the webconf tool. |
You also have to understand that: | You also have to understand that: | ||
− | * Although the Webconf Tool ask for the password, it doesn’t use HTTPS, so your password could be sniffed by bad actors connected to the local network. That is especially true if you are using an ethernet cable or the old WEP Wifi protocol. If you are using WPA2 Wifi protocol on your 2 devices (Zynthian and your “computer”), then you should be protected against sniffers. | + | * Although the Webconf Tool ask for the password, it doesn’t use HTTPS ''by default'', so your password could be sniffed by bad actors connected to the local network. That is especially true if you are using an ethernet cable or the old WEP Wifi protocol. If you are using WPA2 Wifi protocol on your 2 devices (Zynthian and your “computer”), then you should be protected against sniffers. |
− | * When a MOD-UI layer is created | + | * When a MOD-UI layer is created on zynthian, the MOD-UI server run completely open for everybody in the local network. |
IMHO, these 2 are the main security holes in Zynthian. For solving it, we have to: | IMHO, these 2 are the main security holes in Zynthian. For solving it, we have to: | ||
− | # Use HTTPS for webconf tool. | + | # Use HTTPS for webconf tool. This is already implemented with a self-signed certificate. |
# Secure the MOD-UI server: | # Secure the MOD-UI server: | ||
## Fast and Easy Way: Set a flag for “secure” networks, so MOD-UI will be “open” in that networks only | ## Fast and Easy Way: Set a flag for “secure” networks, so MOD-UI will be “open” in that networks only | ||
## Not so Easy Way: Use HTTPS and ask for the password. We should modify MOD-UI source code | ## Not so Easy Way: Use HTTPS and ask for the password. We should modify MOD-UI source code | ||
+ | |||
+ | === How good can the latency be? === | ||
+ | [https://discourse.zynthian.org/t/latency-on-the-new-hifiberry-stage-dac/5627/2?u=wyleu A forum post on Latency.] |
Latest revision as of 23:43, 25 June 2023
Please, add your questions to this FAQ. And of course, if you can add/improve an answer, do it! ;-)
1 LINUX Audio terminology is confusing
Understanding LINUX Audio Helps understand the acronyms mentioned in this Wiki
2 Which compute boards does Zynthian support?
The currently supported computing boards are:
RBPi2 is not longer supported by official zynthian SD images. RBPi3 is supported but may be not powerfull enough if you plan to use many sound engines at the same time. RBPi4 is the best choice.
3 I want to run Zynthian OS on another Single Board Computer
Not an easy task, but it's doable for advanced users. If you want to use a different computing board model, you have to build your own SD image using the setup scripts. You can start from here on top of minimal Debian Buster install. This script and the environment variables should be adapted to match your board.
4 Where can i buy a Zynthian Kit?
You can buy official kits in the Zynthian Shop.
5 How do I edit entries in the Wiki?
You need to be able to login into the Wiki. Registering in the wiki is currently disabled for security reasons, but you can ask on the forum to get access.
6 I have a license for Pianoteq, what would be the process to enter the license key ?
You have to access the webconf tool and follow carefully the instructions from the "Software->Pianoteq" section.
7 I see a red lightning on the display, I hear cracks when playing
You are suffering from underpower. You need a reliable Power Supply Unit and a strong USB cable. The official RaspberryPi PSU bundle is the one that works perfectly. And it's available in the Zynthian shop.
8 Loading engines or soundfonts is slow
Be sure that you're using a high quality SD card. Also, if you're running ZynthianOs on a RBPi3, consider upgrading to RBPi4.
9 Despite I have a good PSU, a good SD card and a RBPi4, my Zynthian hangs
Maybe you have let the VNC server running while playing. Forwarding the sound engines native gui over the network is resource consuming. You should consider disabling the VNC server.
10 Does the pre-built kit come with a Raspberry Pi ?
In the shop, you can choose to buy the kit with or without a Raspberry Pi 4.
11 I’m primarily a guitarist and thus, I’m interested in the MOD UI...
Currently, all official Zynthian Bundle-All Kits include "audio input". The new official sound card is the ZynADAC.
Zynthia UI allows to create up to 16 FX-chains for audio processing and, of course, you can also use the fantastic MOD-UI from MOD Devices.
12 Do you think Zynthian is for me?
It depends a lot. Building a recent official zynthian kit doesn't require soldering, only basic tinkering (plugging wires, screw-driving, etc.). The official zynthian software runs out-the-box and you shouldn't need to use the command line. That being said, being comfortable with Linux command line helps in solving problems. If you love tinkering and have specific needs, Zynthian is an excellent basis to taylor a unique piece of hardware.
13 About Zynthian Security
FYI, everything in Zynthian is executed as root user.
Anybody who wants to connect their Zynthians to a “not secure” network (any network not controlled by oneself should be considered “not secure”) SHOULD CHANGE the default zynthian password. You can do that from the webconf tool.
You also have to understand that:
- Although the Webconf Tool ask for the password, it doesn’t use HTTPS by default, so your password could be sniffed by bad actors connected to the local network. That is especially true if you are using an ethernet cable or the old WEP Wifi protocol. If you are using WPA2 Wifi protocol on your 2 devices (Zynthian and your “computer”), then you should be protected against sniffers.
- When a MOD-UI layer is created on zynthian, the MOD-UI server run completely open for everybody in the local network.
IMHO, these 2 are the main security holes in Zynthian. For solving it, we have to:
- Use HTTPS for webconf tool. This is already implemented with a self-signed certificate.
- Secure the MOD-UI server:
- Fast and Easy Way: Set a flag for “secure” networks, so MOD-UI will be “open” in that networks only
- Not so Easy Way: Use HTTPS and ask for the password. We should modify MOD-UI source code