Dear Iain, I guess that You mean with "all of them" the other pd-related packages, not jack. Am I right? I will try it soon.
2012/7/3 Iain Mott mott@reverberant.com
Hi Stefan - i would try de-installing all of them, then install only puredata - and try that audio test i suggested. See what happens then. good luck, iain
On Tue, 2012-07-03 at 22:12 +0200, Stefan Thomas wrote:
Dear Iain, I've installed it with synaptic (sudo synaptic). There I've choosen the packages puredata, pd-csound, puredata-gui, puredata-extra and some others. Maybee I should mention that there's version puredata-core 0.43.0-4 on my system installed.
2012/7/3 Iain Mott mott@reverberant.com Hi Stefan - how did you go about installing Pd? Was it via the "Ubuntu Software Centre" or from a website? Describe the steps you took. Seems like there is something wrong with your installation. iain
On Tue, 2012-07-03 at 20:05 +0200, Stefan Thomas wrote: > Dear Ian, > thanks for Your help! > I've tried pd -jack, as You've proposed, and I've got: > was... 1 > priority 6 scheduling enabled. > priority 8 scheduling enabled. > open: /usr/lib/puredata/doc/7.stuff/tools/testtone.pd: No such > file or directory > testtone.pd: No such file or directory > Unfortunately, in /usr/lib/puredata/doc there's no directory called > 7.stuff, there's only 5.reference and there's is no file testtone.pd! > > 2012/7/3 Iain Mott <mott@reverberant.com> > Hi there - If you wish to use jack, first check that qjackctl > is > actually started and running properly (you can click on the > "Messages" > button to see if something is wrong), then when you launch Pd > from a > terminal, make sure you have included the "-jack" flag in the > command > line. Yes, you'll need to check the DSP box. Can you copy the > command > line output of Pd and post it to the list (and also any print > out from > the main Pd window)? It might show what is wrong. > > What audio patch are you testing? Have you tried the "Test > audio and > MIDI" patch? In my version of Pd this can be found under the > "Media" > menu. > > Cheers, Iain > > On Tue, 2012-07-03 at 17:51 +0200, Stefan Thomas wrote: > > Dear community, > > I've installed pd, version 0.43.0-4 on my ubuntu 12.04 > machine (64 > > bit) from the repositorys. > > Unfortunately, I can't get sound out of it. > > First I'started qjackctl, and then PD. From the menue > "Media" I choose > > "Jack". > > In qjackctl I can see, that system and puredata are > connected. > > When I know click "Media", "test audio and midi" > unfortunately nothing > > happens, it doesn't matter if the box DSP is choosen or not. > > I can also open some patches, but I dont know how to get > sound of it. > > Am I missing something very simple? > > Sorry, but I can't find my mistake. > > > > > > > > > _______________________________________________ > > Pd-list@iem.at mailing list > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > >
Dear Iain, I did as You suggested, the problem remains the same. One problem might be: When I reinstall PD some of the other PD-related packages will be reinstalled to. But I've read in the meantime, that my problem could be a bug, related to my version of PD. It seems to be the same problem like the one, I have read on this site: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645041
2012/7/4 Stefan Thomas kontrapunktstefan@gmail.com
Dear Iain, I guess that You mean with "all of them" the other pd-related packages, not jack. Am I right? I will try it soon.
2012/7/3 Iain Mott mott@reverberant.com
Hi Stefan - i would try de-installing all of them, then install only puredata - and try that audio test i suggested. See what happens then. good luck, iain
On Tue, 2012-07-03 at 22:12 +0200, Stefan Thomas wrote:
Dear Iain, I've installed it with synaptic (sudo synaptic). There I've choosen the packages puredata, pd-csound, puredata-gui, puredata-extra and some others. Maybee I should mention that there's version puredata-core 0.43.0-4 on my system installed.
2012/7/3 Iain Mott mott@reverberant.com Hi Stefan - how did you go about installing Pd? Was it via the "Ubuntu Software Centre" or from a website? Describe the steps you took. Seems like there is something wrong with your installation. iain
On Tue, 2012-07-03 at 20:05 +0200, Stefan Thomas wrote: > Dear Ian, > thanks for Your help! > I've tried pd -jack, as You've proposed, and I've got: > was... 1 > priority 6 scheduling enabled. > priority 8 scheduling enabled. > open: /usr/lib/puredata/doc/7.stuff/tools/testtone.pd: No such > file or directory > testtone.pd: No such file or directory > Unfortunately, in /usr/lib/puredata/doc there's no directory called > 7.stuff, there's only 5.reference and there's is no file testtone.pd! > > 2012/7/3 Iain Mott <mott@reverberant.com> > Hi there - If you wish to use jack, first check that qjackctl > is > actually started and running properly (you can click on the > "Messages" > button to see if something is wrong), then when you launch Pd > from a > terminal, make sure you have included the "-jack" flag in the > command > line. Yes, you'll need to check the DSP box. Can you copy the > command > line output of Pd and post it to the list (and also any print > out from > the main Pd window)? It might show what is wrong. > > What audio patch are you testing? Have you tried the "Test > audio and > MIDI" patch? In my version of Pd this can be found under the > "Media" > menu. > > Cheers, Iain > > On Tue, 2012-07-03 at 17:51 +0200, Stefan Thomas wrote: > > Dear community, > > I've installed pd, version 0.43.0-4 on my ubuntu 12.04 > machine (64 > > bit) from the repositorys. > > Unfortunately, I can't get sound out of it. > > First I'started qjackctl, and then PD. From the menue > "Media" I choose > > "Jack". > > In qjackctl I can see, that system and puredata are > connected. > > When I know click "Media", "test audio and midi" > unfortunately nothing > > happens, it doesn't matter if the box DSP is choosen or not. > > I can also open some patches, but I dont know how to get > sound of it. > > Am I missing something very simple? > > Sorry, but I can't find my mistake. > > > > > > > > > _______________________________________________ > > Pd-list@iem.at mailing list > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > >
On Wed, 2012-07-04 at 08:20 +0200, Stefan Thomas wrote:
Dear Iain, I did as You suggested, the problem remains the same. One problem might be: When I reinstall PD some of the other PD-related packages will be reinstalled to. But I've read in the meantime, that my problem could be a bug, related to my version of PD. It seems to be the same problem like the one, I have read on this site: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645041
Yep. It seems to be a bug with that release.
I've added an example as an attachment. Should be enough to check if everything works.
Alsa works for me, but it doesn't work well at lower latencies. Jack is preferred for that. Only, to get lower latencies with jack, you'll need to install linux-lowlatency (low latency capable linux kernel) and set up realtime privilege (all this is done if you installed Ubuntu Studio).
To set up realtime privilege, you'll need to do a few things.
First, install linux-lowlatency: sudo apt-get install linux-lowlatency
Second, you need to answer yes when asked about this when installing jack. If unsure, see that the file /etc/security/limits.d/audio.conf is not named /etc/security/limits.d/audio.conf.disabled. To rename it, do this in a terminal: sudo mv /etc/security/limits.d/audio.conf.disabled /etc/security/limits.d/audio.conf Inside that file, you need to have these two lines uncommented (they should be by default):
@audio - rtprio 95 @audio - memlock unlimited
If the file doesn't exist, just create it: sudo nano /etc/security/limits.d/audio.conf ..and add the two lines above.
The third thing to do is to add yourself to audio group: sudo usermod -a -G audio $USER
Then, reboot.
Latency is adjusted separately for both jack and pd. I believe jack handles audio latency when used with pd, while pd handles its' internal data latency. Good latency for me is 64 frames/period in qjackctl settings, and around 5-10 ms in pd jack settings.
|---------------- kaj.ailomaa@mousike.me ---------------------|
Dear Kaj, thanks for Your help. I've installed the lowlatency kernel and I've also reinstalled qjackctl and pd, from the ubuntu repositorys. But I still do have the problem, that I don't hear any sound. I opened Your patch signal-example and I can see the "cables". But I can't hear any sound! I don't have the option "compute" audio. When I click DSP, nothing happens. Shall I install a newer or older version from source?
2012/7/4 Kaj Ailomaa kaj.ailomaa@mousike.me
On Wed, 2012-07-04 at 08:20 +0200, Stefan Thomas wrote:
Dear Iain, I did as You suggested, the problem remains the same. One problem might be: When I reinstall PD some of the other PD-related packages will be reinstalled to. But I've read in the meantime, that my problem could be a bug, related to my version of PD. It seems to be the same problem like the one, I have read on this site: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645041
Yep. It seems to be a bug with that release.
I've added an example as an attachment. Should be enough to check if everything works.
Alsa works for me, but it doesn't work well at lower latencies. Jack is preferred for that. Only, to get lower latencies with jack, you'll need to install linux-lowlatency (low latency capable linux kernel) and set up realtime privilege (all this is done if you installed Ubuntu Studio).
To set up realtime privilege, you'll need to do a few things.
First, install linux-lowlatency: sudo apt-get install linux-lowlatency
Second, you need to answer yes when asked about this when installing jack. If unsure, see that the file /etc/security/limits.d/audio.conf is not named /etc/security/limits.d/audio.conf.disabled. To rename it, do this in a terminal: sudo mv /etc/security/limits.d/audio.conf.disabled /etc/security/limits.d/audio.conf Inside that file, you need to have these two lines uncommented (they should be by default):
@audio - rtprio 95 @audio - memlock unlimited
If the file doesn't exist, just create it: sudo nano /etc/security/limits.d/audio.conf ..and add the two lines above.
The third thing to do is to add yourself to audio group: sudo usermod -a -G audio $USER
Then, reboot.
Latency is adjusted separately for both jack and pd. I believe jack handles audio latency when used with pd, while pd handles its' internal data latency. Good latency for me is 64 frames/period in qjackctl settings, and around 5-10 ms in pd jack settings.
|---------------- kaj.ailomaa@mousike.me ---------------------|
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Stefan,
On 05.07.2012 17:42, Stefan Thomas wrote:
Dear Kaj, thanks for Your help. I've installed the lowlatency kernel and I've also reinstalled qjackctl and pd, from the ubuntu repositorys. But I still do have the problem, that I don't hear any sound. I opened Your patch signal-example and I can see the "cables". But I can't hear any sound! I don't have the option "compute" audio. When I click DSP, nothing happens. Shall I install a newer or older version from source?
does any other Jack enabled application produce any sound? You could try something like amsynth, qsynth or hydrogen just to test, if it is problem with Pd or your Jack configuration.
Best regards, Thomas