sonic-pi-net / sonic-pi

Code. Music. Live.
https://sonic-pi.net
Other
10.82k stars 922 forks source link

"Bitcrusher" fx won't work #776

Closed hzulla closed 9 years ago

hzulla commented 9 years ago

...and on startup, the log says

exception in GrafDef_Load: UGen 'Decimator' not installed.
while reading file '/home/hanno/git/sonic-pi/etc/synthdefs/compiled/sonic-pi-fx_bitcrusher.scsyndef'
xavriley commented 9 years ago

I think you're missing the extra Ugens for SuperCollider. We build and ship these with the Pi but not for other distros (yet more things to solve for packaging!).

This is where I handle that in my Docker script for Ubuntu 14.04 https://github.com/xavriley/sonic-pi-docker/blob/master/Dockerfile#L57

RUN cd /usr/src && git clone git://github.com/supercollider/sc3-plugins.git && \
    cd sc3-plugins && git submodule init && git submodule update && \
    mkdir build && cd build && \
    cmake -DSC_PATH=/usr/include/SuperCollider -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. && \
    make && make install && ldconfig

Let us know if that fixes things. Again, I suspect the documentation may be lacking on this...

hzulla commented 9 years ago

Yow. This is getting complicated to package.

hzulla commented 9 years ago

Thanks, installing that solved this and #775.

But yeah, this makes it painfully obvious that packaging for Linux is needed.

xavriley commented 9 years ago

If we did go ahead and decide to package for Debian we could possibly pre-compile and bundle these. I need to check how SuperColllider handles these things.

rbnpi commented 9 years ago

This is even a problem when building 2.8 on Jessie. Ugens are included compiled for both Wheezy and Jessie, but by default the download from github is set to use the Wheezy ones. You have to manually change the link extra_ugens in app/server/native/raspberry to point to extra-ugens-jessie if running on Jessie to get it to work.

On 5 Nov 2015, at 16:15, xavriley notifications@github.com wrote:

If we did go ahead and decide to package for Debian we could possible pre-compile and bundle these. I need to check how SuperColllider handles these things.

— Reply to this email directly or view it on GitHub.

samaaron commented 9 years ago

Packaging the extra ugens for linux isn't really our problem - it should be a separate package just like Supercollider itself.

hzulla commented 9 years ago

@samaaron yes, but the extra ugens aren't packaged for Ubuntu, as far as I can tell. If we begin making a PPA for Ubuntu, we'd have to provide a ugens package as well.

rbnpi commented 8 years ago

I've just built the sc3-plugins for Ubuntu 10.4.3 and found this gist very helpful https://gist.github.com/Sciss/02af79296b35f1e7536f Although written for an earlier version of Ubuntu it works fine on 10.4