Re: [PD] Trax - Sinusoidal Model Synthesis in Pure Data

2008-04-28 Thread Luigi Rensinghoff

Wow...

that opens really some doors to new sounds. Thanks very much.

I dont have a wacom unfortunately, but ia m playing around with a  
WiiRemote quite a bit.


Rich, do you have any plans for that ?

Any idea for a good mapping scheme ??




Am 25.04.2008 um 05:34 schrieb Rich E:


www.teafordragons.com/rte/trax.html

This is a patch I've been working on for quite some time now, finally
packaged with some documentation and an example qlist with it.  Trax
is a fancy additive synthesizer that stores partials in data
structures and re-synthesizes them using [oscbank~].  It gets the
sinusoidal models from SDIF files with 1TRC frames, which have to be
imported with [sdiflists].  I'd like to know how well it works for
others, it makes great sounds on my Ubuntu laptop, although I had much
worse results on a Macbook.

You can get the externals from cvs or:
www.teafordragons.com/rte/software.html

I personall control Trax with a Wacom Intuos3, so there are mappings
programmed for it that get wacom data using [linuxevent].  *note: I
chose not to use [hid] because it is possible to call the wacom with
[linuxevent /dev/input/wacom], which is always symbolically linked to
the correct /dev/input/event*.  I couldn't ever get [hid] to do find
the wacom on its own, without specifying exactly which event number it
is on.

You can also listen to a couple pieces I wrote using Trax, which also
use other fun Pd stuff and recorded in Ardour:
www.teafordragons.com/rte/music.html

Now, on to SMS, Spectral Model Synthesis, that is..

cheers,
rich

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
listinfo/pd-list




---

Luigi Rensinghoff
[EMAIL PROTECTED]
skype:gigischinke
ichat:gigicarlo




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [shell] issue

2008-04-28 Thread Olivier Heinry
hi,

I've got this command line that flushes the disk cache on Linux 2.6.16 and 
later that's very useful to clean big video files from RAM:

sudo sync; sudo echo 1  /proc/sys/vm/drop_caches



