[PD] listing all available objects

2011-03-09 Thread ronald kuivila

Hi,

 I am working on OSX, using the plain vanilla version of PD-0.42-6.

 I can find a listing of objects by ctrl clicking a patcher window,  
but it does not list everything.
(For example, "expr" is not mentioned.)  Is there any easy way to get  
a listing of all the objects currently loaded?


 Peeking into the application resources, It looks like the additional  
externals hiding in the "extra" folder.
In fact, it looks like the whole source is hiding there.  Is it  
possible to rebuild pd from the contents of the resources

folder?  (That would be a pretty suave archiving feature)

Cheers,

RJK


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


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread John Harrison
Ok so I did something stupid with the
[GEMglLightModeliGL_LIGHT_MODEL_TWO_SIDE GL_FALSE] test which that I
connected it to a
[gemhead] instead of [gemhead 1]. When I corrected that I did find that
indeed the performance changes drastically for the better. OTOH I couldn't
get satisfactory lighting for my environment. It's a good technique for me
to remember and I could probably make it work even for this project with
enough experimentation of lighting sources and direction but...

it seems clear to me on my system at least with GL_LIGHT_MODEL_TWO_SIDE set
to its default GL_TRUE the bottleneck is the lighting and any gains with a
display list or model are lost because of the lighting issue. However I'm
finding that I get satisfactory performance and appearance by changing the
sphere to have 10 segments instead of 30. With a 10 segment sphere I can
make 1000 spheres and straight-line curves at 20fps at about 70% draw on a
CPU core. That works for me! :-)

I was curious if for a future project there might be a way I could make a
shader that would emulate the local lighting effect and do it more
efficiently. Serious exploration with shaders definitely needs to be in my
future.

In any case, thanks for all the help!

-John

On Wed, Mar 9, 2011 at 1:55 PM, cyrille henry  wrote:

> with lighting on, things did not really change with the model or display
> list, but rendering sphere is 2 time slower.
>
> here is the sphere.
>
> Cyrille
>
> Le 09/03/2011 20:44, John Harrison a écrit :
>
>> It appears I'm actually getting better results from [gemlist] too with
>> lighting off. But how do your results change with lighting on? For me, with
>> lighting on, they seem about the same.
>>
>> If you have your sphere.obj model with 900 triangles handy, I'd love to
>> try it.
>>
>> -John
>>
>> On Wed, Mar 9, 2011 at 12:19 PM, cyrille henry > c...@chnry.net>> wrote:
>>
>>here, at 20fps, no lighting, i can draw about 500 model with your
>> sphere.obj.
>>1000 sphere 30, and about 3500 display list of sphere 30.
>>using an other sphere.obj with about 900 triangles, i've got the same
>> performance than with the display list.
>>
>>it really is strange that the sphere is the fastest on your computer.
>>
>>Cyrille
>>
>>
>>Le 09/03/2011 19:08, John Harrison a écrit :
>>
>>Using Cyrille's test patch for speed which he sent into the list a
>> week or so ago, I tried creating multiple spheres, gemlists, and models. The
>> sphere is getting the best performance results, unfortunately. Attached is
>> my test patch. I just connected [repeat] to either [sphere] [GEMglCallList]
>> or [model] in the patch. The sphere model I used has probably got way too
>> many points (just found it on the 'net) but my hope was that as the vertices
>> were static it wouldn't matter.
>>
>>http://www.eecs.umich.edu/~guskov/eecs598-1/sphere.obj <
>> http://www.eecs.umich.edu/%7Eguskov/eecs598-1/sphere.obj>
>>
>>
>>maybe one with less vertices will help. I can try...
>>
>>-John
>>
>>On Wed, Mar 9, 2011 at 9:48 AM, chris clepper 
>> > cgclep...@gmail.com>  cgclep...@gmail.com>>> wrote:
>>
>>A model is the way to go since the vertex data is static.
>>  Ideally for situations like this there would be one object that loads a
>> single model and several clients that just call the display list.  Although
>> there is a lot of memory on GPUs now so 200 models of a sphere won't take up
>> that much.
>>
>>On Wed, Mar 9, 2011 at 10:32 AM, John Harrison <
>> johnharrison...@gmail.com  > johnharrison...@gmail.com >> wrote:
>>
>>
>>
>>
>>
>>On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry <
>> c...@chnry.net   c...@chnry.net>>  > c...@chnry.net >
>>hello,
>>
>>- try using a display list to render a sphere,
>> so that every point don't have to be send for every sphere.
>>see exemple 09.openGL/02.displaylist
>>you can also use a model with a sphere.obj to
>> have the same result.
>>
>>if the spheres are all moving at once, would a
>> display list still help? Seems like recompilation would have to happen for
>> every sphere for every frame? I haven't tried the model yet...
>>
>>yes, the display list will help to render 1 single
>> sphere.
>>you have to call it 200 times.
>>
>>
>>Ok I'm seeing a huge performance difference between using
>> 200 of [sphere  20] and [sphere 
>> 30]. Huge. So if I want to keep the sphere with 30 points, I'm thinking
>> gemlist or model are my answer. I'll try both and report back, unless you
>> have a strong recommendation for one or t

Re: [PD] pd_LAunch: A Week of exhibits/workshops/performance events in LA April 25 -30

2011-03-09 Thread Richie Cyngler
Sounds awesome! Please keep us updated. If the stars align I may actually be
in the area at this time (I'm normally in the southern hemisphere).

On Thu, Mar 10, 2011 at 1:57 PM, Joe Deken  wrote:

>
> ==
> During the week of April 25-30 in Los Angeles, CrashSpace LA and New
> Blankets Inc
> will be hosting "pd_LAunch" -- a gala-grassroots festival of events to
> celebrate the
> launch of a puredata/Max patching circle in LA. This new LA patching circle
> will be hosted
> by CrashSpace LA.
>
> ==
>
>
> We will be providing regular updates about pd_LAunch on pd list and
> elsewhere -- many
> arrangements are still in-progress.  But please spread the word to those
> you know who may
> be interested -- whether they live in LA and may become patching-circle
> "regulars" -- or
> if they live anywhere in the world and just want to be part of the
> pd_LAunch launch-fest.
>
> The main purpose of this preliminary/early announcement is to help you
> in making
> travel plans, etc. if you need to.  We especially welcome members of other
> patching
> circles (from other cities, other countries) to join us in LA and share
> your experience
> and inspiration. At the moment, we have set up an an e-mail address:
> lau...@pd-la.info
> where you can express your interest, support, plans-to-attend and other
> helpful ideas.
>
> Because the physical facilities at CrashSpace are fairly small and
> other venues are
> still being negotiated, it's VERY IMPORTANT that you RSVP "yes" right away
> if you plan to
> join us April 25 - 30 in LA.(Kindly make your RSVP via the email address:
> lau...@pd-la.info)
>
> We request that you also use the "launch" e-mail address especially to
> express interest in
> topics for workshops and/or demonstrations that you would be interested in
> attending. (See
> suggestions below.) Or you can use the e-mail to ask particular questions,
> to request
> travel and lodging advice and assistance etc.)
>
> All pd_LAunch events will be "free and open" to everyone, as much as
> space and
> facilities permit.  For some events that will be limited by space, we will
> be providing
> some signup lists -- details forthcoming.
>
> We would also request that when you RSVP "yes" you would consider
> making a
> contribution to secure some of the spaces and amenities we will need.  A
> suggested
> contribution is $50 USD.  We welcome your contribution to this effort, with
> money or ideas
> or other help, even if you cannot get to LA in person.  We can all support
> the new
> patching-circle there. (Money contributions, of whatever amount, should be
> made to New
> Blankets Inc. which is a U.S. 501(c)(3) tax-exempt organization; so your
> contributions are
> tax deductible if/as those laws apply to you.)
>
> Some events and highlights already planned:
>
> - VIP guests: Miller Puckette, Hans-Christoph Steiner, Chris
> McCormick, Natacha Diehls
> ... more invitations are "in the hopper" as well.
>
> - Opening reception/build/video-slam at UCSD with Miller Puckette
> Monday April 25
>   (San Diego)
>
> - "puredata gym-full" Family Night at the Long Beach Boys and Girls
> Club
>Wednesday Apr 27
>
> - panel discussion with Miller Puckette and puredata developers
> Saturday
>   afternoon Apr 30
>
> - concert/party/reception "Music with Miller Puckette and Friends"
> Saturday
>   evening Apr 30 (Miller Puckette, Natacha Diehls, Chris McCormick
> and more ...)
>
> - workshops and demonstrations by Hans Steiner, Chris McCormick,
> Miller Puckette
>   and others are being arranged ...  These will be based on what
> the interest/registrations
>   indicate and depending on what spaces/venues in LA can be
> arranged. (Some spaces larger
>   than the CrashSpace location may be required.)
>
> - A "goody bag" and other items available for pd_LAunch
>   sponsors/RSVP'rs/contributors to include a 20-lecture puredata
> video course by
>   Miller Puckette, pd_LAunch souvenirs made on the CrashSpace
> Makerbots, live-USB
>   sticks ready to boot-up and run Linux/pd on any computer etc etc.
>
> - "Store-front music" a transformation of the street-front of
> CrashSpace into an
>  interactive puredata experience, following up on the CrashSpace
> smash-hit effort for
>  VIMBY. (Get your patch out on the street ...)
>
>
> Mark your calendars.  Plan to join us in LA.  All your efforts to help
> start a successful
> patching circle in LA are welcome.  Let us know if we can help with travel,
> lodging or
> other arrangements if you are coming to LA from afar.
>
> Workshops/demos being planned (Please suggest others if you like; all
> involve pd/Max patching):

Re: [PD] Toughts on PD vs. Max stability on macintels on analogindustries.com

2011-03-09 Thread Mathieu Bouchard

On Tue, 8 Mar 2011, Lorenzo Sutton wrote:

I think I already used the cuisine metaphor here... My Italian genes 
always point me to that... Along the lines of Mathieu's (?) topic in the 
dataflow IRC about ready-made solutions.


« Readymade Solutions Require Readymade Problems; For Everything Else 
There Is PureData.™ »


But it also applies to MAX and every other programming language. I said it 
in opposition to the kind of audio app (or video app) that gives you a 
feature set to which the problem must be fitted (or else, too bad for 
you).


Whenever I open any «audio app» other than Pd, all I can see is a bunch of 
limitations that is going to prevent me from doing what I want 30 minutes 
in the future. But when I say Pd here, it includes MAX.


The choice between Pd and MAX is not what I had in mind when I thought of 
the above slogan, and of « The diagram is the program ». In the comparison 
between Pd and MAX, I don't think we need slogans nearly as much as we 
need more features (even though Pd already offers a lot of unique tools).


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] pd_LAunch: A Week of exhibits/workshops/performance events in LA April 25 -30

2011-03-09 Thread Joe Deken

==
 During the week of April 25-30 in Los Angeles, CrashSpace LA and New 
Blankets Inc
will be hosting "pd_LAunch" -- a gala-grassroots festival of events to 
celebrate the
launch of a puredata/Max patching circle in LA. This new LA patching circle 
will be hosted
by CrashSpace LA.
==


 We will be providing regular updates about pd_LAunch on pd list and 
elsewhere -- many
arrangements are still in-progress.  But please spread the word to those you 
know who may
be interested -- whether they live in LA and may become patching-circle 
"regulars" -- or
if they live anywhere in the world and just want to be part of the pd_LAunch 
launch-fest.

 The main purpose of this preliminary/early announcement is to help you in 
