Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry

hello,

in order to know if your driver suport hardware acceleration, you can try :

glxinfo | grep direct

if it says yes : then you have hardware acceleration, so gem should use it.

anyway, ubuntu do not distribute by default binary driver, so the opengl stuff 
is not very efficient.
i think you should install the binary driver (if compatible with your vision of 
open source)

once this is made, you should have good acceleration, and gem should use it.

well, i hope it help,
cyrille


Roman Haefeli a écrit :

hi all

i am trying to use gem, since i changed to ubuntu. i used gem before
successfully on windows on the same computer. but since i started
compiling gem myself on ubuntu dapper, i am not convinced by its
performance and i strongly believe that i am doing something wrong, or
anything on my computer is not optimized etc.

specs:
Pentium M 1.7GHz
Ati Radeon Mobility 9600
Ubuntu Dapper



Xorg 7.0.0
xorg-driver-fglrx 
gem from cvs (checked out today)

the output of './configure':
http://romanhaefeli.net/gem_configure.txt


why am i  thinking that gem is not working well on my computer?

the screensaver also does opengl stuff, that seems to be quite
complicated in my eyes and it does eat only a little of the cpu-power,
when running. also running the same gem-patches on windows seems to be
not only 2x-3x faster, but maybe 30-50 times. running fgl_glxgears gives
me values between 440 and 450 frames per second, which makes me assume,
that hardware accelerated opengl works on my computer.

you should have 10 time more with this card.


so i suspect gem
no to use any hardware acceleration at all and i wonder why. is there a
way to check, if gem uses hardware acceleration? if yes and if my gem is
_not_ using hardware acceleration, what do i need to do in order to make
gem use of it?



many thanks in advance

roman








___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



___
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] frequency shifter

2006-11-28 Thread hard off

works like a charm now.  ... and i think nearly everyone who posted in
this thread was hitting on some good idea.  the only one i didn't
follow up was the [hilbert~] one, and that was what i needed to
eliminate the need for the freqshift~ external.

cheers everyone.  now i can go on to part 2 of that tutorial and make
some snare drums using different methods.

(revised patch attached to this mail)


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


[PD] extended autobuild linux missing

2006-11-28 Thread Max Neupert

http://at.or.at/hans/pd/installers.html

is pointing to

http://autobuild.puredata.info/auto-build/2006-09-28/

which is non exsistant.



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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi cyrill

thanks for replying

On Mon, 2006-11-27 at 20:10 +0100, cyrille henry wrote:
 hello,
 
 in order to know if your driver suport hardware acceleration, you can try :
 
 glxinfo | grep direct

it says:

'direct rendering: Yes'

 if it says yes : then you have hardware acceleration, so gem should use it.
 
 anyway, ubuntu do not distribute by default binary driver, so the opengl 
 stuff is not very efficient.
 i think you should install the binary driver (if compatible with your vision 
 of open source)

i know, that is why i installed the proprietary/binary fglrx-driver.

 once this is made, you should have good acceleration, and gem should use it.
 
it still think, that i have 'good' acceleration. for example i can run
opengl based games like armagetron in fullscreen mode without any
performance problems. also does xscreensaver run without using much cpu
in fullscreen mode. i tried once to build something with a similar
number of polygons like one of the screensaver animations in gem, but at
least when i switch to fullscreen mode, my cpu goes to 100% and the
framerate dramatically drops down to 5 frames per second or slower.
because of this behaviour, i believe that gem is the only opengl based
software on my computer, that does *not* use hardware acceleration,
whereas it seems that other programs do. unfortunately i still don't
know a reliable way to make sure, whether gem uses hardware acceleration
or not,  besides comparing its performance with other software.

my problem in other words:
how can i make sure at compile time, that gem is compiled so, that it
uses hardware acceleration afterwards?

and i am still hoping to hear some succes stories

