electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Instruments and Equipment » Linux as a music workstation
Too many audio dropouts on puredata
Post new topic   Reply to topic Moderators: jksuperstar
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
kijjaz



Joined: Sep 20, 2004
Posts: 765
Location: bangkok, thailand
Audio files: 4

PostPosted: Wed Feb 03, 2010 11:28 pm    Post subject: Too many audio dropouts on puredata Reply with quote  Mark this post and the followings unread

Hi again. I've been using Ubuntu/Fedora for electronic/experimental music synthesis/performances and now mostly trying some new ideas on Puredata.

Now I'm mainly on Ubuntu with my not-that-superfast 32-bit laptop PC (but with nVidia for graphics, ok). But there's one thing bugging my mind; when I move puredata things, for example, moving objects, moving graphs, .. etc .. there often occurs some dropouts. But Jack was running smooth and no buffer over/underruns reported, so I see it's dropouts in PD.

For everyday desktop use, graphics is qutie smooth, i mean i can drag some windows around without the audio dropping out, but within PD, the PD audio does drop out quite often although CPU was not working that hard.

There are normally more dropouts than I expect although running not-to-big patches.

What should I do / check to improve this? Or do you guys have this same problem? It seems much smoother on Mac OS X, Windows.

Now I'm using pd-extended installable from .deb from puredata.info. The same problem happened to both vanilla and pd-extended, both stable and nightly builds.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
dewdrop_world



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Fri Feb 05, 2010 9:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm having the opposite experience on my new netbook. Pd sounds like ass in WIndows (glitches, dropouts) but sounds fine on a simple patch in Linux.

Using puredyne - the new one "carrot & coriander" is nice! SuperCollider works cleanly on it too. (No pre-install of ChucK though... I thought it was there.) The puredyne website says they did a lot of optimization for realtime audio.

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
herrsteiner



Joined: Mar 10, 2008
Posts: 8
Location: Hamburg

PostPosted: Thu Feb 11, 2010 8:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

unfortunatly the gui and audio thread in PD is not so separate as it should be, a well known problem. Two things can help:

- start PD with realtime mode, it seems to work for me only via terminal:
pd -rt

when I change it in the gui and restart it doesnt seem to get set.

- increase priority of pd thread
AFAIK pd actually starts two programs and it helps to increase the priority of the acutal sound thread. You can set priorities on the terminal after programs have started with

chrt -p 99 $(pidof pd)

when this helps you might write a small start skript to not have to type in that stuff, maybe something containing the commands like

pd -rt &
sleep 4
chrt -p 99 $(pidof pd)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » Linux as a music workstation
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use