making
travel plans, etc. if you need to.  We especially welcome members of other 
patching
circles (from other cities, other countries) to join us in LA and share your 
experience
and inspiration. At the moment, we have set up an an e-mail address: 
lau...@pd-la.info
where you can express your interest, support, plans-to-attend and other helpful 
ideas.

 Because the physical facilities at CrashSpace are fairly small and other 
venues are
still being negotiated, it's VERY IMPORTANT that you RSVP "yes" right away if 
you plan to
join us April 25 - 30 in LA.(Kindly make your RSVP via the email address: 
lau...@pd-la.info)

We request that you also use the "launch" e-mail address especially to express 
interest in
topics for workshops and/or demonstrations that you would be interested in 
attending. (See
suggestions below.) Or you can use the e-mail to ask particular questions, to 
request
travel and lodging advice and assistance etc.)

 All pd_LAunch events will be "free and open" to everyone, as much as space 
and
facilities permit.  For some events that will be limited by space, we will be 
providing
some signup lists -- details forthcoming.

 We would also request that when you RSVP "yes" you would consider making a
contribution to secure some of the spaces and amenities we will need.  A 
suggested
contribution is $50 USD.  We welcome your contribution to this effort, with 
money or ideas
or other help, even if you cannot get to LA in person.  We can all support the 
new
patching-circle there. (Money contributions, of whatever amount, should be made 
to New
Blankets Inc. which is a U.S. 501(c)(3) tax-exempt organization; so your 
contributions are
tax deductible if/as those laws apply to you.)

 Some events and highlights already planned:

 - VIP guests: Miller Puckette, Hans-Christoph Steiner, Chris 
McCormick, Natacha Diehls
 ... more invitations are "in the hopper" as well.

 - Opening reception/build/video-slam at UCSD with Miller Puckette 
Monday April 25
   (San Diego)

 - "puredata gym-full" Family Night at the Long Beach Boys and Girls 
Club
Wednesday Apr 27

 - panel discussion with Miller Puckette and puredata developers 
Saturday
   afternoon Apr 30

 - concert/party/reception "Music with Miller Puckette and Friends" 
Saturday
   evening Apr 30 (Miller Puckette, Natacha Diehls, Chris McCormick and 
more ...)

 - workshops and demonstrations by Hans Steiner, Chris McCormick, 
Miller Puckette
   and others are being arranged ...  These will be based on what the 
interest/registrations
   indicate and depending on what spaces/venues in LA can be arranged. 
(Some spaces larger
   than the CrashSpace location may be required.)

 - A "goody bag" and other items available for pd_LAunch
   sponsors/RSVP'rs/contributors to include a 20-lecture puredata video 
course by
   Miller Puckette, pd_LAunch souvenirs made on the CrashSpace 
Makerbots, live-USB
   sticks ready to boot-up and run Linux/pd on any computer etc etc.

 - "Store-front music" a transformation of the street-front of 
CrashSpace into an
  interactive puredata experience, following up on the CrashSpace 
smash-hit effort for
  VIMBY. (Get your patch out on the street ...)


Mark your calendars.  Plan to join us in LA.  All your efforts to help start a 
successful
patching circle in LA are welcome.  Let us know if we can help with travel, 
lodging or
other arrangements if you are coming to LA from afar.

 Workshops/demos being planned (Please suggest others if you like; all 
involve pd/Max patching):

   - pd for beginners tutorials
   - homemade-computer instruments "petting zoo" at the Boys and Girls Club
   - GEM and interactive graphics
   - WebPd -- pd with your web browser
   - android -- pd on your phone/handheld
   - motion-interfacing with the Kinect 3D camera
   - arduino/pduino for real-world interaction a

Re: [PD] Cool Sequencer

2011-03-09 Thread hard off
one thing that was cool about the csq-600, was that you could make sequences
of sequences.  there were 4 patterns stored in memory, and you had a toggle
switch for each one.  so, if pattern A and pattern C were switched on, it
would play patterns A,C,A,C...etc
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Cool Sequencer

2011-03-09 Thread hard off
roland csq-600 did this back in the pre-midi days of cv/gate synthesizers.

good idea to build it in pd though :)
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] The economics of Open source

2011-03-09 Thread Jose Luis Santorcuato
Hi, A brief summary  Mathieu ... I appreciate every day of this
community ... and of course, we are pd ...

Beeest regards

José

2011/3/9 Mathieu Bouchard :
> On Tue, 8 Mar 2011, Pierre Massat wrote:
>
>> I was trying to get Ardour to work last night and i came accross the forum
>> on their website. I must say i was quite shocked to see how many posts were
>> about money. I was equally surprized to see that the latest full version of
>> Ardour isn't free (although you can name your price).
>
> "Name your price" is actually a characteristic of the download site, not the
> software.
>
> From what I read, Ardour remains FLOSS nonetheless.
>
>> 1) What are the economics of open source software, and how sustainable is
>> the model?
>
> FLOSS is not an economic model, it's a set of licenses (and of potential
> future licenses with the same basic characteristics).
>
> You use the license as a tool to come up with an economic model of your
> choice, but there are many possibilities, both with a pure FLOSS license
> (which is the case of Ardour), and with a hybrid approach (involving
> proprietary licenses in some way).
>
>> How does it work for Pd?
>
> There is no such system for the Pd community. Each developer has his/her own
> "economic model", which usually means something noneconomic like donating
> plenty of time for little return.
>
>> 2) I get the feeling that open source developpers used to think that the
>> idea of free (free beer...) software was cool, but 10 to 15 years down the
>> line (that is, now) they're beginning to realize that they can't keep on
>> doing this forever. Am I wrong here?
>
> It possibly happens to *lots* of people, but it doesn't make the FLOSS
> movement getting any smaller.
>
>> I have been considering making a donation since i've been using Pd
>> extensively for a few years now. But could someone tell me exactly how it
>> works? Who gets the money?
>
> The person who gets the money is the person you send it to.
>
>> And i never use GEM or Gridflow (cause i have no need for it at the
>> moment), so i don't see why part of my donation should go to Mathieu or
>> GEM's author(s).
>
> What makes you think that GEM's authors and I are somehow not contributing
> anything significant to Pd-vanilla ?
>
>  ___
> | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>



-- 
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/
http://www.myspace.com/santorcuato

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


Re: [PD] The economics of Open source

2011-03-09 Thread Mathieu Bouchard

On Tue, 8 Mar 2011, Pierre Massat wrote:

I was trying to get Ardour to work last night and i came accross the 
forum on their website. I must say i was quite shocked to see how many 
posts were about money. I was equally surprized to see that the latest 
full version of Ardour isn't free (although you can name your price).


"Name your price" is actually a characteristic of the download site, not 
the software.



From what I read, Ardour remains FLOSS nonetheless.


1) What are the economics of open source software, and how sustainable 
is the model?


FLOSS is not an economic model, it's a set of licenses (and of potential 
future licenses with the same basic characteristics).


You use the license as a tool to come up with an economic model of your 
choice, but there are many possibilities, both with a pure FLOSS license 
(which is the case of Ardour), and with a hybrid approach (involving 
proprietary licenses in some way).



How does it work for Pd?


There is no such system for the Pd community. Each developer has his/her 
own "economic model", which usually means something noneconomic like 
donating plenty of time for little return.


2) I get the feeling that open source developpers used to think that the 
idea of free (free beer...) software was cool, but 10 to 15 years down 
the line (that is, now) they're beginning to realize that they can't 
keep on doing this forever. Am I wrong here?


It possibly happens to *lots* of people, but it doesn't make the FLOSS 
movement getting any smaller.


I have been considering making a donation since i've been using Pd 
extensively for a few years now. But could someone tell me exactly how 
it works? Who gets the money?


The person who gets the money is the person you send it to.

And i never use GEM or Gridflow (cause i have no need for it at the 
moment), so i don't see why part of my donation should go to Mathieu or 
GEM's author(s).


What makes you think that GEM's authors and I are somehow not contributing 
anything significant to Pd-vanilla ?


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread John Harrison
It appears I'm actually getting better results from [gemlist] too with
lighting off. But how do your results change with lighting on? For me, with
lighting on, they seem about the same.

If you have your sphere.obj model with 900 triangles handy, I'd love to try
it.

-John

On Wed, Mar 9, 2011 at 12:19 PM, cyrille henry  wrote:

> here, at 20fps, no lighting, i can draw about 500 model with your
> sphere.obj.
> 1000 sphere 30, and about 3500 display list of sphere 30.
> using an other sphere.obj with about 900 triangles, i've got the same
> performance than with the display list.
>
> it really is strange that the sphere is the fastest on your computer.
>
> Cyrille
>
>
> Le 09/03/2011 19:08, John Harrison a écrit :
>
>> Using Cyrille's test patch for speed which he sent into the list a week or
>> so ago, I tried creating multiple spheres, gemlists, and models. The sphere
>> is getting the best performance results, unfortunately. Attached is my test
>> patch. I just connected [repeat] to either [sphere] [GEMglCallList] or
>> [model] in the patch. The sphere model I used has probably got way too many
>> points (just found it on the 'net) but my hope was that as the vertices were
>> static it wouldn't matter.
>>
>> http://www.eecs.umich.edu/~guskov/eecs598-1/sphere.obj
>>
>> maybe one with less vertices will help. I can try...
>>
>> -John
>>
>> On Wed, Mar 9, 2011 at 9:48 AM, chris clepper > cgclep...@gmail.com>> wrote:
>>
>>A model is the way to go since the vertex data is static.  Ideally for
>> situations like this there would be one object that loads a single model and
>> several clients that just call the display list.  Although there is a lot of
>> memory on GPUs now so 200 models of a sphere won't take up that much.
>>
>>On Wed, Mar 9, 2011 at 10:32 AM, John Harrison <
>> johnharrison...@gmail.com > wrote:
>>
>>
>>
>>
>>On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry <
>> c...@chnry.net   c...@chnry.net>>> wrote:
>>
>>hello,
>>
>>- try using a display list to render a sphere, so that
>> every point don't have to be send for every sphere.
>>see exemple 09.openGL/02.displaylist
>>you can also use a model with a sphere.obj to have the
>> same result.
>>
>>if the spheres are all moving at once, would a display list
>> still help? Seems like recompilation would have to happen for every sphere
>> for every frame? I haven't tried the model yet...
>>
>>yes, the display list will help to render 1 single sphere.
>>you have to call it 200 times.
>>
>>
>>Ok I'm seeing a huge performance difference between using 200 of
>> [sphere  20] and [sphere  30].
>> Huge. So if I want to keep the sphere with 30 points, I'm thinking gemlist
>> or model are my answer. I'll try both and report back, unless you have a
>> strong recommendation for one or the other to save me time.
>>
>>This list is awesome. Where else could I find help like this? :-)
>>
>>-John
>>
>>___
>>
>>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] Patch for Akai EWI (was "Reading and writing binary files")

2011-03-09 Thread David
See below.

On Wed, Mar 9, 2011 at 1:36 PM, Ingo  wrote:
> Hi David,
>
>> I looked at your code, and I think I understand it, more or less. But
>> I couldn't see where you're sending the 6-byte NRPN message before and
>> after the SysEx message. Isn't it necessary?
>
> No! SysEx doesn't require any NRPN message to get enabled. I have no idea
> what the Aria software is sending out but it is definitely not necessary.
>
> There are a lot of strange things with the Garritan / Plogue software.
>

Thanks. I agree, the software is a little weird. For example, when you
save the settings, why does it save them in two different files? I
assumed at first that all the settings would be saved in a single
file. It doesn't explain that anywhere, I just discovered it by poking
around and opening the files in a text editor that can handle binary
files.