roman




 well, i hope it help,
 cyrille
 
 
 Roman Haefeli a écrit :
  hi all
  
  i am trying to use gem, since i changed to ubuntu. i used gem before
  successfully on windows on the same computer. but since i started
  compiling gem myself on ubuntu dapper, i am not convinced by its
  performance and i strongly believe that i am doing something wrong, or
  anything on my computer is not optimized etc.
  
  specs:
  Pentium M 1.7GHz
  Ati Radeon Mobility 9600
  Ubuntu Dapper
 
  Xorg 7.0.0
  xorg-driver-fglrx 
  gem from cvs (checked out today)
  the output of './configure':
  http://romanhaefeli.net/gem_configure.txt
  
  
  why am i  thinking that gem is not working well on my computer?
  
  the screensaver also does opengl stuff, that seems to be quite
  complicated in my eyes and it does eat only a little of the cpu-power,
  when running. also running the same gem-patches on windows seems to be
  not only 2x-3x faster, but maybe 30-50 times. running fgl_glxgears gives
  me values between 440 and 450 frames per second, which makes me assume,
  that hardware accelerated opengl works on my computer.
 you should have 10 time more with this card.
 
  so i suspect gem
  no to use any hardware acceleration at all and i wonder why. is there a
  way to check, if gem uses hardware acceleration? if yes and if my gem is
  _not_ using hardware acceleration, what do i need to do in order to make
  gem use of it?
  
  
  
  many thanks in advance
  
  roman
  
  
  
  
  
  
  
  
  ___ 
  Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
  
  
  ___
  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






___ 
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


re: [PD] Calling a Dos Batch script

2006-11-28 Thread adam armfield
I am trying to get pd to call up a dos batch script
that includes CDP (Composers Desktop Project)
commands.  I know the shell object works on the unix
side, but is there a windows equivilent?  Many thanks
in advance!
-

hi Paul:

i think a friend of mine glued pd to a windows app
using some perl... also, i think the cdp is largely a
collection of one guys algorithims, so these might
have been ported to a *nix system too, if this is any
help ;-)

all the best

adam


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Mon, 2006-11-27 at 20:10 +0100, cyrille henry wrote:

 Roman Haefeli a écrit :

  running fgl_glxgears gives
  me values between 440 and 450 frames per second, which makes me assume,
  that hardware accelerated opengl works on my computer.

 you should have 10 time more with this card.

no, i don't think so. it makes a difference between running fgl_glxgears
and the 'normal' glxgears, since the former is much more complex than
the latter. also it depends on the window size you are rendering at (and
if the window is (partially) hidden by another window etc.). 

values on my computer (with original window size):

glxgears -printfps: ~2200
fgl_glxgears:   ~450

i know, that this is not a serious way of benchmarking, but at least
these values make me believe, that hardware acceleration works. or am i
wrong?

roman









___ 
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry



Roman Haefeli a écrit :

On Mon, 2006-11-27 at 20:10 +0100, cyrille henry wrote:


Roman Haefeli a écrit :


running fgl_glxgears gives
me values between 440 and 450 frames per second, which makes me assume,
that hardware accelerated opengl works on my computer.



you should have 10 time more with this card.


no, i don't think so. it makes a difference between running fgl_glxgears
and the 'normal' glxgears, since the former is much more complex than
the latter. also it depends on the window size you are rendering at (and
if the window is (partially) hidden by another window etc.). 


values on my computer (with original window size):

glxgears -printfps: ~2200
fgl_glxgears:   ~450

ok, i did not know that fgl_glxgears was more complex than  glxgears.
this looks ok.


i know, that this is not a serious way of benchmarking, but at least
these values make me believe, that hardware acceleration works. or am i
wrong?

my glxgears -printfps gives me 60, but i have direct rendering!
(rendering is sync to the screen flip)

your acceleration work because  glxinfo | grep direct says: 'direct rendering: 
Yes'

cyrille



roman









___ 
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de





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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi cyrille

thank you very much for your fast reply

On Tue, 2006-11-28 at 13:04 +0100, cyrille henry wrote:

 anyway,
 on my computer, when i create a gem window, i'v got this on the pd log :
 
 
 Direct Rendering enabled!
 GEM: Start rendering

