I ran apt-get update, but looks like ppa is somehow broken:
... Hit http://security.ubuntu.com vivid-security/universe Translation-en Fetched 381 kB in 13s (27,4 kB/s) W: Failed to fetch http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found W: Failed to fetch http://apt.puredata.info/releases/dists/vivid/main/binary-i386/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/sat-metalab/metalab/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. ...
I'm trying to connect PureData with LMMS... watched this video:
But it doesn't work for me. After I click on ALSA (like the guy in the video) I get this error:
"ALSA output error (snd_pcm_open): Device or resource busy"
I found this forum topic: http://puredata.hurleur.com/sujet-1396-alsa-issues
but running pd with "-alsa -alsaadd default" added does not solve the problem for me...
Ubuntu up to date
Today I wanted to start learning pd, and I'm having a huge problem installing it (started at 8pm now it's 2:43 am)...
First the ubuntu ppa didn't work. This is the output from "sudo apt-get update"
W: Failed to fetch http://apt.puredata.info/releases/dists/luna/main/source/Sources 404 Not Found
W: Failed to fetch http://apt.puredata.info/releases/dists/luna/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://apt.puredata.info/releases/dists/luna/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
so I have to compile it...
I downloaded pd-extended,
cd to packages/linux_make and sudo make install
But the installation just won't go trough... I already successfully installed many dependencies (also everything mentioned here: http://puredata.info/docs/developer/Debian) but this I cannot find:
make: Entering directory `/home/jaka/Programi/pd-e/pd-extended/externals/pdp/modules/generic'
gcc -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -fPIC -O2 -funroll-loops -fomit-frame-pointer -ffast-math -DPDP_VERSION=\"0.12.7\" -I. -I/usr/X11R6/include -I../include -I../../include -I/home/jaka/Programi/pd-e/pd-extended/pd/src -o pdp_reg.o -c pdp_reg.c
In file included from ../../include/pdp.h:80:0,
../../include/pdp_matrix.h:25:27: fatal error: gsl/gsl_block.h: No such file or directory
make: *** [pdp_reg.o] Error 1
How many more of them are there?? And one more question... why am I having such a bad time compiling this? I don't find any people having this issues on the forums and on google...
I actually got it working with ardour.
1. Start jack and ardour
2. Create Session and add new track for pd
3. Start pd with -jack option
4. Select Jack under Media
5. Go to qjackctl -> Connections and connect pd outputs on the left with the ardour's "pd" entry on the right.
6. This way I can record pd output in Ardour. Which is actually what I need.
Thanks for help and your patience with me... you were awesome!
ok. so this are the steps I have to make:
1. make sure that pulseaudio is not running (not sure how.. i guess "pulseaudio -k" kills it)
2. start qjackctl
3. click start
4. start pd-extended
5. start pulseaudio
Last step fails i think:
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
In qjackctl Connections under "Audio" pd_extended_0 and PulseAudio JACK Sink are added. But from here I'm lost. I'm actually giving up on lmms and trying out ardour. Will report the progress.
I spend one sleepless night a while ago installing all the dependencies. I can compile it with no problem. The reason for that is that ubuntu ppa didn't work that night.. today I see it's working...
So I installed it from ppa right now...
Great! Now I have jack in media... how do I set this up?
Solved! Installed all this:
sudo apt-get install libgsl0-dbg libgsl0-dev libgsl0ldbl gsl-bin libgsl-ruby libgsl-ruby1.9.1 libocamlgsl-ocaml libocamlgsl-ocaml-dev libranlip-dev octave-gsl oggvideotools slang-gsl yorick-yeti-gsl
and it finally worked!
3:53 This was a hell of a ride...