>> I got this information from a web site created by someone who
>> reverse-engineered the SysEx messages for the EWI USB:
>>
>> http://www.ewiusb.com/
>>
>> According to him, you have to send the '63 01 62 04 06 20' before each
>> SysEx, and '63 01 62 04 06 10' after the last one. You're not doing
>> that? I haven't tested any of this stuff yet, I'm a little paranoid
>> about screwing up my EWI. I can probably recover just by pressing the
>> reset button if something goes wrong, but I'd rather not take the
>> chance.
>
> I had double checked my information with that website. It turned out that
> there are several things that are wrong in this article. I wrote the guy
> from ewiusb.com an email and told him about the errors but never got any
> answer. He never corrected anything either. It doesn't look like the site is
> active anymore.
>

I think you're right, I sent him an email a couple of weeks ago and
never got a reply.

> BTW, you cannot break anything by sending sysex messages to an instrument.
> I am using this editor daily with no problem.
>
> I don't know which reason you have to trust one guy more than any other one?
>

Sorry, I didn't mean any offense. I was only erring on the side of
caution. I was just afraid of "bricking" my EWI.

> However I did discover an error in the patch this morning when I transferred
> a modified version into my hardware machine. "Pitchbend down" doesn't get
> restored correctly from the file. So there is a fixed version attached. It
> also writes the 6th value of the shorter sysex strings into the file which
> was ignored before. Just in case it would have any undocumented (ha, ha, ha)
> meaning.
>

Thanks again.

> Ingo
>
>

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


Re: [PD] Patch for Akai EWI (was "Reading and writing binary files")

2011-03-09 Thread Ingo
Hi David,

> I looked at your code, and I think I understand it, more or less. But
> I couldn't see where you're sending the 6-byte NRPN message before and
> after the SysEx message. Isn't it necessary?

No! SysEx doesn't require any NRPN message to get enabled. I have no idea
what the Aria software is sending out but it is definitely not necessary.

There are a lot of strange things with the Garritan / Plogue software.

> I got this information from a web site created by someone who
> reverse-engineered the SysEx messages for the EWI USB:
> 
> http://www.ewiusb.com/
> 
> According to him, you have to send the '63 01 62 04 06 20' before each
> SysEx, and '63 01 62 04 06 10' after the last one. You're not doing
> that? I haven't tested any of this stuff yet, I'm a little paranoid
> about screwing up my EWI. I can probably recover just by pressing the
> reset button if something goes wrong, but I'd rather not take the
> chance.

I had double checked my information with that website. It turned out that
there are several things that are wrong in this article. I wrote the guy
from ewiusb.com an email and told him about the errors but never got any
answer. He never corrected anything either. It doesn't look like the site is
active anymore.

BTW, you cannot break anything by sending sysex messages to an instrument.
I am using this editor daily with no problem.

I don't know which reason you have to trust one guy more than any other one?

However I did discover an error in the patch this morning when I transferred
a modified version into my hardware machine. "Pitchbend down" doesn't get
restored correctly from the file. So there is a fixed version attached. It
also writes the 6th value of the shorter sysex strings into the file which
was ignored before. Just in case it would have any undocumented (ha, ha, ha)
meaning.

Ingo


> >> -Ursprüngliche Nachricht-
> >> Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag
> von
> >> Ingo
> >> Gesendet: Dienstag, 8. März 2011 18:35
> >> An: 'David'; pd-list@iem.at
> >> Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary
> >> files")
> >>
> >> Hi David,
> >>
> >> here's a full EWI-USB editor.
> >> However, it only works one way! Pd -> EWI-USB. It cannot retrieve data
> >> from
> >> the EWI.
> >>
> >> If you want to save your data you should specify a path (marked with
> red
> >> "bangs") twice for loading and saving and you need to set the midi
> port.
> >> Nothing else to do.
> >>
> >> I have tested it with Linux (Ubuntu). Not sure if it works on any other
> >> OS.
> >>
> >> Hope it's useful for some people!
> >>
> >> Cheers
> >> Ingo
> >>
> >>
> >> > -Ursprüngliche Nachricht-
> >> > Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im
> Auftrag
> >> von
> >> > David
> >> > Gesendet: Dienstag, 8. März 2011 03:07
> >> > An: pd-list@iem.at; muran...@gmail.com
> >> > Betreff: Re: [PD] Patch for Akai EWI (was "Reading and writing binary
> >> > files")
> >> >
> >> > Thanks. I'm not sure I understand what you mean when you say "you
> >> > don't really need sysex", though. I have to send a 6 byte NRPN
> >> > message, followed by a 14 byte SysEx message. I think I understand
> how
> >> > to send the NRPN message, but I'm still confused about the SysEx
> >> > message. Would I use [midiout] to do that? According to the help file
> >> > in PD, this object is still undocumented and is only supported on
> >> > Linux. Is that still true? And it only has two inlets, which I'm
> >> > guessing would be an arbitrary 1 byte value and a channel number, but
> >> > I'm not sure.
> >> >
> >> > Unfortunately, none of these messages are documented in the owner's
> >> > manual or on their web site, but someone has reverse-engineered the
> >> > messages and posted his findings here:
> >> >
> >> > http://www.ewiusb.com/sysex_page1
> >> > http://www.ewiusb.com/sysex_page2
> >> >
> >> > The whole stream (an NRPN, a 14 byte SysEx, the same NRPN again,
> >> > another 19 byte SysEx, and a final NRPN) would look like this, for
> >> > example:
> >> >
> >> > // sysex enable :
> >> > 63 01 62 04 06 20
> >> > // sysex message :
> >> > F0 47 7F 6D 00 00 06 40 40 40 40 08 7F F7
> >> > // sysex enable :
> >> > 63 01 62 04 06 20
> >> > // sysex message :
> >> > F0 F7 7F 6D 02 00 0B 00 00 40 20 02 00 00 7F 00 7C 7D F7
> >> > // sysex done :
> >> > 63 01 62 04 06 10
> >> >
> >> > David.
> >> >
> >> > > Message: 1
> >> > > Date: Sun, 6 Mar 2011 18:07:59 +0100
> >> > > From: Andr?s Mur?nyi 
> >> > > Subject: Re: [PD] Patch for Akai EWI (was "Reading and writing
> binary
> >> > >        files")
> >> > > To: PD List 
> >> > > Message-ID:
> >> > >
>  
> >> > > Content-Type: text/plain; charset="iso-8859-1"
> >> > >
> >> > > NRPNS are interestingly made up of CC messages so you don't really
> >> need
> >> > > sysex.
> >> > > Attached [nrpnout] (original version by David McCallum) and
> [nrpnout-
> >> > yamaha]
> >> > > where CC numbers are modified according to 

Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread cyrille henry

here, at 20fps, no lighting, i can draw about 500 model with your sphere.obj.
1000 sphere 30, and about 3500 display list of sphere 30.
using an other sphere.obj with about 900 triangles, i've got the same 
performance than with the display list.

it really is strange that the sphere is the fastest on your computer.

Cyrille


Le 09/03/2011 19:08, John Harrison a écrit :

Using Cyrille's test patch for speed which he sent into the list a week or so 
ago, I tried creating multiple spheres, gemlists, and models. The sphere is 
getting the best performance results, unfortunately. Attached is my test patch. 
I just connected [repeat] to either [sphere] [GEMglCallList] or [model] in the 
patch. The sphere model I used has probably got way too many points (just found 
it on the 'net) but my hope was that as the vertices were static it wouldn't 
matter.

http://www.eecs.umich.edu/~guskov/eecs598-1/sphere.obj

maybe one with less vertices will help. I can try...

-John

On Wed, Mar 9, 2011 at 9:48 AM, chris clepper mailto:cgclep...@gmail.com>> wrote:

A model is the way to go since the vertex data is static.  Ideally for 
situations like this there would be one object that loads a single model and 
several clients that just call the display list.  Although there is a lot of 
memory on GPUs now so 200 models of a sphere won't take up that much.

On Wed, Mar 9, 2011 at 10:32 AM, John Harrison mailto:johnharrison...@gmail.com>> wrote:



On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry mailto:c...@chnry.net> >> wrote:

hello,

- try using a display list to render a sphere, so that 
every point don't have to be send for every sphere.
see exemple 09.openGL/02.displaylist
you can also use a model with a sphere.obj to have the same 
result.

if the spheres are all moving at once, would a display list 
still help? Seems like recompilation would have to happen for every sphere for 
every frame? I haven't tried the model yet...

yes, the display list will help to render 1 single sphere.
you have to call it 200 times.


Ok I'm seeing a huge performance difference between using 200 of [sphere 
 20] and [sphere  30]. Huge. So if I 
want to keep the sphere with 30 points, I'm thinking gemlist or model are my answer. I'll 
try both and report back, unless you have a strong recommendation for one or the other to 
save me time.

This list is awesome. Where else could I find help like this? :-)

-John

___

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





--
John
http://alumni.media.mit.edu/~harrison/



___
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] Download Pd?

2011-03-09 Thread Marco Donnarumma
Hi Andras,
I agree with you, however it seems we both can't deal now with a global
"pimping" of the portal.
So, I would say, let's start working on the download section; this way we
can get familiar with Plone and a further major enhancement would be easier
in the future.

Unless someone here wants to take over the whole thing.

Besides, shall we move on the PdWeb list as IOhannes suggested?
I just subscribed.

M



>
> IMHO, the way to do these things is concept/functions/hierarchy ->
> graphical
> design -> implementation (HTML, CSS, CMS hacking). Concept making has
> already been started as far as i can see, but it's still kind of long way
> to
> actually changing anything general on the website. When we have new
> templates worked out, it won't be so hard to switch them with the current
> ones.
> Of course, small changes can be done anytime, i just think that a bigger
> revamp shall not be started by jumping in the middle of the haystack.
> A voluntary leader for the "pimp up" would be nice...
>
> Andras
>
>

-- 
Marco Donnarumma
Independent New Media and Sonic Arts Professional, Performer, Instructor
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com
Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
Event: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread John Harrison
Using Cyrille's test patch for speed which he sent into the list a week or
so ago, I tried creating multiple spheres, gemlists, and models. The sphere
is getting the best performance results, unfortunately. Attached is my test
patch. I just connected [repeat] to either [sphere] [GEMglCallList] or
[model] in the patch. The sphere model I used has probably got way too many
points (just found it on the 'net) but my hope was that as the vertices were
static it wouldn't matter.

http://www.eecs.umich.edu/~guskov/eecs598-1/sphere.obj

maybe one with less vertices will help. I can try...

-John

On Wed, Mar 9, 2011 at 9:48 AM, chris clepper  wrote:

> A model is the way to go since the vertex data is static.  Ideally for
> situations like this there would be one object that loads a single model and
> several clients that just call the display list.  Although there is a lot of
> memory on GPUs now so 200 models of a sphere won't take up that much.
>
> On Wed, Mar 9, 2011 at 10:32 AM, John Harrison 
> wrote:
>
>>
>>
 On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry >>> c...@chnry.net>> wrote:

hello,

- try using a display list to render a sphere, so that every point
 don't have to be send for every sphere.
see exemple 09.openGL/02.displaylist
you can also use a model with a sphere.obj to have the same result.

 if the spheres are all moving at once, would a display list still help?
 Seems like recompilation would have to happen for every sphere for every
 frame? I haven't tried the model yet...

  yes, the display list will help to render 1 single sphere.
>>> you have to call it 200 times.
>>>
>>>
>>> Ok I'm seeing a huge performance difference between using 200 of [sphere
>>  20] and [sphere  30]. Huge. So if
>> I want to keep the sphere with 30 points, I'm thinking gemlist or model are
>> my answer. I'll try both and report back, unless you have a strong
>> recommendation for one or the other to save me time.
>>
>> This list is awesome. Where else could I find help like this? :-)
>>
>> -John
>>
>> ___
>>
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>