now, we are getting closer to the problem. when i send a message
[create( to [gemwin], i only get:

GEM: Start rendering

there is no 'Direct Rendering enabled!' message in my pd window. thank
you a lot for that hint. now i can be sure, that my gem does *not* use
hardware acceleration. 

to the devs
i think it would be helpful, if gem would also print a message, when
direct rendering is not used, according to the unix manner, that
something is printed, when it doesn't behave as expected, since - i
assume - most people use gem *with* hardware acceleration.
/to the devs

 
 your ./configure output look ok for me.

thank you for checking this.

 can you double check that you have all fglrx-dev package etc..

i only find 'xorg-driver-fglrx-dev' and 'fglrx-kernel-source', which
both are installed. 

i once installed 3dp, which also uses dri, if dri is enabled. and with
3dp it seems to work fine. i once posted a patch, that does the same
thing twice: three white cubes that can be rotated with the mouse, once
built in gem, once in 3dp. the 3dp version doesn't cause any cpu peaks,
whereas the gem version does.

(there is a thread on this: 
http://lists.puredata.info/pipermail/pd-list/2006-10/043168.html . when
you want to download the patch, use the one from:
http://lists.puredata.info/pipermail/pd-list/2006-10/043177.html )

the fact, that the selfcompiled 3dp seems to use dri, makes me think,
that i have all necessary packages installed, but i might be wrong. i
stil wonder, why gem does not use it.


 sorry, can't help more

you helped me already a lot :-) . thank you.


roman





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] playing video+sound with Gem

2006-11-28 Thread sven

sven,
why do you need to know the framerate? i think actually just the kHz  
rate of the sample needs to be known. then if sample and video have  
the same length and you have the total number of frames... just  
devide them with the total of samples and you will know which frame  
goes with which sample, or not?
no dead_chicken.txt in the end?

i've tested that with gem already a while ago and sometimes i got the wrong 
number of frames.
never really investigated why gem would report wrong number of frames.
and how to get the samplerate info of an audio file?
i'm sure there could be a way that doesn't need the extra info but i prefer 
flexibility / reliability
and besides audio / videoinfos the extra file can also be used to store a lot 
more meta
information that can be useful sooner or later. this of course depends on what 
you want
to do.
anyway the method above always works / worked for me so i didn't really bother 
to invest
more time to eliminate the need for the chicken.

sven. 


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


[PD] GRiPD and shell don't play well together

2006-11-28 Thread John Harrison
When I run pd with GRiPD library loaded, the shell external doesn't ever 
finish and a couple of calls to it eventually completely hang Pd. This 
is without the GRiPD library actually doing anything...just loaded. The 
GRiPD library seems to play well with other externals and the shell 
external works fine with everything except GRiPD.


I am hoping this is an easy fix in the shell source code, as I can't 
seem to successfully build the GRiPD module so I am using the ancient 
.pd_linux binary included with its source code. I know the GRiPD is no 
longer maintained, but it happens to be perfect for our project so at 
least in the short term it makes sense for us to use.


-John


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


Re: [PD] extended autobuild linux missing

2006-11-28 Thread Hans-Christoph Steiner


Thanks, I changed it.

.hc

On Nov 28, 2006, at 6:07 AM, Max Neupert wrote:


http://at.or.at/hans/pd/installers.html

is pointing to

http://autobuild.puredata.info/auto-build/2006-09-28/

which is non exsistant.



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





Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war  
on terrorism.- retired U.S. Army general, William Odom




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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Chris McCormick
 Roman Haefeli a écrit :
 it still think, that i have 'good' acceleration. for example i can run
 opengl based games like armagetron in fullscreen mode without any
 
 it says:
 
 'direct rendering: Yes'

On Tue, Nov 28, 2006 at 01:04:40PM +0100, cyrille henry wrote:
 anyway,
 on my computer, when i create a gem window, i'v got this on the pd log :
 
 Direct Rendering enabled!
 GEM: Start rendering

Roman,

It might be that GEM is using different versions of the GL libraries.
Try this I guess:

ldd /usr/lib/pd/extra/Gem.pd_linux

and do the same for glxgears, and see if they're using the same libs.

Chris.

---
[EMAIL PROTECTED]
http://mccormick.cx

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


Re: [PD] up-down saw-wave

2006-11-28 Thread Federico
Hans-Christoph Steiner ha scritto:
 
 On Nov 20, 2006, at 10:37 PM, Chris McCormick wrote:
 
 On Sun, Nov 19, 2006 at 03:40:51PM -0500, Hans-Christoph Steiner wrote:

 On Nov 19, 2006, at 11:19 AM, derek holzer wrote:

 hard off wrote:
 ah thanks.  a triangle oscillator is exactly what i need. cheers.

 Keep in mind that none of these are anti-aliased AFAIK, so you
 could easily get aliased harmonic frequencies. There's a few
 threads in the archive about avoiding this. My personal solution is
 to use [plugin~] with the BLOP LADSPA oscillator plugins.

 I wonder how hard it would be to implement the BLOP LADSPA algorithm
 in Pd, so that there would be native anti-aliased oscilators.  Its
 something that Pd sorely needs.

 I am a big fan of these ones, by Günter:

 http://lists.puredata.info/pipermail/pd-list/2006-05/038681.html
 
 There are so many great patches posted to this list, there should be a
 better way to search the list for patches.  Any perl, python, etc master
 want to write a script to pull out all of the patches from the list
 archives?  That would be amazing.

http://lists.puredata.info/pipermail/pd-list/attachments/

?

well, pulling that url with wget -r (apart of generating a LOT of
traffic) would result in a big mess of unordered attachments
but at least it is a start

-- 
Federico

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


[PD] osc~ / phasor~ / cos~ ...sometimes clicking

2006-11-28 Thread hard off

has anybody else experienced small clicks every now and then from pd's
oscillators?

i have noticed it before with [phasor~], and today i was getting it
pretty badly with [cos~]..about 1 click every 10 seconds.

this is nothing to do with the contents of the patch, because just a
[cos~] connected to a [dac~] was making the same thing happen.
...it's nothing to do with dac~ or my sound hardware either, because
disconnecting the [cos~] from the [dac~] stopped the clicks.

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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi chris

On Tue, 2006-11-28 at 22:29 +0800, Chris McCormick wrote:
  Roman Haefeli a écrit :
  it still think, that i have 'good' acceleration. for example i can run
  opengl based games like armagetron in fullscreen mode without any
  
  it says:
  
  'direct rendering: Yes'
 
 On Tue, Nov 28, 2006 at 01:04:40PM +0100, cyrille henry wrote:
  anyway,
  on my computer, when i create a gem window, i'v got this on the pd log :
  
  Direct Rendering enabled!
  GEM: Start rendering
 
 Roman,
 
 It might be that GEM is using different versions of the GL libraries.
 Try this I guess:
 
 ldd /usr/lib/pd/extra/Gem.pd_linux
 
 and do the same for glxgears, and see if they're using the same libs.

thank you much for that tip.

i think i need help on interprating those outputs. i have posted them
here:

http://www.romanhaefeli.net/ldd_gem.txt
http://www.romanhaefeli.net/ldd_glxgears.txt
http://www.romanhaefeli.net/ldd_3dp.txt

i found, that libglut is not linked in gem, but it is in glxgears and in
3dp. is that a sign, that gem is not using dri?

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] osc~ / phasor~ / cos~ ...sometimes clicking

