thanks pedro for the explanation:

I agree it's a hardware problem, to find the exact configuration. mail lists are a great way to see the problem from another perspective, for example, I never thought to increase the rate to 48000, if a smaller number gave problems

a good solution to the difference between computers could be used in all the same audio card, but I think it is a utopia. Does anyone have experience in this regard?


my solution is: with sudo without rt patch

1. jackd -R -P14 -dalsa -dhw:0 -r48000 -p2048 -n4 -P
2. emacs -sclang
3. pdextended -jack -channels 2 -r 48000

2010/12/30 Pedro Lopes <pedro.lopes@ist.utl.pt>
I use both in Karmic (patched with rt) on a cheap Toshiba AMD Dual core and Maverick (no patch yet) on a stronger dual core VAIO.

Now some considerations:
- on Toshiba (weakest link)>
  - with on board card, I set the qjackctl values such as the latency rises a bit, but stays stable without DIO errors or xruns (as jack call's it). The rate is set at 44.1k, but is not what drives latency the most. The buffer size and period will determine the latency value (on the down-right corner qjackctl predicts the latency).  I use about 1024 or 2048 samples on the buffer length and a 3 period. Yes I know its high, but its hyper stable.
  - with a simple USB card (H4 recorder) I can really lower the latency a lot, I can usually manage it down to 20ms and remain really stable without DIO and xruns.

- on VAIO (strongest link) 
  - the computer is so fast that even with onboard sound card and without rt I can run jack + pd + sc with an acceptable latency. I just installed sc to test both systems in parallel, runned a couple of sc140 code in parallel, and some of my medium load pd patches, also started up moc player, all with 30 ms of latency and without any DIO or xrun. So it all depends on a lot of hardware capabilities and of course some fine tuning of your jack + soundcard settings. Attached is an image of pd + sc on maverick in my VAIO.

best regards
Pedro
p.s.: note on the image that although qjack is running with jack realtime enabled but the kernel is not patched for rt. 

On Thu, Dec 30, 2010 at 1:04 PM, oskoff lovich <noishx@gmail.com> wrote:
Hi Miquel and all,
sometimes i used sc and puredata with jackd

and they work very good,,

with ubuntu karmic koala 9.10 in a cheap acer laptop

i usually open first jack at 48000 sample rate,
then supercollider and after   pd -jack

maybe is a problem with diferent sample rate options
or try with diferents settings of jack ( on/off realtime  ect)

salut!




zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Hello.

I use pd plus sc in puredyne and maverick. The OSC communication is fine and
fast, but the audio in puredata is plenty of dio errors.

I have tried many combinations of command line options, with jackd and with
pd.

I have compiled and jackd and puredata.

Someone is using these two environments, whitou audio problems? How? In what
operating system? With that computer?

Thanks.




--
>>>http://noconventions.mobi/noish

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




--
Pedro Lopes (MSc)
contact: pedro.lopes@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes



--
Creative Commons & Open Source experimental electronic & computer sounds.

http://musicnumbers.wordpress.com/