-- 
John
http://alumni.media.mit.edu/~harrison/


sphere-gemlist-model.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building on OSX

2011-03-09 Thread Hans-Christoph Steiner


As far as I know, this Mac OS X build stuff is all sorted out in the  
new build system (i.e. "cd pd && ./configure" rather than "cd pd/src  
&& ./configure")


.hc

On Mar 9, 2011, at 12:03 PM, Miller Puckette wrote:


(Hi Ron!)

I thought the 'source release' no longer had any reference to the SDK
version number thanks to a patch from Hans last year... I'd better go
look at this.

thanks
Miller

On Wed, Mar 09, 2011 at 10:47:17AM -0500, Hans-Christoph Steiner  
wrote:


I think this might turn it off:

./configure --disable-fat

.hc

On Mar 9, 2011, at 5:35 AM, ronald kuivila wrote:


Hi all,

I am new to Pd.  I downloaded the basic MSP release and tried to
compile under OSX, but I get a complaint from lipo.
The problem seems to be I have the 10.5 SDK, so altering the -i
flag to  /Developer/SDKs/MacOSX10.5.sdk solved the problem:

	cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses

-Wno-switch -DDL_OPEN -DMACOSX -DUNISTD
-I/usr/X11R6/include -I../portaudio/include
-I../portaudio/src/common -I../portaudio/src/os/mac_osx/
-I../portmidi/pm_common -I../portmidi/pm_mac
-I../portmidi/porttime -DUSEAPI_PORTAUDIO -DPA19
-DPA_USE_COREAUDIO -DNEWBUFFER
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 - 
arch

ppc -Wno-error -O2  -o ../bin/pd-watchdog s_watchdog.c


Is there some way to automate this choice in the makefile?

Cheers,

RJK

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






Mistrust authority - promote decentralization.  - the hacker ethic



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






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


Re: [PD] Download Pd?

2011-03-09 Thread András Murányi
IMHO, the way to do these things is concept/functions/hierarchy -> graphical
design -> implementation (HTML, CSS, CMS hacking). Concept making has
already been started as far as i can see, but it's still kind of long way to
actually changing anything general on the website. When we have new
templates worked out, it won't be so hard to switch them with the current
ones.
Of course, small changes can be done anytime, i just think that a bigger
revamp shall not be started by jumping in the middle of the haystack.
A voluntary leader for the "pimp up" would be nice...

Andras

2011/3/9 Hans-Christoph Steiner 

>
> It sounds like a number of people are interested in working on the site.
>  Right now its currently IOhannes and I doing the admin for the most part.
>  In my opinion, I'd like to see some other people take over the website
> stuff, since IOhannes and I already have a lot on our shoulders.  What do
> you think, IOhannes?  There is a certain amount that only IOhannes can do
> since only he has root access to the server itself.
>
> If some of you who spoke up here want to try to get together to make things
> happen, I'll do what I can do support that.
>
> .hc
>
> On Mar 9, 2011, at 11:35 AM, András Murányi wrote:
>
> Not that i'm not lagging with other tasks (build farm... err) but i want to
> offer my HTML/CSS skills to this initiative. I don't know Plone so much but
> I've been converting graphical designs to actual pages since 1993 so just
> tell me when you need it.
>
> Andras
>
> On Wed, Mar 9, 2011 at 16:45, Hans-Christoph Steiner wrote:
>
>>
>> Ok, great, Marco, thanks for taking this on.
>>
>> .hc
>>
>> On Mar 9, 2011, at 6:28 AM, Marco Donnarumma wrote:
>>
>> Yes, sure.
>> That's what I thought. Dealing with the whole website is a major
>> commitment.
>> Let's start with downloads page, then we'll see.
>>
>> M
>>
>>
>> On Tue, Mar 8, 2011 at 6:54 PM, Hans-Christoph Steiner wrote:
>>
>>>
>>> I think it should be ok for you to get admin access.  But just to make
>>> sure we are on the same page, we are talking about CSS/template work for
>>> just the downloads page, not the entire site.  If you want to take on
>>> the entire site, that is also possible, but that would mean getting more
>>> people involved.
>>>
>>> .hc
>>>
>>> On Tue, 2011-03-08 at 18:09 +, Marco Donnarumma wrote:
>>> > Ok, I'm reading the Plone documentation and as I imagined, it seems I
>>> > do need to be admin to access and modify the css style.
>>> >
>>> > IOhannes, how can we proceed?
>>> > Do I need server access too?
>>> >
>>> > Meantime,
>>> > does anyone want to share their ideas for a better looking style of
>>> > the site?
>>> > (font colors, dimensions, headers, etc, etc...)
>>> >
>>> > M
>>> >
>>> >
>>> >
>>> >
>>> > On Tue, Mar 8, 2011 at 5:31 PM, Hans-Christoph Steiner 
>>> > wrote:
>>> >
>>> > Awesome!  I don't know specifically, maybe IOhannes can add
>>> > some
>>> > details, but it should be a fairly standard Plone template
>>> > thing, so
>>> > check the Plone docs.
>>> >
>>> > .hc
>>> >
>>> >
>>> > On Tue, 2011-03-08 at 16:33 +, Marco Donnarumma wrote:
>>> > > Hey,
>>> > > I could give the CSS a go...
>>> > >
>>> > >
>>> > > HC what do I need, how can I access the CSS styles?
>>> > >
>>> > >
>>> > > M
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > On Tue, Mar 8, 2011 at 3:32 PM, Pierre Massat
>>> > 
>>> > > wrote:
>>> > > Is IOhannes the only member in charge of maintaining
>>> > the
>>> > > website?
>>> > >
>>> > > 2011/3/8 Husk 00 
>>> > >
>>> > > On Tue, Mar 8, 2011 at 4:22 PM, Caio Barros
>>> > >  wrote:
>>> > > > Actually now the left menu and the tabs on
>>> > the top
>>> > > are redundant, and that
>>> > > > scratches my obsessive-compulsive
>>> > disorder.
>>> > > > Since it seems that the left menu is the
>>> > favorite
>>> > > one, maybe dropping the
>>> > > > top tabs should be cosidered.
>>> > > >
>>> > > > Caio Barros
>>> > > >
>>> > >
>>> > >
>>> > > I'm agree with that.
>>> > > thanks IOhannes for the effort...
>>> > > husk
>>> > >
>>> > > --
>>> > > when Art become pratical
>>> > > we call it technology.
>>> > >
>>> > > When Technology become useless
>>> > > we call it Art
>>> > >
>>> > > www.estereotips.net
>>> >   

Re: [PD] Cool Sequencer

2011-03-09 Thread Dominic Pflaum
Ooops, just saw the auto switching button!

On Wed, Mar 9, 2011 at 5:09 PM, Dominic Pflaum  wrote:

> That's really cool, you've chosen some nice melodies to illustrate it too.
>
> Makes me think of the South Indian counting system, Konnakol. I could
> imagine doing a lot of different things with your patch, such as having a
> bang sent at the end of each sequence to retrigger a new one.
>
> Very nice,
>
> Dom
>
>
>
> On Wed, Mar 9, 2011 at 4:56 PM, Cody Loyd  wrote:
>
>> I thought of something today..  I am confident that I'm not the first
>> to have done this, but I thought it interesting and useful enough to
>> share.  It is a very basic sequencer that has different programmable
>> 'phrases' that you can switch between.  I have included a toggle to
>> turn on automatic (random!) switching of the phrases.
>>
>> Personally this concept is going to be very very useful to me, and I'm
>> proud that I thought of it on my own.  So, what do you think?  PLEASE
>> PLEASE share any improvements that you might have to this design :)
>>
>> ENJOY!
>>
>> Cody
>>
>> ___
>> 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] Cool Sequencer

2011-03-09 Thread Dominic Pflaum
That's really cool, you've chosen some nice melodies to illustrate it too.

Makes me think of the South Indian counting system, Konnakol. I could
imagine doing a lot of different things with your patch, such as having a
bang sent at the end of each sequence to retrigger a new one.

Very nice,

Dom



On Wed, Mar 9, 2011 at 4:56 PM, Cody Loyd  wrote:

> I thought of something today..  I am confident that I'm not the first
> to have done this, but I thought it interesting and useful enough to
> share.  It is a very basic sequencer that has different programmable
> 'phrases' that you can switch between.  I have included a toggle to
> turn on automatic (random!) switching of the phrases.
>
> Personally this concept is going to be very very useful to me, and I'm
> proud that I thought of it on my own.  So, what do you think?  PLEASE
> PLEASE share any improvements that you might have to this design :)
>
> ENJOY!
>
> Cody
>
> ___
> 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] building on OSX

2011-03-09 Thread Miller Puckette
(Hi Ron!)

I thought the 'source release' no longer had any reference to the SDK
version number thanks to a patch from Hans last year... I'd better go
look at this.

thanks
Miller

On Wed, Mar 09, 2011 at 10:47:17AM -0500, Hans-Christoph Steiner wrote:
> 
> I think this might turn it off:
> 
> ./configure --disable-fat
> 
> .hc
> 
> On Mar 9, 2011, at 5:35 AM, ronald kuivila wrote:
> 
> >Hi all,
> >
> >I am new to Pd.  I downloaded the basic MSP release and tried to
> >compile under OSX, but I get a complaint from lipo.
> >The problem seems to be I have the 10.5 SDK, so altering the -i
> >flag to  /Developer/SDKs/MacOSX10.5.sdk solved the problem:
> >
> > cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused 
> > -Wno-parentheses
> >-Wno-switch -DDL_OPEN -DMACOSX -DUNISTD
> >-I/usr/X11R6/include -I../portaudio/include
> >-I../portaudio/src/common -I../portaudio/src/os/mac_osx/
> >-I../portmidi/pm_common -I../portmidi/pm_mac
> >-I../portmidi/porttime -DUSEAPI_PORTAUDIO -DPA19
> >-DPA_USE_COREAUDIO -DNEWBUFFER
> >-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch
> >ppc -Wno-error -O2  -o ../bin/pd-watchdog s_watchdog.c
> >
> >
> >Is there some way to automate this choice in the makefile?
> >
> >Cheers,
> >
> >RJK
> >
> >___
> >Pd-list@iem.at mailing list
> >UNSUBSCRIBE and account-management -> 
> >http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> 
> 
> Mistrust authority - promote decentralization.  - the hacker ethic
> 
> 
> 
> ___
> 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] Download Pd?

2011-03-09 Thread Hans-Christoph Steiner


It sounds like a number of people are interested in working on the  
site.  Right now its currently IOhannes and I doing the admin for the  
most part.  In my opinion, I'd like to see some other people take over  
the website stuff, since IOhannes and I already have a lot on our  
shoulders.  What do you think, IOhannes?  There is a certain amount  
that only IOhannes can do since only he has root access to the server  
itself.


If some of you who spoke up here want to try to get together to make  
things happen, I'll do what I can do support that.


.hc

On Mar 9, 2011, at 11:35 AM, András Murányi wrote:

Not that i'm not lagging with other tasks (build farm... err) but i  
want to offer my HTML/CSS skills to this initiative. I don't know  
Plone so much but I've been converting graphical designs to actual  
pages since 1993 so just tell me when you need it.


Andras

On Wed, Mar 9, 2011 at 16:45, Hans-Christoph Steiner   
wrote:


Ok, great, Marco, thanks for taking this on.

.hc

On Mar 9, 2011, at 6:28 AM, Marco Donnarumma wrote:


Yes, sure.
That's what I thought. Dealing with the whole website is a major  
commitment.

Let's start with downloads page, then we'll see.

M


On Tue, Mar 8, 2011 at 6:54 PM, Hans-Christoph Steiner  
 wrote:


I think it should be ok for you to get admin access.  But just to  
make
sure we are on the same page, we are talking about CSS/template  
work for

just the downloads page, not the entire site.  If you want to take on
the entire site, that is also possible, but that would mean getting  
more

people involved.

.hc

On Tue, 2011-03-08 at 18:09 +, Marco Donnarumma wrote:
> Ok, I'm reading the Plone documentation and as I imagined, it  
seems I

> do need to be admin to access and modify the css style.
>
> IOhannes, how can we proceed?
> Do I need server access too?
>
> Meantime,
> does anyone want to share their ideas for a better looking style of
> the site?
> (font colors, dimensions, headers, etc, etc...)
>
> M
>
>
>
>
> On Tue, Mar 8, 2011 at 5:31 PM, Hans-Christoph Steiner >

> wrote:
>
> Awesome!  I don't know specifically, maybe IOhannes can add
> some
> details, but it should be a fairly standard Plone template
> thing, so
> check the Plone docs.
>
> .hc
>
>
> On Tue, 2011-03-08 at 16:33 +, Marco Donnarumma wrote:
> > Hey,
> > I could give the CSS a go...
> >
> >
> > HC what do I need, how can I access the CSS styles?
> >
> >
> > M
> >
> >
> >
> >
> > On Tue, Mar 8, 2011 at 3:32 PM, Pierre Massat
> 
> > wrote:
> > Is IOhannes the only member in charge of  
maintaining

> the
> > website?
> >
> > 2011/3/8 Husk 00 
> >
> > On Tue, Mar 8, 2011 at 4:22 PM, Caio  
Barros

> >  wrote:
> > > Actually now the left menu and the  
tabs on

> the top
> > are redundant, and that
> > > scratches my obsessive-compulsive
> disorder.
> > > Since it seems that the left menu is  
the

> favorite
> > one, maybe dropping the
> > > top tabs should be cosidered.
> > >
> > > Caio Barros
> > >
> >
> >
> > I'm agree with that.
> > thanks IOhannes for the effort...
> > husk
> >
> > --
> > when Art become pratical
> > we call it technology.
> >
> > When Technology become useless
> > we call it Art
> >
> > www.estereotips.net
> >
> >
> >
> >
> ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >
> >
> >
> >
> > --
> > Marco Donnarumma
> > Independent New Media and Sonic Arts Professional,
> Performer,
> > Instructor
> > ACE, Sound Design MSc by Research (ongoing)
> > The University of Edinburgh, UK
> > ~
> > Portfolio: http://marcodonnarumma.com
> > Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net
> | http://www.flxer.net
> > Event: http://www.liveperformersmeeting.net
> >
>
>
>
>
>
>
>
> --
> Marco Donnarumma
> Independent New Media and Sonic Arts Professional, Performer,
> Instructor
> 

[PD] Cool Sequencer

2011-03-09 Thread Cody Loyd
I thought of something today..  I am confident that I'm not the first
to have done this, but I thought it interesting and useful enough to
share.  It is a very basic sequencer that has different programmable
'phrases' that you can switch between.  I have included a toggle to
turn on automatic (random!) switching of the phrases.

Personally this concept is going to be very very useful to me, and I'm
proud that I thought of it on my own.  So, what do you think?  PLEASE
PLEASE share any improvements that you might have to this design :)

ENJOY!

Cody


phraseseq.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Download Pd?

2011-03-09 Thread András Murányi
Not that i'm not lagging with other tasks (build farm... err) but i want to
offer my HTML/CSS skills to this initiative. I don't know Plone so much but
I've been converting graphical designs to actual pages since 1993 so just
tell me when you need it.

Andras

On Wed, Mar 9, 2011 at 16:45, Hans-Christoph Steiner  wrote:

>
> Ok, great, Marco, thanks for taking this on.
>
> .hc
>
> On Mar 9, 2011, at 6:28 AM, Marco Donnarumma wrote:
>
> Yes, sure.
> That's what I thought. Dealing with the whole website is a major
> commitment.
> Let's start with downloads page, then we'll see.
>
> M
>
>
> On Tue, Mar 8, 2011 at 6:54 PM, Hans-Christoph Steiner wrote:
>
>>
>> I think it should be ok for you to get admin access.  But just to make
>> sure we are on the same page, we are talking about CSS/template work for
>> just the downloads page, not the entire site.  If you want to take on
>> the entire site, that is also possible, but that would mean getting more
>> people involved.
>>
>> .hc
>>
>> On Tue, 2011-03-08 at 18:09 +, Marco Donnarumma wrote:
>> > Ok, I'm reading the Plone documentation and as I imagined, it seems I
>> > do need to be admin to access and modify the css style.
>> >
>> > IOhannes, how can we proceed?
>> > Do I need server access too?
>> >
>> > Meantime,
>> > does anyone want to share their ideas for a better looking style of
>> > the site?
>> > (font colors, dimensions, headers, etc, etc...)
>> >
>> > M
>> >
>> >
>> >
>> >
>> > On Tue, Mar 8, 2011 at 5:31 PM, Hans-Christoph Steiner 
>> > wrote:
>> >
>> > Awesome!  I don't know specifically, maybe IOhannes can add
>> > some
>> > details, but it should be a fairly standard Plone template
>> > thing, so
>> > check the Plone docs.
>> >
>> > .hc
>> >
>> >
>> > On Tue, 2011-03-08 at 16:33 +, Marco Donnarumma wrote:
>> > > Hey,
>> > > I could give the CSS a go...
>> > >
>> > >
>> > > HC what do I need, how can I access the CSS styles?
>> > >
>> > >
>> > > M
>> > >
>> > >
>> > >
>> > >
>> > > On Tue, Mar 8, 2011 at 3:32 PM, Pierre Massat
>> > 
>> > > wrote:
>> > > Is IOhannes the only member in charge of maintaining
>> > the
>> > > website?
>> > >
>> > > 2011/3/8 Husk 00 
>> > >
>> > > On Tue, Mar 8, 2011 at 4:22 PM, Caio Barros
>> > >  wrote:
>> > > > Actually now the left menu and the tabs on
>> > the top
>> > > are redundant, and that
>> > > > scratches my obsessive-compulsive
>> > disorder.
>> > > > Since it seems that the left menu is the
>> > favorite
>> > > one, maybe dropping the
>> > > > top tabs should be cosidered.
>> > > >
>> > > > Caio Barros
>> > > >
>> > >
>> > >
>> > > I'm agree with that.
>> > > thanks IOhannes for the effort...
>> > > husk
>> > >
>> > > --
>> > > when Art become pratical
>> > > we call it technology.
>> > >
>> > > When Technology become useless
>> > > we call it Art
>> > >
>> > > www.estereotips.net
>> > >
>> > >
>> > >
>> > >
>> > ___
>> > > Pd-list@iem.at mailing list
>> > > UNSUBSCRIBE and account-management ->
>> > > http://lists.puredata.info/listinfo/pd-list
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Marco Donnarumma
>> > > Independent New Media and Sonic Arts Professional,
>> > Performer,
>> > > Instructor
>> > > ACE, Sound Design MSc by Research (ongoing)
>> > > The University of Edinburgh, UK
>> > > ~
>> > > Portfolio: http://marcodonnarumma.com
>> > > Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net
>> > | http://www.flxer.net
>> > > Event: http://www.liveperformersmeeting.net
>> > >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Marco Donnarumma
>> > Independent New Media and Sonic Arts Professional, Performer,
>> > Instructor
>> > ACE, Sound Design MSc by Research (ongoing)
>> > The University of Edinburgh, UK
>> > ~
>> > Portfolio: http://marcodonnarumma.com
>> > Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net |
>> http://www.flxer.net
>> > Ev

Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread chris clepper
A model is the way to go since the vertex data is static.  Ideally for
situations like this there would be one object that loads a single model and
several clients that just call the display list.  Although there is a lot of
memory on GPUs now so 200 models of a sphere won't take up that much.

On Wed, Mar 9, 2011 at 10:32 AM, John Harrison wrote:

>
>
>>> On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry >> c...@chnry.net>> wrote:
>>>
>>>hello,
>>>
>>>- try using a display list to render a sphere, so that every point
>>> don't have to be send for every sphere.
>>>see exemple 09.openGL/02.displaylist
>>>you can also use a model with a sphere.obj to have the same result.
>>>
>>> if the spheres are all moving at once, would a display list still help?
>>> Seems like recompilation would have to happen for every sphere for every
>>> frame? I haven't tried the model yet...
>>>
>>>  yes, the display list will help to render 1 single sphere.
>> you have to call it 200 times.
>>
>>
>> Ok I'm seeing a huge performance difference between using 200 of [sphere
>  20] and [sphere  30]. Huge. So if
> I want to keep the sphere with 30 points, I'm thinking gemlist or model are
> my answer. I'll try both and report back, unless you have a strong
> recommendation for one or the other to save me time.
>
> This list is awesome. Where else could I find help like this? :-)
>
> -John
>
> ___
> 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] building on OSX

2011-03-09 Thread Hans-Christoph Steiner


I think this might turn it off:

./configure --disable-fat

.hc

On Mar 9, 2011, at 5:35 AM, ronald kuivila wrote:


Hi all,

I am new to Pd.  I downloaded the basic MSP release and tried to  
compile under OSX, but I get a complaint from lipo.
The problem seems to be I have the 10.5 SDK, so altering the -i flag  
to  /Developer/SDKs/MacOSX10.5.sdk solved the problem:


	cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD
-I/usr/X11R6/include -I../portaudio/include -I../portaudio/ 
src/common -I../portaudio/src/os/mac_osx/ -I../ 
portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/ 
porttime -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO - 
DNEWBUFFER
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 - 
arch ppc -Wno-error -O2  -o ../bin/pd-watchdog s_watchdog.c



Is there some way to automate this choice in the makefile?

Cheers,

RJK

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






Mistrust authority - promote decentralization.  - the hacker ethic



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


Re: [PD] Download Pd?

2011-03-09 Thread Hans-Christoph Steiner


Ok, great, Marco, thanks for taking this on.

.hc

On Mar 9, 2011, at 6:28 AM, Marco Donnarumma wrote:


Yes, sure.
That's what I thought. Dealing with the whole website is a major  
commitment.

Let's start with downloads page, then we'll see.

M


On Tue, Mar 8, 2011 at 6:54 PM, Hans-Christoph Steiner  
 wrote:


I think it should be ok for you to get admin access.  But just to make
sure we are on the same page, we are talking about CSS/template work  
for

just the downloads page, not the entire site.  If you want to take on
the entire site, that is also possible, but that would mean getting  
more

people involved.

.hc

On Tue, 2011-03-08 at 18:09 +, Marco Donnarumma wrote:
> Ok, I'm reading the Plone documentation and as I imagined, it  
seems I

> do need to be admin to access and modify the css style.
>
> IOhannes, how can we proceed?
> Do I need server access too?
>
> Meantime,
> does anyone want to share their ideas for a better looking style of
> the site?
> (font colors, dimensions, headers, etc, etc...)
>
> M
>
>
>
>
> On Tue, Mar 8, 2011 at 5:31 PM, Hans-Christoph Steiner >

> wrote:
>
> Awesome!  I don't know specifically, maybe IOhannes can add
> some
> details, but it should be a fairly standard Plone template
> thing, so
> check the Plone docs.
>
> .hc
>
>
> On Tue, 2011-03-08 at 16:33 +, Marco Donnarumma wrote:
> > Hey,
> > I could give the CSS a go...
> >
> >
> > HC what do I need, how can I access the CSS styles?
> >
> >
> > M
> >
> >
> >
> >
> > On Tue, Mar 8, 2011 at 3:32 PM, Pierre Massat
> 
> > wrote:
> > Is IOhannes the only member in charge of  
maintaining