2006-11-28 Thread Roman Haefeli
hi hardoff

i would make sure, that these clicks are not dropouts. i mean, you won't
hear dropouts without sending an audible signal to [dac~], so just
disconnecting the [osc~], so that you hear no clicks anymore,  is not a
prove, that you do not have dropouts. 

i don't know if it works on every platform, at least here on linux, when
running pd with jack, the [DIO] button in the pd-window indicates
dropouts. 

if you still believe, that the [phasor~]-[cos~] combo is causing the
clicks, you could record the output with [writesf~] and open the
recorded wavefile with a soundeditor to see, if you can find the clicks.
if you find clicks in the soundfile, then something really scary is
going on :-)

roman


On Wed, 2006-11-29 at 00:01 +0900, hard off wrote:
 has anybody else experienced small clicks every now and then from pd's
 oscillators?
 
 i have noticed it before with [phasor~], and today i was getting it
 pretty badly with [cos~]..about 1 click every 10 seconds.
 
 this is nothing to do with the contents of the patch, because just a
 [cos~] connected to a [dac~] was making the same thing happen.
 ...it's nothing to do with dac~ or my sound hardware either, because
 disconnecting the [cos~] from the [dac~] stopped the clicks.
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] osc~ / phasor~ / cos~ ...sometimes clicking

2006-11-28 Thread padawan12

There's a subtle error in your diagnostic procedure. Because disconnecting
[cos~] or [phasor~] causes the click to vanish it doesn't imply strongly
that [cos~] or [phasor~] are the sorce of the problem. :)

Try it with a [sig~ 1] and tell me what you get.

On Wed, 29 Nov 2006 00:01:50 +0900
hard off [EMAIL PROTECTED] wrote:

 has anybody else experienced small clicks every now and then from pd's
 oscillators?
 
 i have noticed it before with [phasor~], and today i was getting it
 pretty badly with [cos~]..about 1 click every 10 seconds.
 
 this is nothing to do with the contents of the patch, because just a
 [cos~] connected to a [dac~] was making the same thing happen.
 ...it's nothing to do with dac~ or my sound hardware either, because
 disconnecting the [cos~] from the [dac~] stopped the clicks.
 
 ___
 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] reverse variable speed soundplayback?

