Sonic Pi packaged for Fedora
Ismael Olea, 29 Dic. 2015
Maybe you know about Sonic Pi, the system to learn programming playing with music. Now I want to give it a try in my system (Fedora 23) and my sysadmin-TOC syndrome obligues me first to package it into RPM. Now I have good and bad news. The good news are I have a testing release of Sonic Pi for Fedora 23. It includes a desktop file too. The bad news are... it doesn't work yet. Sonic Pi uses jackd while a common Fedora Workstation uses pulseaudio and both try to manage the sound device by themselves.
After a quick googling seems possible to get a procedure for using some working configuration for puleaudio+jackd but I didn't have the time to find and check them. Meanwhile, if the RPM package is useful for someone here it is.
This package depends of Supercollider as provided by Planet CCRMA package repository. To use this Sonic Pi maybe you'll want to add the repository to your system.
Please feedback here if you know how to make sound to work.
PD: Post edited to add references to Planet CCRMA repositorie.
Running EPF (Eclipse Process Framework) in Linux
Ismael Olea, 28 Dic. 2015
For many time I wanted to learn to use EPF but technical reasons always stoped me. Blame me because I'm not an Eclipse guy and I'm not into its eclipse-isms but until today I have not been able to launch it. Now, wirth this really simple recipe you'll be able to run it.
Initial technical scenario:
- Fedora 23 Linux, 64 bits
- Oracle Java 64 bits (using 1.8 from Russian Fedora)
- Last release of EPF (tested with 1.5.1.7)
Then unzip the file and execute:
$ cd epf-composer
[epf-composer]$ ./epf
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/olea/epf-composer/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345/eclipse_1310.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
(Epf:27092): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(Epf:27092): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
- just get a 32 bits java VM
- adjust epf-composer/epf.ini to use it
and then change ~/epf-composer/epf.ini from this:
@user.home/EPF/workspace.151
-vmargs
-Xms64m
-Xmx512m
to this:
/usr/lib/jvm/java-1.7.0-oracle-1.7.0.79/jre/bin/java
-data
@user.home/EPF/workspace.151
-vmargs
-Xms64m
-Xmx512m
Please note the precise path may be different in your system but in any case it should point to a 32 bit java binary.
Then you just need to launch EPF and you are ready:
Enjoy.