> the
> > website?
> >
> > 2011/3/8 Husk 00 
> >
> > On Tue, Mar 8, 2011 at 4:22 PM, Caio  
Barros

> >  wrote:
> > > Actually now the left menu and the  
tabs on

> the top
> > are redundant, and that
> > > scratches my obsessive-compulsive
> disorder.
> > > Since it seems that the left menu is the
> favorite
> > one, maybe dropping the
> > > top tabs should be cosidered.
> > >
> > > Caio Barros
> > >
> >
> >
> > I'm agree with that.
> > thanks IOhannes for the effort...
> > husk
> >
> > --
> > when Art become pratical
> > we call it technology.
> >
> > When Technology become useless
> > we call it Art
> >
> > www.estereotips.net
> >
> >
> >
> >
> ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd- 
list

> >
> >
> >
> >
> >
> > --
> > Marco Donnarumma
> > Independent New Media and Sonic Arts Professional,
> Performer,
> > Instructor
> > ACE, Sound Design MSc by Research (ongoing)
> > The University of Edinburgh, UK
> > ~
> > Portfolio: http://marcodonnarumma.com
> > Lab: http://www.thesaddj.com | http:// 
cntrl.sourceforge.net

> | http://www.flxer.net
> > Event: http://www.liveperformersmeeting.net
> >
>
>
>
>
>
>
>
> --
> Marco Donnarumma
> Independent New Media and Sonic Arts Professional, Performer,
> Instructor
> ACE, Sound Design MSc by Research (ongoing)
> The University of Edinburgh, UK
> ~
> Portfolio: http://marcodonnarumma.com
> Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net | 
http://www.flxer.net
> Event: http://www.liveperformersmeeting.net






--
Marco Donnarumma
Independent New Media and Sonic Arts Professional, Performer,  
Instructor

ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com
Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net | 
http://www.flxer.net
Event: http://www.liveperformersmeeting.net








Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs

___
Pd-

Re: [PD] Download Pd?

2011-03-09 Thread Hans-Christoph Steiner


On Mar 9, 2011, at 4:25 AM, IOhannes m zmoelnig wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-03-09 06:07, Hans-Christoph Steiner wrote:


It would be nice to see the website look better, I don't have an  
time to
invest in working on this project.  One easy first step would be to  
make

a mockup of what you are thinking somewhere and post it.



personally, one of the major things in my puredata.info TODO is to
update the plone instance to a newer version of Plone (Plone4 that  
is).


this should make lots of things easier and nicer, but otoh might break
some of the efforts discussed here.
the major drawback is, that this will not happen within the next  
weeks.



fgamsdr
IOhannes


PS: btw, there is a nice low-traffic mailinglist "pdweb" [1] that is
dedicated to the "puredata.info" portal. i suggest to move discussion
about new webskins to this list.


A plone4 upgrade would be awesome and worth putting time into, IMHO.

.hc



I have always wished for my computer to be as easy to use as my  
telephone; my wish has come true because I can no longer figure out  
how to use my telephone."  --Bjarne Stroustrup (creator of C++)



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


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread John Harrison
>
>> On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry > c...@chnry.net>> wrote:
>>
>>hello,
>>
>>- try using a display list to render a sphere, so that every point
>> don't have to be send for every sphere.
>>see exemple 09.openGL/02.displaylist
>>you can also use a model with a sphere.obj to have the same result.
>>
>> if the spheres are all moving at once, would a display list still help?
>> Seems like recompilation would have to happen for every sphere for every
>> frame? I haven't tried the model yet...
>>
>>  yes, the display list will help to render 1 single sphere.
> you have to call it 200 times.
>
>
> Ok I'm seeing a huge performance difference between using 200 of [sphere
 20] and [sphere  30]. Huge. So if
I want to keep the sphere with 30 points, I'm thinking gemlist or model are
my answer. I'll try both and report back, unless you have a strong
recommendation for one or the other to save me time.

This list is awesome. Where else could I find help like this? :-)

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


Re: [PD] building on OSX

2011-03-09 Thread chris clepper
Removing any mention of the OS SDK version defaults to the one for your
version of the OS.  The SDKs are for backwards compatibility.

On Wed, Mar 9, 2011 at 5:35 AM, ronald kuivila wrote:

> Hi all,
>
> I am new to Pd.  I downloaded the basic MSP release and tried to compile
> under OSX, but I get a complaint from lipo.
> The problem seems to be I have the 10.5 SDK, so altering the -i flag to
>  /Developer/SDKs/MacOSX10.5.sdk solved the problem:
>
>cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused
> -Wno-parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD
>  -I/usr/X11R6/include -I../portaudio/include
> -I../portaudio/src/common -I../portaudio/src/os/mac_osx/
> -I../portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/porttime
> -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO -DNEWBUFFER
> -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -Wno-error -O2  -o ../bin/pd-watchdog s_watchdog.c
>
>
> Is there some way to automate this choice in the makefile?
>
> Cheers,
>
> RJK
>
> ___
> 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] How do I squeeze more performance out of Gem?

2011-03-09 Thread cyrille henry



Le 09/03/2011 15:22, John Harrison a écrit :

thanks for these suggestions. Here's how it's going so far:

On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry mailto:c...@chnry.net>> wrote:

hello,

- try using a display list to render a sphere, so that every point don't 
have to be send for every sphere.
see exemple 09.openGL/02.displaylist
you can also use a model with a sphere.obj to have the same result.

if the spheres are all moving at once, would a display list still help? Seems 
like recompilation would have to happen for every sphere for every frame? I 
haven't tried the model yet...


yes, the display list will help to render 1 single sphere.
you have to call it 200 times.


i'm really surprised that noting help.
the bottle neck should be somewhere else.

you can send me the patch if you wish, so i can have a look.

cyrille



- gemhead are slow. i usually have better result using 1 gemhead and 200 
separator, or 200 gemlist, than using 200 gemhead.

It actually performed marginally slower with 1 gemhead and 200 sep and also 
slower with 200 gemlist


- try to put somewhere :
[gemhead 1]
[GEMglLightModeli GL_LIGHT_MODEL_TWO_SIDE GL_FALSE]

it help a lot on my computer (GT 425M), but i don't know on other computer.
could you try and tell me the performance improvement?
(you may have to reverse some light to have close lighting result).


 From your earlier email thread on this list, I already tried that before. No 
difference.


- don't forget to check that you CPU run fullspeed. (sometimes pd use more 
than 100% cpu, but the cpu monitor fail to detect that and the cpu still run at 
low speed)

yeah it appears that happened, but forcing the CPU to run full speed makes no 
difference for some reason.


- start pd -noaudio if it is an option.


Already was done.


- you can separate the physical model and the other calculation in a 
separate pd instance than Gem. using pd~. This may help

If I turn off rendering, CPU usage with physical model being calculated hovers 
at about 4%, so this doesn't seem worth the effort. Am I missing something?

Sending [res 2( to curve also made no difference.


well, i think all of this should be enough to draw 10 time more spheres 
that what you need, at a good fps.

So far my mileage is varying! :-)

Thanks for the help. I guess I'll try the model next.

-John


Cyrille

Le 09/03/2011 02:16, John Harrison a écrit :

I'm working with a high-powered machine but I'm running into a 
bottleneck with Gem. I'm running at 20fps and at times was intending to have as 
many as 200+ lines and spheres on a 1024x768 screen. At around 60 lines/spheres 
I'm already at 50% CPU. I know the problem is Gem because if I stop rendering, 
CPU immediately drops to less than 4%. There's some other manipulations I use 
periodically too causing another 40%+ of CPU so I'm a far cry from my 200+ 
intention while saturating my computational limits. If I turn lighting off, 
BTW, I already gain 10% CPU back (not an option I want to explore.)

I'm not sure what to do and was even considering breaking the rendering into independent 
screens (this machine has 8 cores), then using pix_share to recombine them in a "master" 
instance. I'd have to use pix_snap to capture each of the Gem windows in each of the processes, and 
each one draws about 40% CPU when capturing a 1024x768 buffer at 20 fps so besides creating a 
headache for myself this is going to be a lot of CPU overhead. I also don't know how the graphics 
card is fitting into all of this, if it would become a bottleneck at some point, how to tell, etc. 
What's the "top" command for a graphics card? :-)

These lines and spheres are nothing special, btw. No texturing, just 
translates, colors, and alpha. the lines are made with curves of 2 points each.

Is there some trick or some area of programming or using the graphics 
card I need to be considering? Any thoughts/advice would be appreciated. It's 
strange --- I don't think I'm seeing performance on this machine much better 
than on my not-so-special laptop.

This machine has Nvidia GeForce GTX 460, Ubuntu 10.10 32 bit, 
Pd-extended 0.42-5 binary from the Pure Data site, Intel i7 3Ghz. I'm using 
Nvidia proprietary driver 290.19.06.

When I say stuff like "40% CPU" I mean for a single core. So in theory 
this machine has 800% CPU limit in my nomenclature. But since an instance of Pd/Gem runs 
on only a single core, I have a limit of 100% for any single Pd/Gem instance (as most of 
you already know I'm sure.)

-John

P.S. I'm loving working with Gem and pmpd these days. Awesome stuff, 
guys! :-)







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






___
Pd-list@i

Re: [PD] Get list of a the arguments of a patch without using any external?

2011-03-09 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-03-09 15:25, Mathieu Bouchard wrote:
>
>> it has to get assigned to a person.
>> this can either be done at commit time or later.
> 
> Excuse me ? I thought that the process of assignation was just so that
> each ticket is handled by the person most competent for the topic of the
> bug report or patch (and sometimes to ensure that no person gets
> overloaded with tickets).
> 
> If not, then what is the purpose of assigning tickets ?

so who is the most competent person for a certain ticket?
and can we expect a submitter to know? (e.g. if they haven't read the
book of rules in pd-dev)

for example, people tend to assign all sorts of tickets to hans, just
because they are using pd-extended and hans is somewhat prominently
responsible for this. it doesn't mean that he is the most competent
person for fixing a problem with, e.g. mrpeach/net

> « At commit time or later » instead sounds like the time for closing the
> ticket.

so the "or later" was meant as a backdoor in my argumentation to allow
re-assignment of ill-assigned topics or assignment of non-assigned topics.
"commit time" referred to the time where the ticket was initially opened
(which might not have been clear either)

fgmadr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk13kVEACgkQkX2Xpv6ydvR8mACeOQAXMqkIcrkJ4DLBNt9e/rST
utcAn2uJ2T7reoyacT9eb27Y0Gg8mPQ3
=BQco
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Get list of a the arguments of a patch without using any external?

2011-03-09 Thread Mathieu Bouchard

On Wed, 9 Mar 2011, IOhannes m zmoelnig wrote:

On 2011-03-08 20:08, Mathieu Bouchard wrote:

Why can we assume that each patch has been assigned to a person ? (What
has to happen before that step ?)

it has to get assigned to a person.
this can either be done at commit time or later.


Excuse me ? I thought that the process of assignation was just so that 
each ticket is handled by the person most competent for the topic of the 
bug report or patch (and sometimes to ensure that no person gets 
overloaded with tickets).


If not, then what is the purpose of assigning tickets ?

« At commit time or later » instead sounds like the time for closing the 
ticket.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread John Harrison
thanks for these suggestions. Here's how it's going so far:

On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry  wrote:

> hello,
>
> - try using a display list to render a sphere, so that every point don't
> have to be send for every sphere.
> see exemple 09.openGL/02.displaylist
> you can also use a model with a sphere.obj to have the same result.
>

if the spheres are all moving at once, would a display list still help?
Seems like recompilation would have to happen for every sphere for every
frame? I haven't tried the model yet...

>
> - gemhead are slow. i usually have better result using 1 gemhead and 200
> separator, or 200 gemlist, than using 200 gemhead.
>

It actually performed marginally slower with 1 gemhead and 200 sep and also
slower with 200 gemlist

>
> - try to put somewhere :
> [gemhead 1]
> [GEMglLightModeli GL_LIGHT_MODEL_TWO_SIDE GL_FALSE]
>
> it help a lot on my computer (GT 425M), but i don't know on other computer.
> could you try and tell me the performance improvement?
> (you may have to reverse some light to have close lighting result).
>

>From your earlier email thread on this list, I already tried that before. No
difference.


> - don't forget to check that you CPU run fullspeed. (sometimes pd use more
> than 100% cpu, but the cpu monitor fail to detect that and the cpu still run
> at low speed)
>

