Hi,
I just wanted to change the delay in the audio settings for a higher latency to avoid glitches and dropouts in my current patch. Unfortunately there is no effect when I change the delay time.
Even setting it to 100 or 300 ms results in 0 delay (+ the usual os delay, of course)!
I am using the first release version of 0.42.5 on Lucid with oss.
Does anybody know if there was a bug about the audio settings in that version?
Everything is working as expected on windows xp with (probably) the same version as well as with the 0.43 version on windows. (I havn't tested 0.43 on Linux, yet)
Ingo
2011/2/16 Ingo Scherzinger ingo@miamiwave.com
Hi,
I just wanted to change the delay in the audio settings for a higher latency to avoid glitches and dropouts in my current patch. Unfortunately there is no effect when I change the delay time.
Even setting it to 100 or 300 ms results in 0 delay (+ the usual os delay, of course)!
I am using the first release version of 0.42.5 on Lucid with oss.
Hi Ingo, Is there a reason why you use oss and not alsa or jack? I wanted to test what you describe, but my soundcard apparently doesn't even show up in Media>OSS... when I try switching to OSS i get this: /dev/dsp (read/write): No such file or directory (now will try write-only...) /dev/dsp (writeonly): No such file or directory /dev/dsp (readonly): No such file or directory audio I/O stuck... closing audio
alsa works. ubuntu Maverick, Pd version 0.42-6
Tim
Does anybody know if there was a bug about the audio settings in that version?
Everything is working as expected on windows xp with (probably) the same version as well as with the 0.43 version on windows. (I havn't tested 0.43 on Linux, yet)
Ingo
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Tim,
usually I get better performance with oss. When I use alsa I have to start it with the -realtime and - nosleep flag to get the same performance. Unfortunately this makes the gui unmanageable from time to time. That's why I prefere oss. Leaving out the -nosleep flag helps somehow but seems not quite as fast.
Alsa actually lets me change the latency, though.
When starting with oss and a higher latency than 8 ms I get the message
"OSS: requested audio buffer size 12168 limited to 4096" (the actual number vary!)
(BTW I am always starting pd from the terminal with root rights)
Could it be that there are some general audio settings in the ubuntu system that I have to change in order to increase the maximum buffer size? Does anybody know where this could be?
Ingo
Von: tim vets [mailto:timvets@gmail.com] Gesendet: Mittwoch, 16. Februar 2011 19:29 An: Ingo Scherzinger Cc: pd-list@iem.at Betreff: Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not working!
2011/2/16 Ingo Scherzinger ingo@miamiwave.com Hi,
I just wanted to change the delay in the audio settings for a higher latency to avoid glitches and dropouts in my current patch. Unfortunately there is no effect when I change the delay time.
Even setting it to 100 or 300 ms results in 0 delay (+ the usual os delay, of course)!
I am using the first release version of 0.42.5 on Lucid with oss.
Hi Ingo, Is there a reason why you use oss and not alsa or jack? I wanted to test what you describe, but my soundcard apparently doesn't even show up in Media>OSS... when I try switching to OSS i get this: /dev/dsp (read/write): No such file or directory (now will try write-only...) /dev/dsp (writeonly): No such file or directory /dev/dsp (readonly): No such file or directory audio I/O stuck... closing audio
alsa works. ubuntu Maverick, Pd version 0.42-6
Tim Does anybody know if there was a bug about the audio settings in that version?
Everything is working as expected on windows xp with (probably) the same version as well as with the 0.43 version on windows. (I havn't tested 0.43 on Linux, yet)
Ingo
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ingo, I think OSS can offer you just very high latency. You can't get realtime with it. Did you test this "8ms" latency, is that actually waht happens?
I get latencies as low as 5~10 ms with alsa and jack.
Besides, if you configure your system right with ALSA and JACK, you don't need to run PD as root. Don't run programs as root, this is not safe.
On 02/18/2011 05:13 PM, Bernardo Barros wrote:
Ingo, I think OSS can offer you just very high latency. You can't get realtime with it.
where did you get that piece of information?
the lowest latency i was ever able to get with Pd at 44.1kHz was with RME Hammerfall and OSS(!) drivers: 4.8ms measured(!) between soundcard input and soundcard output, and that at a load of 80% or so.
(i don't fully trust in the numbers that you can fill into the various forms, regardless of Pd, jack, or whatever; the only way to get yuor latency is to measure it).
the main problem with OSS is, that it is simply not available anymore on recent debian/ubuntu/... distros.
Besides, if you configure your system right with ALSA and JACK, you don't need to run PD as root. Don't run programs as root, this is not safe.
i couldn't have said that better.
gamdsr IOhannes
2011/2/18 IOhannes zmölnig zmoelnig@iem.at
On 02/18/2011 05:13 PM, Bernardo Barros wrote:
Ingo, I think OSS can offer you just very high latency. You can't get realtime with it.
where did you get that piece of information?
the main problem with OSS is, that it is simply not available anymore on recent debian/ubuntu/... distros.
In my memory, OSS forked off into some commercial project, or was it always that way?
-- buZz
On 02/18/2011 06:00 PM, Bastiaan van den Berg wrote:
In my memory, OSS forked off into some commercial project, or was it always that way?
that's true as well (but the commercial fork happened a decade or so ago
OSS as found in the linux mainline kernel.
mfrt IOhannes
Besides the audio I sometimes need to run some [shell] commands that require root rights. No way to run it without being root.
Ingo
Besides, if you configure your system right with ALSA and JACK, you don't need to run PD as root. Don't run programs as root, this is not safe.
i couldn't have said that better.
gamdsr IOhannes
Use sudo.
.hc
On Feb 19, 2011, at 12:45 PM, Ingo wrote:
Besides the audio I sometimes need to run some [shell] commands that
require root rights. No way to run it without being root.Ingo
Besides, if you configure your system right with ALSA and JACK, you don't need to run PD as root. Don't run programs as root, this is not safe.
i couldn't have said that better.
gamdsr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
“We must become the change we want to see. - Mahatma Gandhi
<classic> What is sudo: http://xkcd.com/149/ </classic> On Sat, Feb 19, 2011 at 6:50 PM, Hans-Christoph Steiner <hans@at.or.at>wrote:
Use sudo.
.hc
On Feb 19, 2011, at 12:45 PM, Ingo wrote:
Besides the audio I sometimes need to run some [shell] commands that
require root rights. No way to run it without being root.
Ingo
Besides, if you configure your system right with ALSA and JACK, you
don't need to run PD as root. Don't run programs as root, this is not safe.
i couldn't have said that better.
gamdsr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
“We must become the change we want to see. - Mahatma Gandhi
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
No Bernardo,
I get the same or even better latencies. Down to 6 ms with a very complex patch. Alsa is giving me more problems like digital A/D/A sync errors.
As far as I know alsa is using oss anyway. Don't know if I'm wrong here.
Ingo
-----Ursprüngliche Nachricht----- Von: Bernardo Barros [mailto:bernardobarros2@gmail.com] Gesendet: Freitag, 18. Februar 2011 17:14 An: Ingo Scherzinger Cc: tim vets; pd-list@iem.at Betreff: Re: [PD] Pd-extended 0.42.5 Lucid - Audio Settings / Delay - not working!
Ingo, I think OSS can offer you just very high latency. You can't get realtime with it. Did you test this "8ms" latency, is that actually waht happens?
I get latencies as low as 5~10 ms with alsa and jack.
Besides, if you configure your system right with ALSA and JACK, you don't need to run PD as root. Don't run programs as root, this is not safe.