2006-11-28 Thread Max Neupert

working version:
sorry.



easysampler.pd
Description: Binary data



Am 28.11.2006 um 11:32 schrieb Max Neupert:


hmm. this could fit in this thread
i would like some pros to look at this patch to give me some grumpy  
feedback.

thank you.

easysampler.pd


Am 28.11.2006 um 03:56 schrieb robbert van hulzen:
i'm not really in a hurry at this point, so i'll continue poking  
around in
what i have for the moment, but since the hurry will be getting on  
in about
a week or so, i'm glad to know about your [play-samp~]. i actually  
know it
(almost it) from your slicer~abs, and it looks like it'll be great  
to use as

an example too. thanks.
robbert


Hallo,
robbert van hulzen hat gesagt: // robbert van hulzen wrote:

a good start indeed... still working on it, trying to figure it  
out.

thanks!


If you're in a hurry: RTC-lib (update just announced) contains a
simple sample player called play-samp~.pd which does reversed and
looped playback of tables holding 44.1kHz samples. [samp10~] is the
polyphonic version of it. The only external used is [arraysize],  
basic

playback in one direction, non-looped even works without that.


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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi chris


On Tue, 2006-11-28 at 10:02 -0600, chris clepper wrote:
 On 11/28/06, Roman Haefeli [EMAIL PROTECTED] wrote:
 
 i found, that libglut is not linked in gem, but it is in
 glxgears and in
 3dp. is that a sign, that gem is not using dri?
 
 No.  GLUT is a toolkit for making simple OpenGL applications.  GEM
 uses glx directly.  Perhaps your X11 is not set to a compatible pixel
 format? 

how can i change to a compatible pixel format? by editng xorg.conf?

  I think that is what causes glXIsDirect to return false (and triggers
 that message in GEM).

what is 'glXIsDirect' ? where did you see that? which message in GEM ? 

forgive me my slow understanding and thanks a lot for your help.

roman







___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Tue, 2006-11-28 at 17:21 +0100, cyrille henry wrote:

 the main diference i see with yours is that mine got :
  libGLcore.so.1 = /usr/lib/libGLcore.so.1 (0xb6df8000)
  libnvidia-tls.so.1 = /usr/lib/tls/libnvidia-tls.so.1 (0xb6df6000)

i don't know what libGLcore.so.1 is for, but this seems to be
interesting. i think i don't have the other one, because i have an ati
card (with fglrx driver) and not a one from nvidia. 


   http://www.romanhaefeli.net/ldd_gem.txt
   http://www.romanhaefeli.net/ldd_glxgears.txt
   http://www.romanhaefeli.net/ldd_3dp.txt
  
   i found, that libglut is not linked in gem, but it is in glxgears and in
   3dp. is that a sign, that gem is not using dri?
 no, i don't think so : gem does not use it here.

i see

thank you

roman



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Tue, 2006-11-28 at 10:39 -0600, chris clepper wrote:
 On 11/28/06, Roman Haefeli [EMAIL PROTECTED] wrote:
 how can i change to a compatible pixel format? by editng
 xorg.conf?
 
 I haven't used xorg but probably that conf file has the info on pixel
 depth.

the pixel default depth on my computer is 24 , at least that is what my
xorg.conf tells me.

   I think that is what causes glXIsDirect to return false
 (and triggers
  that message in GEM).

i am confused. i didn't mention 'glxIsDirect', also i don't have it
installed. where did you read, that it is returning 'false' on my
computer? 

 glXIsDirect checks that the GL can be drawn directly to the screen and
 not be touched by the x11 server.

 http://www.csee.umbc.edu/help/C
 ++/opengl/man_pages/html/glx/xisdirect.html

thank you for the link


roman







___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry



chris clepper a écrit :
On 11/28/06, *Roman Haefeli* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


how can i change to a compatible pixel format? by editng xorg.conf?


I haven't used xorg but probably that conf file has the info on pixel depth.

yes, the default ubuntu xorg.conf is set to 16bit depth buffer.
i usually change it to 24 for better gem performances, but it usually work with 
the default config.

you can try changing the DefaultDepth from 16 to 24 in your xorg.

