SunVox on Raspberry Pi

Multi-platform modular music creation studio
Post Reply
User avatar
NightRadio
Site Admin
Posts: 3008
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

SunVox on Raspberry Pi

Post by NightRadio » Mon Nov 27, 2017 3:49 pm

A brief installation guide is provided below.
(tested on Raspberry Pi 2 with the latest Raspbian, but actually it will be very similar on any Linux-based device)

1. Make sure that the SDL2 library (libsdl2) is installed in your system. Go to the main RPi menu -> Preferences -> Add / Remove Software:
Image

2. Get the ZIP archive with the latest SunVox from the site:
Image

3. Find the folder where you downloaded the SunVox:
Image

4. Double click on the SunVox ZIP file - you will get into the archive viewer. Press the "Extract files" button:
Image

5. Enter the directory where to extract the files (for example, local home directory /home/pi) and press "Extract":
Image

6. Close the archive viewer and remove the SunVox ZIP file.

7. Go to the extracted folder -> sunvox -> linux_arm_armhf_raspberry_pi. You will see the following files:
sunvox - version with 32bit (floating point) audio engine (recommended);
sunvox_lofi - version with 16bit (fixed point 4.12) audio engine for slow devices;
Image

8. Double click on the preferred version.

9. If nothing happened, open the Terminal and enter the following commands:
cd ~/sunvox/sunvox/linux_arm_armhf_raspberry_pi
chmod a+x sunvox
./sunvox

After that you will see some error messages describing why the program does not work.

10. By default the FPS may be too low (several frames per second), because the SDL2 is optimized for true hardware acceleration (even in 2D mode). In this case you can try one of the following ways:
* add the "softrender" option to the SunVox config (~/.config/SunVox/sunvox_config.ini);
OR
* enable desktop OpenGL driver: Terminal -> sudo raspi-config -> Advanced Options -> GL Driver -> OpenGL desktop driver with full KMS.

Post Reply