Any of you has an idea how to give a [sudo cmd( message to the [shell] object 
and on-interactively give the sudo password?

++
O.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Data Structure

2008-04-28 Thread Frank Barknecht
Hallo,
matohawk hat gesagt: // matohawk wrote:

 I have a question about 07.Sequencer patch in 4.data.structures, I see 
 this message
 ;
 pd-data sort
 
 what is of use it?

This sends the message sort to the automatically created receiver of
the [pd data] subpatch, similar to [;pd-data clear(. 

sort will sort the list of data items in the subpatch according to
their x-position. Data items are stored as a linked list: Each item in
this list contains the actual data and a reference to the 
next list item. So the traversal of the list in [pd data] normally
depends on the order, the items were created. After sort the
traversal happens according to x-position, as each list item's
next-reference is updated to point to the next item to the right
according to x-coordinate.

Ciao
-- 
 Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [shell] issue

2008-04-28 Thread Thomas Mayer
Olivier Heinry wrote:
 hi,
 
 I've got this command line that flushes the disk cache on Linux 2.6.16 and 
 later that's very useful to clean big video files from RAM:
 
   sudo sync; sudo echo 1  /proc/sys/vm/drop_caches

 Any of you has an idea how to give a [sudo cmd( message to the [shell] object 
 and on-interactively give the sudo password?


One way is to exclude these commands from needing the password via
http://lists.debian.org/debian-user/2004/02/msg00656.html

Another way is pipelining stdin:
echo YOURPASSWORD|sudo sync; ...

or for some real shell programming and using a textfile for stdin:
http://www.tldp.org/LDP/abs/html/io-redirection.html

cu Thomas
-- 
Prisons are needed only to provide the illusion that courts and police
are effective. They're a kind of job insurance.
(Leto II. in: Frank Herbert, God Emperor of Dune)
http://thomas.dergrossebruder.org/

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problems compiling pix_opencv in OSX (Was Re: pdp_opencv pix_opencv new development)

2008-04-28 Thread Jack
Hello PD users,
When i compile opencv, i get this error on macos X.4.11, G4 powerbook :
../../../otherlibs/highgui/cvcap_qt.cpp: In function `int  
icvWriteFrame_QT(CvVideoWriter*, const IplImage*)':
../../../otherlibs/highgui/cvcap_qt.cpp:1183: warning: unused  
variable 'status'
../../../otherlibs/highgui/cvcap_qt.cpp: In function `CvVideoWriter*  
cvCreateVideoWriter_QT(const char*, int, double, CvSize, int)':
../../../otherlibs/highgui/cvcap_qt.cpp:1425: error: jump to label  
'exit'
../../../otherlibs/highgui/cvcap_qt.cpp:1310: error:   from here
../../../otherlibs/highgui/cvcap_qt.cpp:1361: error:   crosses  
initialization of 'MediaType** video'
../../../otherlibs/highgui/cvcap_qt.cpp:1350: error:   crosses  
initialization of 'TrackType** video_track'
../../../otherlibs/highgui/cvcap_qt.cpp:1330: error:   crosses  
initialization of 'const __CFString* out_path'
make[3]: *** [cvcap_qt.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any idea ?
I followed the instructions from :
http://opencvlibrary.sourceforge.net/Mac_OS_X_OpenCV_Port
Thanx.
++

Jack


Le 26 avr. 08 à 06:17, marius schebella a écrit :

 got it working!

 [EMAIL PROTECTED] wrote:

 However, when I try to load any of them PD gives me this error::

 /Users/lluisgomezbigorda/pix_opencv/pix_opencv_edge.pd_darwin:
 dlopen(/Users/lluisgomezbigorda/pix_opencv/pix_opencv_edge.pd_darwin,
 10): Symbol not found: __ZN7GemBase10isRunnableEv
   Referenced from:
 /Users/lluisgomezbigorda/pix_opencv/pix_opencv_edge.pd_darwin
   Expected in: dynamic lookup

 I got this error too, but only when gem was not loaded. when gem is
 loaded, everything is fine.

 In order to make the opencv objects work I always had to set  
 colorspace
 RGB. otherwise, I did no see any effect. I think the default on osx is
 yuv. anyway, will test a little more. great stuff!
 marius.

 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] continuous dropouts in windows, probably memory issue

2008-04-28 Thread matteo sisti sette
Hi,

I have (as usual) an enormous patch... enormous in terms of quantity
of abstractions, levels of nesting, and quantity of objects in each
abstraction.

Everything is carefully built in order not to waste CPU. All audio
processing objects are swicthed on/off when needed, so that when
everything is idle it is consuming 0% cpu; usually only few of the
many existing objects are actually playing, so that I never get more
than 20-30% cpu usage (on a 2.00GHz dual core, that is approx. 40-60%
of a single 2GHz CPU), and only rarely that much.
Also, I always avoid generating huge message trees that may cause
audio dropouts.

The patch occupies about 90Mb in RAM; when all the samples (audio
files) are loaded, it occupies about 216Mb RAM.

Now, all this used to work perfectly on machine A, and still works
perfectly on machine B, where it has been tested under considerable
stress and has been used on-stage a few times without a single
issue.

Machine A and B are almost identical (two laptops from the same
vendor), Intel Core Duo 2GHz with windows XP, the only difference is
machine A has 1Gb RAM while B has 2Gb RAM. They both have shitty
integrated soundcards, and I have tested both with an external MOTU
Ultralite Firewire with the same results.

Now, since recently, on machine A the following happens:

I open the patch and it initially works, but as soon as I minimize the
patch window and maximize it again (or do a show desktop and then
focus back on the window, or anything like that), it starts doing
audio dropouts: a LOT of dropouts per second, and then it NEVER stops
doing dropouts even if I don't move the window any more, and even
when the patch is consuming less than 1% cpu (only playing the 500hz
sinewave I use to hear audio dropouts).

This happens even if I never load the samples (that is I don't resize
any table and the patch doesn't occupy more than 90Mb.

I have reproduced it even after reducing the patch to less than half
its size and removing all tables; however, the quantity of dropouts
seems to lower as the patch gets smaller, and when I leave only very
few objects in the patch I get no dropouts.

That's why I suspect it is somewhat related to memory usage.

This laptop doesn't have a led indicating disk read/write activity
(can you believe it? I'd like to see the face of the guy who designed
a laptop and DECIDED that a disk activity led is unnecessary) so I
cannot tell whether the system is swapping memory to/from disk when I
hear dropouts; however I don't think it can be swapping indefinitely
for several minutes while I'm doing nothing. I can see some memory
information in window's Task Manager but it's not very illuminating...

It may be reasonable to expect a few dropouts when you minimize and
maximize a window full of GUI when the same patch is producing the
sound, but the drop outs should stop after you stop playing around
with windows and even touching the mouse and keyboard!!
Also, it still happens after removing ALL gui things from the patch.

Is it possible that 1Gb of RAM is just too small for running such a
patch? Note that the patch only occupies around 90Mb in memory.

Also, It did work without dropouts in this same machine up to little
time ago, and I don't know what can have changed in my system. I had a
few troyans, but I got rid of all them.


Any ideas? I'm stuck.

Thanks in advance
m.

-- 
Matteo Sisti Sette
[EMAIL PROTECTED]
http://www.matteosistisette.com

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Trax - OS X Installation

2008-04-28 Thread Luigi Rensinghoff

Hi Rich

I know Linux is better ;-) especially for PD, but i am on a Macbook

There unfortunately is no makefile for oscbank, and the makefile for  
sdiflists seems not to work for me. The included binary neither...


But i found another oscbank in some extended distribution from svn or  
cvs


Too bad...

/Applications/01_AUDIO/Pd-extras/SMS/sdiflists.pd_darwin: dlopen(/ 
Applications/01_AUDIO/Pd-extras/SMS/sdiflists.pd_darwin, 10): Symbol  
not found: _SdifFReadAllASCIIChunks
  Referenced from: /Applications/01_AUDIO/Pd-extras/SMS/ 
sdiflists.pd_darwin

  Expected in: flat namespace

/Applications/01_AUDIO/Pd-extras/SMS/sdiflists.pd_darwin: dlopen(/ 
Applications/01_AUDIO/Pd-extras/SMS/sdiflists.pd_darwin, 10): Symbol  
not found: _SdifFReadAllASCIIChunks
  Referenced from: /Applications/01_AUDIO/Pd-extras/SMS/ 
sdiflists.pd_darwin

  Expected in: flat namespace

Thats the error i get when i try to load sdiflists (thats the one i  
compiled myself)



any idea ??

Thanks Luigi




Am 25.04.2008 um 05:34 schrieb Rich E:


www.teafordragons.com/rte/trax.html

This is a patch I've been working on for quite some time now, finally
packaged with some documentation and an example qlist with it.  Trax
is a fancy additive synthesizer that stores partials in data
structures and re-synthesizes them using [oscbank~].  It gets the
sinusoidal models from SDIF files with 1TRC frames, which have to be
imported with [sdiflists].  I'd like to know how well it works for
others, it makes great sounds on my Ubuntu laptop, although I had much
worse results on a Macbook.

You can get the externals from cvs or:
www.teafordragons.com/rte/software.html

I personall control Trax with a Wacom Intuos3, so there are mappings
programmed for it that get wacom data using [linuxevent].  *note: I
chose not to use [hid] because it is possible to call the wacom with
[linuxevent /dev/input/wacom], which is always symbolically linked to
the correct /dev/input/event*.  I couldn't ever get [hid] to do find
the wacom on its own, without specifying exactly which event number it
is on.

You can also listen to a couple pieces I wrote using Trax, which also
use other fun Pd stuff and recorded in Ardour:
www.teafordragons.com/rte/music.html

Now, on to SMS, Spectral Model Synthesis, that is..

cheers,
rich

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
listinfo/pd-list




---

Luigi Rensinghoff
[EMAIL PROTECTED]
skype:gigischinke
ichat:gigicarlo




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [shell] issue

2008-04-28 Thread Olivier Heinry
Le Mon, 28 Apr 2008 12:13:10 +0200,
Thomas Mayer [EMAIL PROTECTED] a écrit :

 Olivier Heinry wrote:
  hi,
  
  I've got this command line that flushes the disk cache on Linux 2.6.16 and 
  later that's very useful to clean big video files from RAM:
  
  sudo sync; sudo echo 1  /proc/sys/vm/drop_caches
 
  Any of you has an idea how to give a [sudo cmd( message to the [shell] 
  object and on-interactively give the sudo password?
 
 
 One way is to exclude these commands from needing the password via
 http://lists.debian.org/debian-user/2004/02/msg00656.html
 
 Another way is pipelining stdin:
 echo YOURPASSWORD|sudo sync; ...
 
 or for some real shell programming and using a textfile for stdin:
 http://www.tldp.org/LDP/abs/html/io-redirection.html
 
 cu Thomas

Thanks big brother, i've added it to Pdpedia tips and tricks

++
O.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Gem crash on Hardy

2008-04-28 Thread Kristofer Hagbard
Hi,

When I try to open any Gem window on Hardy 8.04
(or rather when i start rendering) it completely
locks up my whole system.

I use the latest auto build since it's the only
pd-extended that can be installed on hardy and since
I'd really like to try the pix_fiducialtrack.

Pd/Gem from the Ubuntu repositories works fine.


Anyone got a clue what could cause this?


best,

.kris


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem crash on Hardy

2008-04-28 Thread Olivier Heinry
Le Mon, 28 Apr 2008 14:31:50 +0200 (CEST),
Kristofer Hagbard [EMAIL PROTECTED] a écrit :

 Hi,
 
 When I try to open any Gem window on Hardy 8.04
 (or rather when i start rendering) it completely
 locks up my whole system.
 
 I use the latest auto build since it's the only
 pd-extended that can be installed on hardy and since
 I'd really like to try the pix_fiducialtrack.
 
 Pd/Gem from the Ubuntu repositories works fine.
 
 
 Anyone got a clue what could cause this?

Most likely you havent enabled the proprietary driver and/or the GL options in  
/etc/X11/xorg.conf 

 
 
 best,
 
 .kris
 
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem crash on Hardy

2008-04-28 Thread olsen wolf
hi olivier
if you're using ati/xorg you'd probably have to refer to this posting:
http://lists.puredata.info/pipermail/pd-list/2008-02/059833.html
greets
olsen


On Mon, Apr 28, 2008 at 2:51 PM, Olivier Heinry [EMAIL PROTECTED] wrote:
 Le Mon, 28 Apr 2008 14:31:50 +0200 (CEST),
  Kristofer Hagbard [EMAIL PROTECTED] a écrit :


   Hi,
  
   When I try to open any Gem window on Hardy 8.04
   (or rather when i start rendering) it completely
   locks up my whole system.
  
   I use the latest auto build since it's the only
   pd-extended that can be installed on hardy and since
   I'd really like to try the pix_fiducialtrack.
  
   Pd/Gem from the Ubuntu repositories works fine.
  
  
   Anyone got a clue what could cause this?

  Most likely you havent enabled the proprietary driver and/or the GL options 
 in  /etc/X11/xorg.conf



  
  
   best,
  
   .kris
  
  
   ___
   PD-list@iem.at mailing list
   UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list




-- 
Planet Pluto bleibt!

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pattern extraction/recognition

2008-04-28 Thread Frank Barknecht
Hallo,
Dr. Greg Wilder hat gesagt: // Dr. Greg Wilder wrote:

 Here are a few highly accomplished and respected authors on the subject. 
   Their research is a quick google away...
 
 Emilios Cambouropoulos
 Roger Dannenberg
 Pierre-Yves Rolland
 David Temperley

Also Robert Rowe's Machine Musicianship is a nice intro to this and
related topics.

Ciao
-- 
 Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem crash on Hardy

2008-04-28 Thread Kristofer Hagbard

Hi,

I don't think this is the problem, I have installed the proprietary
NVIDIA driver and hardware acceleration seems to work in other applications
(the screensavers run smoothly :) And also gem 0.90 works nicely with
pd vanilla 0.40.2. I have also turned off the compiz stuff.


Do you need some special settings in xorg.conf for gem 0.91 to work
in hardy?

best,

.kris

olsen wolf skrev:
 hi olivier
 if you're using ati/xorg you'd probably have to refer to this posting:
 http://lists.puredata.info/pipermail/pd-list/2008-02/059833.html
 greets
 olsen


 On Mon, Apr 28, 2008 at 2:51 PM, Olivier Heinry [EMAIL PROTECTED] wrote:
 Le Mon, 28 Apr 2008 14:31:50 +0200 (CEST),
  Kristofer Hagbard [EMAIL PROTECTED] a écrit :


   Hi,
  
   When I try to open any Gem window on Hardy 8.04
   (or rather when i start rendering) it completely
   locks up my whole system.
  
   I use the latest auto build since it's the only
   pd-extended that can be installed on hardy and since
   I'd really like to try the pix_fiducialtrack.
  
   Pd/Gem from the Ubuntu repositories works fine.
  
  
   Anyone got a clue what could cause this?

  Most likely you havent enabled the proprietary driver and/or the GL
 options in  /etc/X11/xorg.conf



  
  
   best,
  
   .kris
  
  
   ___
   PD-list@iem.at mailing list
   UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




 --
 Planet Pluto bleibt!




___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] pd and matlab

2008-04-28 Thread Damien Henry - Voxler
Hi list !

Does anyone as already used matlab to make externals ?

Cheers,
Damien.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Pd-0.40.3-extended-20080428 crashes when opening Preference/Path

2008-04-28 Thread Djého Youn
I'm on Intel Mac Book Pro 10.4.11.

The version I've downloaded is
Pd-0.40.3-extended-20080428-macosx104-i386.dmghttp://autobuild.puredata.info/auto-build/latest/Pd-0.40.3-extended-20080428-macosx104-i386.dmg
from
http://autobuild.puredata.info/auto-build/latest/

When I try to open the Preference window, it won't open at all or,
it opens but then I try to open Path window, it crashes immediately.

Before I had PD extended 0393 and never had such a problem.

I'm only two months old newbie, so it's possible that I miss some super
obvious stuff to correctly install and run this version of PD.

thanks!
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-0.40.3-extended-20080428 crashes when opening Preference/Path

2008-04-28 Thread Matthew Nish-Lapidus
Hi,

I actually found the same issue.  PD seems to run fine, but the Path
window crashes it every time.  0.39-extended still runs great.
0.41-vanilla runs fine as well, path window and all.

Matt.

On Mon, Apr 28, 2008 at 10:12 AM, Djého Youn [EMAIL PROTECTED] wrote:
 I'm on Intel Mac Book Pro 10.4.11.

 The version I've downloaded is
 Pd-0.40.3-extended-20080428-macosx104-i386.dmg
  from
 http://autobuild.puredata.info/auto-build/latest/

 When I try to open the Preference window, it won't open at all or,
 it opens but then I try to open Path window, it crashes immediately.

 Before I had PD extended 0393 and never had such a problem.

 I'm only two months old newbie, so it's possible that I miss some super
 obvious stuff to correctly install and run this version of PD.

  thanks!

 ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list





-- 
Matt Nish-Lapidus
work: [EMAIL PROTECTED] / www.bibliocommons.com
--
personal: [EMAIL PROTECTED]

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] help needed: Pd command line options on OSX

2008-04-28 Thread Nicholas Mariette
hi all,

I'm trying to start Pd from the OSX terminal with command line options.

For example,
/Applications/Pd-0.41-4.app/Contents/Resources/bin/pd -open /Users/ 
nick/Desktop/testpatch.pd

This successfully opens Pd, but ignores the options (ie, doesn't load  
the testpatch.pd)

I've tried it on OSX 10.5 and 10.4, with Pd basic and extended, all  
with no success.

How can I use command line options for Pd on OSX?

thanks,
Nick Mariette


LIMSI-CNRS, Orsay France

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] http, html and textfiles

2008-04-28 Thread wolfgang schwarzenbrunner
hello,

i am working on a little project in which websites are going to be 
parsed. well. i thought this might be a nice thing using the regex 
object from zexy... the only problem i am facing right now is that i 
have no idea how i could get a html file on my harddisk using pd 
(something like a http browsing object)...

any suggestions?

best
wolfgang



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] http, html and textfiles

2008-04-28 Thread Max Neupert
i'm having a déja-vu. check the thread in the archive:

Subject: Retrieving Text form a URL | Webpage


Am 29.04.2008 um 01:33 schrieb wolfgang schwarzenbrunner:

 hello,

 i am working on a little project in which websites are going to be
 parsed. well. i thought this might be a nice thing using the regex
 object from zexy... the only problem i am facing right now is that i
 have no idea how i could get a html file on my harddisk using pd
 (something like a http browsing object)...

 any suggestions?

 best
 wolfgang



 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] continuous dropouts in windows, probably memory issue

2008-04-28 Thread Hans-Christoph Steiner

In the Task Manager, under the Processes tab, you can get more  
detailed memory info by turning them on in Edit-Select Columns...   
You can get swap activity among other things.  Oops, assuming you are  
on Windows.  Which platform are you on.

If there is a heavy GUI, then there could be a problem with a lot of  
communication between the pd and pd-gui processes.

Also, this message is really long.  It's best to include a short  
summary at the top, then the lengthy details later.  More people will  
read the message then.

.hc

On Apr 28, 2008, at 6:31 AM, matteo sisti sette wrote:

 Hi,

 I have (as usual) an enormous patch... enormous in terms of quantity
 of abstractions, levels of nesting, and quantity of objects in each
 abstraction.

 Everything is carefully built in order not to waste CPU. All audio
 processing objects are swicthed on/off when needed, so that when
 everything is idle it is consuming 0% cpu; usually only few of the
 many existing objects are actually playing, so that I never get more
 than 20-30% cpu usage (on a 2.00GHz dual core, that is approx. 40-60%
 of a single 2GHz CPU), and only rarely that much.
 Also, I always avoid generating huge message trees that may cause
 audio dropouts.

 The patch occupies about 90Mb in RAM; when all the samples (audio
 files) are loaded, it occupies about 216Mb RAM.

 Now, all this used to work perfectly on machine A, and still works
 perfectly on machine B, where it has been tested under considerable
 stress and has been used on-stage a few times without a single
 issue.

 Machine A and B are almost identical (two laptops from the same
 vendor), Intel Core Duo 2GHz with windows XP, the only difference is
 machine A has 1Gb RAM while B has 2Gb RAM. They both have shitty
 integrated soundcards, and I have tested both with an external MOTU
 Ultralite Firewire with the same results.

 Now, since recently, on machine A the following happens:

 I open the patch and it initially works, but as soon as I minimize the
 patch window and maximize it again (or do a show desktop and then
 focus back on the window, or anything like that), it starts doing
 audio dropouts: a LOT of dropouts per second, and then it NEVER stops
 doing dropouts even if I don't move the window any more, and even
 when the patch is consuming less than 1% cpu (only playing the 500hz
 sinewave I use to hear audio dropouts).

 This happens even if I never load the samples (that is I don't resize
 any table and the patch doesn't occupy more than 90Mb.

 I have reproduced it even after reducing the patch to less than half
 its size and removing all tables; however, the quantity of dropouts
 seems to lower as the patch gets smaller, and when I leave only very
 few objects in the patch I get no dropouts.

 That's why I suspect it is somewhat related to memory usage.

 This laptop doesn't have a led indicating disk read/write activity
 (can you believe it? I'd like to see the face of the guy who designed
 a laptop and DECIDED that a disk activity led is unnecessary) so I
 cannot tell whether the system is swapping memory to/from disk when I
 hear dropouts; however I don't think it can be swapping indefinitely
 for several minutes while I'm doing nothing. I can see some memory
 information in window's Task Manager but it's not very illuminating...

 It may be reasonable to expect a few dropouts when you minimize and
 maximize a window full of GUI when the same patch is producing the
 sound, but the drop outs should stop after you stop playing around
 with windows and even touching the mouse and keyboard!!
 Also, it still happens after removing ALL gui things from the patch.

 Is it possible that 1Gb of RAM is just too small for running such a
 patch? Note that the patch only occupies around 90Mb in memory.

 Also, It did work without dropouts in this same machine up to little
 time ago, and I don't know what can have changed in my system. I had a
 few troyans, but I got rid of all them.


 Any ideas? I'm stuck.

 Thanks in advance
 m.

 -- 
 Matteo Sisti Sette
 [EMAIL PROTECTED]
 http://www.matteosistisette.com

 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list




 


 kill your television



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-0.40.3-extended-20080428 crashes when opening Preference/Path

2008-04-28 Thread Hans-Christoph Steiner

Yeah, I see it, I am pretty sure I am the culprit, I'll try to fix it  
today.  A bug report is always appreciated since it makes it much  
easier to keep track of the problem:

http://sourceforge.net/tracker/?group_id=55736atid=478070

.hc

On Apr 28, 2008, at 11:10 AM, Matthew Nish-Lapidus wrote:

 Hi,

 I actually found the same issue.  PD seems to run fine, but the Path
 window crashes it every time.  0.39-extended still runs great.
 0.41-vanilla runs fine as well, path window and all.

 Matt.

 On Mon, Apr 28, 2008 at 10:12 AM, Djého Youn [EMAIL PROTECTED] wrote:
 I'm on Intel Mac Book Pro 10.4.11.

 The version I've downloaded is
 Pd-0.40.3-extended-20080428-macosx104-i386.dmg
  from
 http://autobuild.puredata.info/auto-build/latest/

 When I try to open the Preference window, it won't open at all or,
 it opens but then I try to open Path window, it crashes immediately.

 Before I had PD extended 0393 and never had such a problem.

 I'm only two months old newbie, so it's possible that I miss some  
 super
 obvious stuff to correctly install and run this version of PD.

  thanks!

 ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list





 -- 
 Matt Nish-Lapidus
 work: [EMAIL PROTECTED] / www.bibliocommons.com
 --
 personal: [EMAIL PROTECTED]

 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list



 


The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] help needed: Pd command line options on OSX

2008-04-28 Thread Hans-Christoph Steiner


That is unfortunately a known bug.  You can add them instead to the  
startup flags field in the Startup preferences pane.  I use a  
custom preferences file for debugging:




org.puredata.pd.plist-debug
Description: Binary data



Remove the '-debug' and drop it into ~/Library/Preferences to use  
it.  You can edit it also with the Apple Property List Editor.


.hc

On Apr 28, 2008, at 11:01 AM, Nicholas Mariette wrote:


hi all,

I'm trying to start Pd from the OSX terminal with command line  
options.


For example,
/Applications/Pd-0.41-4.app/Contents/Resources/bin/pd -open /Users/
nick/Desktop/testpatch.pd

This successfully opens Pd, but ignores the options (ie, doesn't load
the testpatch.pd)

I've tried it on OSX 10.5 and 10.4, with Pd basic and extended, all
with no success.

How can I use command line options for Pd on OSX?

thanks,
Nick Mariette


LIMSI-CNRS, Orsay France

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
listinfo/pd-list




 



As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously. - Benjamin Franklin



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] http, html and textfiles

2008-04-28 Thread Frank Barknecht
Hallo,
wolfgang schwarzenbrunner hat gesagt: // wolfgang schwarzenbrunner wrote:

 i am working on a little project in which websites are going to be 
 parsed. well. i thought this might be a nice thing using the regex 
 object from zexy... the only problem i am facing right now is that i 
 have no idea how i could get a html file on my harddisk using pd 
 (something like a http browsing object)...
 
 any suggestions?

Yep: Don't use Pd for text processing.

Pd is good at many things, but it's not good at parsing and modifying
larger amounts of text. AFAIK there still is no garbage collection for
unused symbols (Pd's strings), it's overcomplicated to deal with
certain characters (backslashes, spaces, commas, ...) when they should
not be interpreted by Pd etc.

What I would recommend is to do your text processing in a different
language. Many (scripting) languages that are great with text can be
used inside of Pd: Lua, Python, Java, Scheme, etc. Most of these also
include or can be extended easily with nice web browsing tools (CURL,
Socket, system(wget) ...). In the end you can do both the browsing and
all processing in one place and then only need to feed the results over
to Pd in a format, Pd can handle with more elegance than it can handle
large amounts of text.

Of course it depends a bit on how complex your project is, so you may
get away with pure Pd as well, but IMO it's a better use of Pd to
externalize the text processing to a language better suited.

Ciao
-- 
Frank Barknecht

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem crash on Hardy

2008-04-28 Thread B. Bogart
FYI on all my machines I've seen freezes when rending with NVIDIA
proprietary drivers.

To make em stable I've had to add the following kernel options:

acpi=off noapm

then its stable.

Mind you, I've never seen this happen immediately, only after running X
for some time

worth a try...

I've not jumped to hardy yet, will be a couple months when my thesis is
done.

..b.

Kristofer Hagbard wrote:
 Hi,
 
 I don't think this is the problem, I have installed the proprietary
 NVIDIA driver and hardware acceleration seems to work in other applications
 (the screensavers run smoothly :) And also gem 0.90 works nicely with
 pd vanilla 0.40.2. I have also turned off the compiz stuff.
 
 
 Do you need some special settings in xorg.conf for gem 0.91 to work
 in hardy?
 
 best,
 
 .kris
 
 olsen wolf skrev:
 hi olivier
 if you're using ati/xorg you'd probably have to refer to this posting:
 http://lists.puredata.info/pipermail/pd-list/2008-02/059833.html
 greets
 olsen


 On Mon, Apr 28, 2008 at 2:51 PM, Olivier Heinry [EMAIL PROTECTED] wrote:
 Le Mon, 28 Apr 2008 14:31:50 +0200 (CEST),
  Kristofer Hagbard [EMAIL PROTECTED] a écrit :


   Hi,
  
   When I try to open any Gem window on Hardy 8.04
   (or rather when i start rendering) it completely
   locks up my whole system.
  
   I use the latest auto build since it's the only
   pd-extended that can be installed on hardy and since
   I'd really like to try the pix_fiducialtrack.
  
   Pd/Gem from the Ubuntu repositories works fine.
  
  
   Anyone got a clue what could cause this?

  Most likely you havent enabled the proprietary driver and/or the GL
 options in  /etc/X11/xorg.conf



  
  
   best,
  
   .kris
  
  
   ___
   PD-list@iem.at mailing list
   UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



 --
 Planet Pluto bleibt!

 
 
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] continuous dropouts in windows, probably memory issue

2008-04-28 Thread Matteo Sisti Sette
 In the Task Manager, under the Processes tab, you can get more
 detailed memory info by turning them on in Edit-Select Columns...
 You can get swap activity among other things.

Oh thanks, I'll try that out and let you know what I find out.

 Oops, assuming you are  on Windows.

Yes I am.


 If there is a heavy GUI, then there could be a problem with a lot of
 communication between the pd and pd-gui processes.

This is not the case. I eliminated all the GUI and the problem persists.
There is really nothing going on in the patch except the oscillator 
playing a 500Hz sinusoid.
Everything else is idle (I mean doing nothing) as far as it depends on me. 
Nothing is generating messages. Things are just there, and 
abstraction/subpatches containing dsp stuff are all switched off.
If PD is doing something it is doing it on its own initiative.


 Also, this message is really long.  It's best to include a short
 summary at the top, then the lengthy details later.  More people will
 read the message then.

Yes you're perfectly right.
Thanks for the advice.



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Trax - Sinusoidal Model Synthesis in Pure Data

2008-04-28 Thread Rich E
I think a wiimote would work great, but you would have to make sure to
interpolate the time-advancement (I do this for the wacom because it
is usb, although it is not as crucial).  The current frame being
synthesized by Trax is given by a timetag, which are about 10ms apart
at the original speed (although it can be faster or slower).   For
that matter, interpolating all the wii- parameters would probably make
things sound better.  As far as mappings, I have never used the wii,
so I don't know.  But you probably have to defined a fixed point for
the beginning and end of file, as well as interpolation.

 that opens really some doors to new sounds. Thanks very much.

Wait until I get libsms up and running in real-time... tons of doors,
all leading to different places.  There's lots of things I wanted to
do with Trax, but it just isn't feasible using pd's control structure
and the data structs alone, it seems much better to do the low-level
stuff it in C and use pd as a controller.  I don't like having to
graph everything using Tk either, so that part will probably be moved
to opengl somehow.  All in due time.

thanks for all the comments.  I'd love to hear if people are getting
it to work, having problems, making cool sounds, etc.

cheers,
rich

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Trax - Sinusoidal Model Synthesis in Pure Data

2008-04-28 Thread Andy Farnell
On Mon, 28 Apr 2008 11:32:18 -0700
Rich E [EMAIL PROTECTED] wrote:

 thanks for all the comments.  I'd love to hear if people are getting
 it to work, having problems, making cool sounds, etc.

Rich, I had a problem unpacking the source file .tar.gz on Linux.
I was going to grab from CVS when I'm not so busy, but just to
let you know.

a.

-- 
Use the source

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] multiple sound cards

2008-04-28 Thread Raphaël ILIAS
hi !

i just bought two cheap sound cards (Terratec Aureon 5.1 PCI) in addition to 
the default card on the mother board... i just want to get 6-mono input 
channels and 6 output channels into PD or jack... 
on the pure:dyne, when i set use multiple devices on OSS, i can hear the 
test tone on the cards' outputs... but i can capture the line-in signal only 
for the first one (the chipset card) but not for the new cards.
i have no idea if it's just about setting PD or if it's a driver problem (i 
just use linux so i don't really know how to configure things...)
if someone has ideas or knows tutorials...

thanks a lot

raphaël


__
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail ___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] multiple sound cards

2008-04-28 Thread Oded Ben-Tal
configuring multiple sound cards in linux will depend somewhat on which 
version you're using.
Here is some basic info for FC5 (as an example):

ccrma.stanford.edu/planetccrma/software/node5.html#SECTION00050800

My (meager) experience was that there might be issues with the order the 
cards are defined. My FC8 works fine as long as the USB card is the first 
(snd-card-0).
-- 
___
Oded Ben-Tal
http://ccrma.stanford.edu/~oded
[EMAIL PROTECTED]

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Data Structures

2008-04-28 Thread matohawk
Hello,
I have another question about Data Structures.
Why when we load a score with a message pd, like this :
;
pd-data read file.txt

the following message :

warning: pd-template-toplevel: multiply defined
warning: pd-template-element: multiply defined

displays in the console?

Using with Pd version 0.41-4
And Ubuntu Gutsy
See the example 4.data.stuctures/06.file.pd in the help files

Cheers Matohawk

http://matohawkitongroup.free.fr
http://aide.auditive.free.fr



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] BBcut for pd?

2008-04-28 Thread bigswift
Hi List!

Hope everyone is well, I am interested in incorporating something similar to 
BBCut, by Nick Collins into my pd audio suite and use it quite a bit in 
Supercollider. I know there is a opcode in Csound, but i was wondering if 
anyone has taken a crack at a BBCut object(s) yet for pure D.

cheers~


Patrick Pagano
Sound and Light Technologist
School of Theatre and Dance
University of Florida



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] BBcut for pd?

2008-04-28 Thread Hans-Christoph Steiner

I don't think most of us are SuperCollider users, so I think you'll  
have better luck if you describe what BBCut does.

.hc

On Apr 28, 2008, at 8:06 PM, [EMAIL PROTECTED] wrote:

 Hi List!

 Hope everyone is well, I am interested in incorporating something  
 similar to BBCut, by Nick Collins into my pd audio suite and use it  
 quite a bit in Supercollider. I know there is a opcode in Csound,  
 but i was wondering if anyone has taken a crack at a BBCut object 
 (s) yet for pure D.

 cheers~


 Patrick Pagano
 Sound and Light Technologist
 School of Theatre and Dance
 University of Florida



 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list




 


 kill your television



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list