yeah it appears that happened, but forcing the CPU to run full speed makes
no difference for some reason.


>
> - start pd -noaudio if it is an option.
>

Already was done.

>
> - you can separate the physical model and the other calculation in a
> separate pd instance than Gem. using pd~. This may help
>

If I turn off rendering, CPU usage with physical model being calculated
hovers at about 4%, so this doesn't seem worth the effort. Am I missing
something?

Sending [res 2( to curve also made no difference.


>
> well, i think all of this should be enough to draw 10 time more spheres
> that what you need, at a good fps.
>

So far my mileage is varying! :-)

Thanks for the help. I guess I'll try the model next.

-John

>
> Cyrille
>
> Le 09/03/2011 02:16, John Harrison a écrit :
>
>> I'm working with a high-powered machine but I'm running into a bottleneck
>> with Gem. I'm running at 20fps and at times was intending to have as many as
>> 200+ lines and spheres on a 1024x768 screen. At around 60 lines/spheres I'm
>> already at 50% CPU. I know the problem is Gem because if I stop rendering,
>> CPU immediately drops to less than 4%. There's some other manipulations I
>> use periodically too causing another 40%+ of CPU so I'm a far cry from my
>> 200+ intention while saturating my computational limits. If I turn lighting
>> off, BTW, I already gain 10% CPU back (not an option I want to explore.)
>>
>> I'm not sure what to do and was even considering breaking the rendering
>> into independent screens (this machine has 8 cores), then using pix_share to
>> recombine them in a "master" instance. I'd have to use pix_snap to capture
>> each of the Gem windows in each of the processes, and each one draws about
>> 40% CPU when capturing a 1024x768 buffer at 20 fps so besides creating a
>> headache for myself this is going to be a lot of CPU overhead. I also don't
>> know how the graphics card is fitting into all of this, if it would become a
>> bottleneck at some point, how to tell, etc. What's the "top" command for a
>> graphics card? :-)
>>
>> These lines and spheres are nothing special, btw. No texturing, just
>> translates, colors, and alpha. the lines are made with curves of 2 points
>> each.
>>
>> Is there some trick or some area of programming or using the graphics card
>> I need to be considering? Any thoughts/advice would be appreciated. It's
>> strange --- I don't think I'm seeing performance on this machine much better
>> than on my not-so-special laptop.
>>
>> This machine has Nvidia GeForce GTX 460, Ubuntu 10.10 32 bit, Pd-extended
>> 0.42-5 binary from the Pure Data site, Intel i7 3Ghz. I'm using Nvidia
>> proprietary driver 290.19.06.
>>
>> When I say stuff like "40% CPU" I mean for a single core. So in theory
>> this machine has 800% CPU limit in my nomenclature. But since an instance of
>> Pd/Gem runs on only a single core, I have a limit of 100% for any single
>> Pd/Gem instance (as most of you already know I'm sure.)
>>
>> -John
>>
>> P.S. I'm loving working with Gem and pmpd these days. Awesome stuff, guys!
>> :-)
>>
>>
>>
>>
>>
>>
>>
>> ___
>> 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] Download Pd?

2011-03-09 Thread Marco Donnarumma
Yes, sure.
That's what I thought. Dealing with the whole website is a major
commitment.
Let's start with downloads page, then we'll see.

M


On Tue, Mar 8, 2011 at 6:54 PM, Hans-Christoph Steiner wrote:

>
> I think it should be ok for you to get admin access.  But just to make
> sure we are on the same page, we are talking about CSS/template work for
> just the downloads page, not the entire site.  If you want to take on
> the entire site, that is also possible, but that would mean getting more
> people involved.
>
> .hc
>
> On Tue, 2011-03-08 at 18:09 +, Marco Donnarumma wrote:
> > Ok, I'm reading the Plone documentation and as I imagined, it seems I
> > do need to be admin to access and modify the css style.
> >
> > IOhannes, how can we proceed?
> > Do I need server access too?
> >
> > Meantime,
> > does anyone want to share their ideas for a better looking style of
> > the site?
> > (font colors, dimensions, headers, etc, etc...)
> >
> > M
> >
> >
> >
> >
> > On Tue, Mar 8, 2011 at 5:31 PM, Hans-Christoph Steiner 
> > wrote:
> >
> > Awesome!  I don't know specifically, maybe IOhannes can add
> > some
> > details, but it should be a fairly standard Plone template
> > thing, so
> > check the Plone docs.
> >
> > .hc
> >
> >
> > On Tue, 2011-03-08 at 16:33 +, Marco Donnarumma wrote:
> > > Hey,
> > > I could give the CSS a go...
> > >
> > >
> > > HC what do I need, how can I access the CSS styles?
> > >
> > >
> > > M
> > >
> > >
> > >
> > >
> > > On Tue, Mar 8, 2011 at 3:32 PM, Pierre Massat
> > 
> > > wrote:
> > > Is IOhannes the only member in charge of maintaining
> > the
> > > website?
> > >
> > > 2011/3/8 Husk 00 
> > >
> > > On Tue, Mar 8, 2011 at 4:22 PM, Caio Barros
> > >  wrote:
> > > > Actually now the left menu and the tabs on
> > the top
> > > are redundant, and that
> > > > scratches my obsessive-compulsive
> > disorder.
> > > > Since it seems that the left menu is the
> > favorite
> > > one, maybe dropping the
> > > > top tabs should be cosidered.
> > > >
> > > > Caio Barros
> > > >
> > >
> > >
> > > I'm agree with that.
> > > thanks IOhannes for the effort...
> > > husk
> > >
> > > --
> > > when Art become pratical
> > > we call it technology.
> > >
> > > When Technology become useless
> > > we call it Art
> > >
> > > www.estereotips.net
> > >
> > >
> > >
> > >
> > ___
> > > Pd-list@iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > > http://lists.puredata.info/listinfo/pd-list
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Marco Donnarumma
> > > Independent New Media and Sonic Arts Professional,
> > Performer,
> > > Instructor
> > > ACE, Sound Design MSc by Research (ongoing)
> > > The University of Edinburgh, UK
> > > ~
> > > Portfolio: http://marcodonnarumma.com
> > > Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net
> > | http://www.flxer.net
> > > Event: http://www.liveperformersmeeting.net
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Marco Donnarumma
> > Independent New Media and Sonic Arts Professional, Performer,
> > Instructor
> > ACE, Sound Design MSc by Research (ongoing)
> > The University of Edinburgh, UK
> > ~
> > Portfolio: http://marcodonnarumma.com
> > Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net |
> http://www.flxer.net
> > Event: http://www.liveperformersmeeting.net
>
>
>
>


-- 
Marco Donnarumma
Independent New Media and Sonic Arts Professional, Performer, Instructor
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com
Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
Event: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] building on OSX

2011-03-09 Thread ronald kuivila

Hi all,

I am new to Pd.  I downloaded the basic MSP release and tried to  
compile under OSX, but I get a complaint from lipo.
The problem seems to be I have the 10.5 SDK, so altering the -i flag  
to  /Developer/SDKs/MacOSX10.5.sdk solved the problem:


	cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD
 -I/usr/X11R6/include -I../portaudio/include -I../portaudio/ 
src/common -I../portaudio/src/os/mac_osx/ -I../ 
portmidi/pm_common -I../portmidi/pm_mac -I../portmidi/ 
porttime -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO - 
DNEWBUFFER
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch  
ppc -Wno-error -O2  -o ../bin/pd-watchdog s_watchdog.c



Is there some way to automate this choice in the makefile?

Cheers,

RJK

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


Re: [PD] TouchOSC and Pure Data on OS X

2011-03-09 Thread Wilfred de Zoete
Installing the library on OSX was easier than I thought: path and 
startup under preferences.
Now I can create the objects. But... I still cannot open all the patches 
that I downloaded from the TouchOSC-site and Williams patch has the same 
problems. I just get a watch as mouse pointer. I can open and make new 
or other patches while this is going on but nothing happens. When I try 
it again sometimes PD crashes.


I did get a new patch to work. Basically I used the same objects as 
William described in his first reply ( that would be [udpreceive 8000], 
[unpackOSC], [print x] ) but to get a connection going I first had to 
connect from PD to the iPhone with the following comment and object:


[ connect 192.168.1.2 9000 \
|
[udpsend]

I hope this will help Richie as well.

Cheers,

Wilf

Op 09-03-11 10:05, Wilfred de Zoete schreef:

Thanks for the replies. I will comment on some quotes below:

Op 09-03-11 03:40, William Brent schreef:

OSCulator is really fantastic, yes.  In this case though, I think it's
easier to keep things streamlined and route everything in Pd.  I
didn't think of it until your reply, Richie, but I made this
abstraction for touchOSC's "simple" layout.  Just invoke it with a
port number [ipad-interface 8000] and you'll get all the parsed data
flowing to well-named sends.  For instance, to get the data from fader
4 on page 1 of the simple layout, you can receive from [r
ipad-8000-p1-fader4].  Comb through the rest of the patch to see how
other sends are named.


- Thanks. I will install the mrpeach library (I have updated my 
SVN-folder although I haven't used it in PD yet) and try your patch.



On Tue, Mar 8, 2011 at 9:31 PM, Richie Cyngler  wrote:

My problem with TouchOSC was getting it to see my laptop. I haven't been
able to set up a network with just the laptop and TouchOSC (though I haven't
tried for a while) this is supposed to work though.
As far as using OSC in Pd check out the mrpeach library. It is awesome.
I'm sure it's possible to get the OSC data to come straight into Pd but in
regards to getting those messages all nice and neat and easy I recommend
OSCulator (I have no connection to guy making it, I just like it). It's
third party software. Very easy to use and works very well. It's OSX only.
I've used OSCulator for wiimotes and wacom tablets... I'm not really using
OSC at the moment, so I haven't had a chance to give TouchOSC a good going
over yet, but OSCulator does support TouchOSC.
Hope that helps.


- Somehow I got the patch working once without any 
library-installation... I don't know how but now I know that it's not 
part of the normal extended because when I try to reproduce Richies 
patch PD prints "...couldn't create".


I have also downloaded and will buy OSCulator and got it up and 
running, I got it to control iTunes via Applescript (Apples native 
Remote app has issues here) and QLab. I also got LiveControl running 
to control ... Ableton Live.


My first attempt with TouchOSC and PD got a good connection too as 
print was working overtime with the xyz-axis. This was via direct 
connection via UDP from iPhone to PD. The hostname is mycomputer.local 
and I used outgoing port 8000.



On Wed, Mar 9, 2011 at 12:28 PM, Wilfred de Zoete
wrote:

I have recently purchased TouchOSC on the iPhone and have succesfully
controlled Ableton Live with LiveControl and iTunes and other programs with
OSCulator (AppleScript).

When I try the PD-examples fromhttp://hexler.net/software/touchosc  I have
no succes. When I want to open the .pd file with the most recent version of
PD extended (0.42.5) I get the old watch and nothing happpens. This is also
the case with older PD's I use.

I got the 'basic.pd' up and running before I installed one of the other
programs (LiveControl or OSCulator or TouchOSC Editor) but cannot remember
which one.

I know that the .pd files have a prefilled [OSCreceive] (don't remember
the correct syntax) with port 8000. OSCulator has a default port of 8000 as
well. So I tried a cold boot and did not start up any other program than PD.
Even this did not help.

Could this be the problem?

Are there more people working with TouchOSC and PD? Can someone help me
trying to make a new OSCreceive from scratch with the correct syntax?

System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15" MBP.
All software is up to date.

Thanks in advance!

Greets,

Wilfred



___
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] sourceforge tracker (was: Re: Get list of a the arguments of a patch without using any external?)

2011-03-09 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-03-08 20:16, Mathieu Bouchard wrote:
> On Tue, 8 Mar 2011, IOhannes m zmoelnig wrote:
>> On 2011-03-08 09:47, Mathieu Bouchard wrote:
>>> On Tue, 8 Mar 2011, IOhannes m zmoelnig wrote:
 iirc, this was discussed on the pd-dev list prior to enabling the
 "feature".
>>> Is reading pd-dev a requirement for people who submit to the
>>> patchtracker ?
>> i don't think so. however, if people complain that there posts are not
>> processed in the way they imagine that they should, they might want to
>> familiarize themselves with the way others imagine it.
> 
> How does that not mean "I think so" ?

you don't have to know that issues in the tracker are forwarded to
pd-dev, in order to submit issues.



if you are using the tracker to send emails to pd-dev without having to
be subscribed, then you are obviously trying to tweak rules of pd-dev.
if you try to tweak the rules, then you should probably know them.


> How would anyone find out about the rule, other than reading a few years
> of pd-dev until stumbling upon that thread ; or writing a mail that will
> be interpreted as being a "complaint" simply because "report" and
> "inquiry" aren't in the vocabulary ?

why do you insist in having explicit knowledge about the rules?

i keep submitting bugs and patches to other projects at sourceforge, and
i couldn't care less whether these tickets are automatically forwarded
to some email address or not.
i don't know the tracker rules of these projects. but i see that there
_is_ a tracker, and hope that someone will eventually read it (when they
find time).
that's it.

(i find that trackers that contain 5 or less items are usually worthless
(except for very young projects), as they seem to be not used at all but
have been created automatically and nobody turned them off; with
projects that have many issues, and many of them closed, i usually
assume that the tracker is in active use and eventually somebody
responsible will have a look at my issue)



fmgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk13SscACgkQkX2Xpv6ydvS6NgCffjDy9RuuwQR0uCIV4VKDuZhC
YJkAoN+GXivxYds2doS2pOIl7i7O4wT/
=Qq96
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Download Pd?

2011-03-09 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-03-09 06:07, Hans-Christoph Steiner wrote:
> 
> It would be nice to see the website look better, I don't have an time to
> invest in working on this project.  One easy first step would be to make
> a mockup of what you are thinking somewhere and post it.
> 

personally, one of the major things in my puredata.info TODO is to
update the plone instance to a newer version of Plone (Plone4 that is).

this should make lots of things easier and nicer, but otoh might break
some of the efforts discussed here.
the major drawback is, that this will not happen within the next weeks.


fgamsdr
IOhannes


PS: btw, there is a nice low-traffic mailinglist "pdweb" [1] that is
dedicated to the "puredata.info" portal. i suggest to move discussion
about new webskins to this list.


[1] http://lists.puredata.info/listinfo/pdweb
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk13R30ACgkQkX2Xpv6ydvQpSACfVwSh0X7Noy/gdtRXyJUU58AC
LwUAnjzqWbGzkN69fGmoOkjUgc1xff/3
=pmGi
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Get list of a the arguments of a patch without using any external?

2011-03-09 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-03-08 20:08, Mathieu Bouchard wrote:
> On Tue, 8 Mar 2011, IOhannes m zmoelnig wrote:
> 
>> it's very simple:
>> each patch is assigned to a person (well, let's assume it is).
> 
> Why can we assume that each patch has been assigned to a person ? (What
> has to happen before that step ?)

it has to get assigned to a person.
this can either be done at commit time or later.


> 
> Can you write us what you meant to write instead of "have a good they,".
> 
> 

i meant to write "have a good day", meaing "if they feel like it" (but
trying to avoid phrase duplication), really meaning that looking (and
reacting) on the bug-tracker is a good-will action of the assignee.

fgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk13RGQACgkQkX2Xpv6ydvSRhQCg9wEK5hPrYBYVDhdV1bMyM3pD
i1QAn3PmaJvGVuVWo65FESEX+ofmOlmP
=J7ny
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] TouchOSC and Pure Data on OS X

2011-03-09 Thread Wilfred de Zoete

Thanks for the replies. I will comment on some quotes below:

Op 09-03-11 03:40, William Brent schreef:

OSCulator is really fantastic, yes.  In this case though, I think it's
easier to keep things streamlined and route everything in Pd.  I
didn't think of it until your reply, Richie, but I made this
abstraction for touchOSC's "simple" layout.  Just invoke it with a
port number [ipad-interface 8000] and you'll get all the parsed data
flowing to well-named sends.  For instance, to get the data from fader
4 on page 1 of the simple layout, you can receive from [r
ipad-8000-p1-fader4].  Comb through the rest of the patch to see how
other sends are named.


- Thanks. I will install the mrpeach library (I have updated my 
SVN-folder although I haven't used it in PD yet) and try your patch.



On Tue, Mar 8, 2011 at 9:31 PM, Richie Cyngler  wrote:

My problem with TouchOSC was getting it to see my laptop. I haven't been
able to set up a network with just the laptop and TouchOSC (though I haven't
tried for a while) this is supposed to work though.
As far as using OSC in Pd check out the mrpeach library. It is awesome.
I'm sure it's possible to get the OSC data to come straight into Pd but in
regards to getting those messages all nice and neat and easy I recommend
OSCulator (I have no connection to guy making it, I just like it). It's
third party software. Very easy to use and works very well. It's OSX only.
I've used OSCulator for wiimotes and wacom tablets... I'm not really using
OSC at the moment, so I haven't had a chance to give TouchOSC a good going
over yet, but OSCulator does support TouchOSC.
Hope that helps.


- Somehow I got the patch working once without any 
library-installation... I don't know how but now I know that it's not 
part of the normal extended because when I try to reproduce Richies 
patch PD prints "...couldn't create".


I have also downloaded and will buy OSCulator and got it up and running, 
I got it to control iTunes via Applescript (Apples native Remote app has 
issues here) and QLab. I also got LiveControl running to control ... 
Ableton Live.


My first attempt with TouchOSC and PD got a good connection too as print 
was working overtime with the xyz-axis. This was via direct connection 
via UDP from iPhone to PD. The hostname is mycomputer.local and I used 
outgoing port 8000.



On Wed, Mar 9, 2011 at 12:28 PM, Wilfred de Zoete
wrote:

I have recently purchased TouchOSC on the iPhone and have succesfully
controlled Ableton Live with LiveControl and iTunes and other programs with
OSCulator (AppleScript).

When I try the PD-examples from http://hexler.net/software/touchosc I have
no succes. When I want to open the .pd file with the most recent version of
PD extended (0.42.5) I get the old watch and nothing happpens. This is also
the case with older PD's I use.

I got the 'basic.pd' up and running before I installed one of the other
programs (LiveControl or OSCulator or TouchOSC Editor) but cannot remember
which one.

I know that the .pd files have a prefilled [OSCreceive] (don't remember
the correct syntax) with port 8000. OSCulator has a default port of 8000 as
well. So I tried a cold boot and did not start up any other program than PD.
Even this did not help.

Could this be the problem?

Are there more people working with TouchOSC and PD? Can someone help me
trying to make a new OSCreceive from scratch with the correct syntax?

System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15" MBP.
All software is up to date.

Thanks in advance!

Greets,

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


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread cyrille henry



Le 09/03/2011 02:16, John Harrison a écrit :
oh, i forget :

These lines and spheres are nothing special, btw. No texturing, just 
translates, colors, and alpha. the lines are made with curves of 2 points each.


do you mean that you create [curve 2], or that you send a [res 2< message to 
the curve object?
the res 2 message will use only 2 points to draw the curve. No need to have 
more to display a line

c

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


Re: [PD] How do I squeeze more performance out of Gem?

2011-03-09 Thread cyrille henry

hello,

- try using a display list to render a sphere, so that every point don't have 
to be send for every sphere.
see exemple 09.openGL/02.displaylist
you can also use a model with a sphere.obj to have the same result.

- gemhead are slow. i usually have better result using 1 gemhead and 200 
separator, or 200 gemlist, than using 200 gemhead.

- try to put somewhere :
[gemhead 1]
[GEMglLightModeli GL_LIGHT_MODEL_TWO_SIDE GL_FALSE]

it help a lot on my computer (GT 425M), but i don't know on other computer.
could you try and tell me the performance improvement?
(you may have to reverse some light to have close lighting result).

- don't forget to check that you CPU run fullspeed. (sometimes pd use more than 
100% cpu, but the cpu monitor fail to detect that and the cpu still run at low 
speed)

- start pd -noaudio if it is an option.

- you can separate the physical model and the other calculation in a separate 
pd instance than Gem. using pd~. This may help

well, i think all of this should be enough to draw 10 time more spheres that 
what you need, at a good fps.

Cyrille

Le 09/03/2011 02:16, John Harrison a écrit :

I'm working with a high-powered machine but I'm running into a bottleneck with 
Gem. I'm running at 20fps and at times was intending to have as many as 200+ 
lines and spheres on a 1024x768 screen. At around 60 lines/spheres I'm already 
at 50% CPU. I know the problem is Gem because if I stop rendering, CPU 
immediately drops to less than 4%. There's some other manipulations I use 
periodically too causing another 40%+ of CPU so I'm a far cry from my 200+ 
intention while saturating my computational limits. If I turn lighting off, 
BTW, I already gain 10% CPU back (not an option I want to explore.)

I'm not sure what to do and was even considering breaking the rendering into independent screens 
(this machine has 8 cores), then using pix_share to recombine them in a "master" 
instance. I'd have to use pix_snap to capture each of the Gem windows in each of the processes, and 
each one draws about 40% CPU when capturing a 1024x768 buffer at 20 fps so besides creating a 
headache for myself this is going to be a lot of CPU overhead. I also don't know how the graphics 
card is fitting into all of this, if it would become a bottleneck at some point, how to tell, etc. 
What's the "top" command for a graphics card? :-)

These lines and spheres are nothing special, btw. No texturing, just 
translates, colors, and alpha. the lines are made with curves of 2 points each.

Is there some trick or some area of programming or using the graphics card I 
need to be considering? Any thoughts/advice would be appreciated. It's strange 
--- I don't think I'm seeing performance on this machine much better than on my 
not-so-special laptop.

This machine has Nvidia GeForce GTX 460, Ubuntu 10.10 32 bit, Pd-extended 
0.42-5 binary from the Pure Data site, Intel i7 3Ghz. I'm using Nvidia 
proprietary driver 290.19.06.

When I say stuff like "40% CPU" I mean for a single core. So in theory this 
machine has 800% CPU limit in my nomenclature. But since an instance of Pd/Gem runs on 
only a single core, I have a limit of 100% for any single Pd/Gem instance (as most of you 
already know I'm sure.)

-John

P.S. I'm loving working with Gem and pmpd these days. Awesome stuff, guys! :-)







___
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