cyrille




   I think that is what causes glXIsDirect to return false (and
triggers
  that message in GEM).

what is 'glXIsDirect' ? where did you see that? which message in GEM ?

forgive me my slow understanding and thanks a lot for your help. 



glXIsDirect checks that the GL can be drawn directly to the screen and 
not be touched by the x11 server. 


http://www.csee.umbc.edu/help/C++/opengl/man_pages/html/glx/xisdirect.html







___
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] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Tue, 2006-11-28 at 17:21 +0100, cyrille henry wrote:

 
 the main diference i see with yours is that mine got :
  libGLcore.so.1 = /usr/lib/libGLcore.so.1 (0xb6df8000)


is it necessary, that Gem.pd_linux is linked against libGLcore.so ? is
that the reason, why i don't have dri enabled in gem? i've been
desperately trying to find some info about libGLcore.so, but couldn't
find anything usefull. 

i am still tapping in the dark.. :-(

roman



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] osc~ / phasor~ / cos~ ...sometimes clicking

2006-11-28 Thread day 5
Consider that digital audio is represented simply as instantaneous 
pressure values for the speaker membrane. This problem is actually 
quite common when you change from a positive or negative pressure value 
to a null crossing in the space of one sample.


The solution is to use some kind of envelope generator scaling before 
passing your audio output to the [dac~].



./d5

On Nov 28, 2006, at 9:01 AM, hard off wrote:


has anybody else experienced small clicks every now and then from pd's
oscillators?

i have noticed it before with [phasor~], and today i was getting it
pretty badly with [cos~]..about 1 click every 10 seconds.

this is nothing to do with the contents of the patch, because just a
[cos~] connected to a [dac~] was making the same thing happen.
...it's nothing to do with dac~ or my sound hardware either, because
disconnecting the [cos~] from the [dac~] stopped the clicks.

___
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] reverse variable speed soundplayback?

2006-11-28 Thread Max Neupert


dear hcs,

i've changed it according to your suggestions. there is no play  
button because it should play right when you opened a sample. i  
suggest one wich is 1-5 seconds long with 44.1 kHz. if the rate is  
different then set it.
the ftos object is used. i don't know wich library this is and how i  
should avoid it, some people apparently don't have it.
i haven't tone very much in the audio domain and i would be happy to  
hear thinks like it should not be done like this because of ...  
rather use ... it will be better because ...

thank you.



easysampler.pd
Description: Binary data



Am 28.11.2006 um 22:07 schrieb Hans-Christoph Steiner:



A couple comments:

- hiding the implementation in a subpatch would make the interface  
elements much clearer.

- adding english translations would help the non-German speakers
- I couldn't find the play button

.hc

On Nov 28, 2006, at 11:04 AM, Max Neupert wrote:


working version:
sorry.

easysampler.pd


Am 28.11.2006 um 11:32 schrieb Max Neupert:


hmm. this could fit in this thread
i would like some pros to look at this patch to give me some  
grumpy feedback.

thank you.

easysampler.pd


Am 28.11.2006 um 03:56 schrieb robbert van hulzen:
i'm not really in a hurry at this point, so i'll continue poking  
around in
what i have for the moment, but since the hurry will be getting  
on in about
a week or so, i'm glad to know about your [play-samp~]. i  
actually know it
(almost it) from your slicer~abs, and it looks like it'll be  
great to use as

an example too. thanks.
robbert


Hallo,
robbert van hulzen hat gesagt: // robbert van hulzen wrote:

a good start indeed... still working on it, trying to figure  
it out.

thanks!


If you're in a hurry: RTC-lib (update just announced) contains a
simple sample player called play-samp~.pd which does reversed and
looped playback of tables holding 44.1kHz samples. [samp10~] is  
the
polyphonic version of it. The only external used is  
[arraysize], basic

playback in one direction, non-looped even works without that.


___
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] osc~ / phasor~ / cos~ ...sometimes clicking

2006-11-28 Thread David Powers

Clicks are most often CPU / buffer related problems, however. On my
laptop, for instance, I have to disable the wireless card if I want to
use even a very simple PD patch and not get clicks, for example. I
have to disable it for using other audio apps, also - but the problems
in PD are always more severe than any other audio program.

~David

On 11/28/06, day 5 [EMAIL PROTECTED] wrote:

Consider that digital audio is represented simply as instantaneous
pressure values for the speaker membrane. This problem is actually
quite common when you change from a positive or negative pressure value
to a null crossing in the space of one sample.

The solution is to use some kind of envelope generator scaling before
passing your audio output to the [dac~].


./d5

On Nov 28, 2006, at 9:01 AM, hard off wrote:

 has anybody else experienced small clicks every now and then from pd's
 oscillators?

 i have noticed it before with [phasor~], and today i was getting it
 pretty badly with [cos~]..about 1 click every 10 seconds.

 this is nothing to do with the contents of the patch, because just a
 [cos~] connected to a [dac~] was making the same thing happen.
 ...it's nothing to do with dac~ or my sound hardware either, because
 disconnecting the [cos~] from the [dac~] stopped the clicks.

 ___
 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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Ubuntu and puredata: why just one release?

2006-11-28 Thread Javier García

Hi.

I have installed ubuntu 6.06 3 days ago I have just noticed the way to 
install apps. Just Apps- Add and delete ...


Yes, im happy, i have found puredata, but what is the reason to not add more 
releases to install? Or it just depend on the ubuntu development team?


Im just corious...

_
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros. 
http://astrocentro.msn.es/



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


[PD] Linux, G4 PPC: what GEM release should i install?

2006-11-28 Thread Javier García

Hi,

Is not enough clearfor me what release of GEM should i download for a G4 PPC 
with ubuntu 6.06


Can someone help me?

_
Descubre la descarga digital con MSN Music. Más de un millón de canciones. 
http://music.msn.es/



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


[PD] Re: invisible py object on Windows

2006-11-28 Thread Thomas Grill



chris clepper schrieb:
The workaround is to bury the object down tow subpatches and it 
magically appears.
Wow. You mean the py external is invisible in root patches, but visible 
in subpatches? What about abstractions?

I never really was able to reproduce the behaviour...
greetings,
Thomas


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


Re: [PD] GRiPD and shell don't play well together

2006-11-28 Thread David Powers

On 11/28/06, John Harrison [EMAIL PROTECTED] wrote:

I know the GRiPD is no
longer maintained, but it happens to be perfect for our project so at
least in the short term it makes sense for us to use.


Just out of curiousity, why did this project die? It seems to be one
of the most promising/interesting approaches I've seen to using PD.
Especially because of the severe problems that PD Gui objects
currently cause in terms of hogging CPU...

Although, admittedly it might be just as easy to run PD without the
GUI and send OSC messages with an interface built in (insert program
of choice). Is that why it's obsolete? I've been meaning to try this
approach but haven't yet had the chance.

In fact, generally I've been so busy doing web design + day job +
putting out my first techno releases, I haven't had any PD time, but
I'm dying to get back to a bit of PD work... Especially because I'm
hoping to do some installations next year.

~David

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


Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread chris clepper

On 11/28/06, Roman Haefeli [EMAIL PROTECTED] wrote:



i found, that libglut is not linked in gem, but it is in glxgears and in
3dp. is that a sign, that gem is not using dri?



No.  GLUT is a toolkit for making simple OpenGL applications.  GEM uses glx
directly.  Perhaps your X11 is not set to a compatible pixel format?  I
think that is what causes glXIsDirect to return false (and triggers that
message in GEM).  24 bit and 8 bit are supported in the glx code in CVS.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] rfid and puredata

2006-11-28 Thread yukio kuroiwa
hi people, i want to work in a project using rfid and puredata ... Do
anybody know if somebody has made something with rfid and puredata?
many thanx

yuk
-- 
  yukio kuroiwa
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - And now for something completely different…


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


[PD] invisible py object on Windows

2006-11-28 Thread chris clepper

I have two machines with the same Miller Pd 0.39, Python 2.4.2 and
py.dllfrom the
0.38 extended release, but on one machine the py object is not drawn in the
patch window!  The .pd file does have a listing for the py object and the py
object can be patched.  I found an email from about a year ago where Thomas
said this was  due to an old version of py/pyext.  Since all I did was copy
the Pd files from one machine to another, I don't know what the difference
could be.  Am I missing a DLL or something on the one Windows machine?
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Re: invisible py object on Windows

2006-11-28 Thread chris clepper

On 11/28/06, Thomas Grill [EMAIL PROTECTED] wrote:




chris clepper schrieb:
 The workaround is to bury the object down tow subpatches and it
 magically appears.
Wow. You mean the py external is invisible in root patches, but visible
in subpatches? What about abstractions?



Exactly the case - subpatches display the object but the top level patch
does not.  I haven't tried an abstraction yet.  If the abstraction works I
coudl simply roll one around the py object I suppose.  I only use it in
abstractions for actual work, the problem only happened with simple test
patches.

I never really was able to reproduce the behaviour...


The binaries for everything are identical between machines so I have no idea
what is the variable causing the invisible object.

greetings,

Thomas


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


Re: [PD] Linux, G4 PPC: what GEM release should i install?

2006-11-28 Thread Hans-Christoph Steiner


The debian-testing-powerpc one should work fine.  Debian/testing and  
Ubuntu/dapper are really, really close.


.hc

On Nov 28, 2006, at 5:01 PM, Javier García wrote:


Hi,

Is not enough clearfor me what release of GEM should i download for  
a G4 PPC with ubuntu 6.06


Can someone help me?

_
Descubre la descarga digital con MSN Music. Más de un millón de  
canciones. http://music.msn.es/



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





  ¡El pueblo unido jamás será vencido!



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


Re: [PD] Ubuntu and puredata: why just one release?

2006-11-28 Thread Hans-Christoph Steiner



Basically, its just a matter of someone doing the work. I don't think  
anyone wants to limit Pd's distribution.


.hc

On Nov 28, 2006, at 4:45 PM, Javier García wrote:


Hi.

I have installed ubuntu 6.06 3 days ago I have just noticed the way  
to install apps. Just Apps- Add and delete ...


Yes, im happy, i have found puredata, but what is the reason to not  
add more releases to install? Or it just depend on the ubuntu  
development team?


Im just corious...

_
Horóscopo, tarot, numerología... Escucha lo que te dicen los  
astros. http://astrocentro.msn.es/



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





If nature has made any one thing less susceptible than all others of  
exclusive property, it is the action of the thinking power called an  
idea, which an individual may exclusively possess as long as he keeps  
it to himself; but the moment it is divulged, it forces itself into  
the possession of everyone, and the receiver cannot dispossess  
himself of it.- Thomas Jefferson




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


Re: [PD] reverse variable speed soundplayback?

2006-11-28 Thread Hans-Christoph Steiner


Here's a minor tweak to get it working, and a handy [pddp/dsp] to  
control the DSP


easysampler.pd
Description: Binary data

.hc

On Nov 28, 2006, at 3:38 PM, Max Neupert wrote:



dear hcs,

i've changed it according to your suggestions. there is no play  
button because it should play right when you opened a sample. i  
suggest one wich is 1-5 seconds long with 44.1 kHz. if the rate is  
different then set it.
the ftos object is used. i don't know wich library this is and how  
i should avoid it, some people apparently don't have it.
i haven't tone very much in the audio domain and i would be happy  
to hear thinks like it should not be done like this because of ...  
rather use ... it will be better because ...

thank you.

easysampler.pd


Am 28.11.2006 um 22:07 schrieb Hans-Christoph Steiner:



A couple comments:

- hiding the implementation in a subpatch would make the interface  
elements much clearer.

- adding english translations would help the non-German speakers
- I couldn't find the play button

.hc

On Nov 28, 2006, at 11:04 AM, Max Neupert wrote:


working version:
sorry.

easysampler.pd


Am 28.11.2006 um 11:32 schrieb Max Neupert:


hmm. this could fit in this thread
i would like some pros to look at this patch to give me some  
grumpy feedback.

thank you.

easysampler.pd


Am 28.11.2006 um 03:56 schrieb robbert van hulzen:
i'm not really in a hurry at this point, so i'll continue  
poking around in
what i have for the moment, but since the hurry will be getting  
on in about
a week or so, i'm glad to know about your [play-samp~]. i  
actually know it
(almost it) from your slicer~abs, and it looks like it'll be  
great to use as

an example too. thanks.
robbert


Hallo,
robbert van hulzen hat gesagt: // robbert van hulzen wrote:

a good start indeed... still working on it, trying to figure  
it out.

thanks!


If you're in a hurry: RTC-lib (update just announced) contains a
simple sample player called play-samp~.pd which does reversed and
looped playback of tables holding 44.1kHz samples. [samp10~]  
is the
polyphonic version of it. The only external used is  
[arraysize], basic

playback in one direction, non-looped even works without that.


___
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









Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.-William Carlos Williams



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