Re: [PD] drag and drop files in pd ?

2010-11-07 Thread patko
hello, 

 the drag'n'drop tcl command is implemented for opening pd files, if you are 
curious look for this code in pd.tk:

catch {
package require tkdnd
dnd bindtarget . text/uri-list Drop {
foreach file %D {open_file $file}
}
}

 you will need to install tktdnd lib to try out this GUI feature.

It would be nice to have externals using this lib.

- tep tep.c...@gmail.com a écrit :

 i'm looking for a way to drag and drop files in linux (ubuntu), in
 order to get the path of the file (in the manner of the [dropfile]
 object in maxmsp) and possibly the filetype ?
 
 --
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet 

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


Re: [PD] iterated positions into .txt file

2010-11-07 Thread cyrille henry

hello,

Le 07/11/2010 07:14, adam sanches a écrit :

maybe i wasnt clear:

i have this patch:

gemhead
   |
repeat 30
   |
translateXYZ 10 10 0
   |
sphere


gemlist_info after the sphere will send you the sphere postion.

with a conter to track the sphere Number, you can pack all the information you wish in a 
list and create a ad message to send to the textfile object.

Cyrille
 


how can i save the coordinates of the 30 geos into a .txt file?
i would like to have my txt in this way:
sphere1 x: 20 y: 20
sphere2 x: 23 y: 34
sphere2 x: 13 y: 4
and so on


how can i do this?

Thanks

A.



2010/11/6 adam sanches adam.sanc...@gmail.com
mailto:adam.sanc...@gmail.com

Hi, i  need to save into a .txt file all the positions of iterated
spheres made with repeat from zexy;

which mechanism do i need to get the individual position of each geo
in the iterated chain?

thanks




___
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] ReacTIVision to Max4live (don't hate)

2010-11-07 Thread Menno van der Woude
Hi,

another way would be to use midi directly from the reacTIVision application.
In the midi xml file you can define what data goes where, depending also on
the fiducial. It is fairly easy to define which fiducial outputs midi 'knob
data' to which channel. Then to receive this in Reaktor in Windows does
require something like midiyoke. In linux jack and qjackctl are great for
this purpose.

This way you would not need Pd or max. Though it simplifies the output, and
does not allow you manipulate the data, so that would depend on the exact
kind of data you want to receive in Reaktor.

Best regards,

Menno

On Sat, Nov 6, 2010 at 7:26 PM, Jeffrey Concepcion 
jeffreyconcepc...@gmail.com wrote:

 I was able to use the reactivision software to control parameters in Pure
 Data, but i want to achieve this internally in Live using Max4Live . So far
 i've been able to register the TUIO messages in the m4l patch, but it
 doesn't differentiate between fiducials. I get errors that state $ variable
 out of range and extra argument, but the objects i'm using [send
 $1-tuioObjectAlive 0] were copied from the TUIO dispatcher maxpatch that the
 reactivision folks provide on their site.

 I realize that the problem may come from the difference between Pd and max,
 and the fact that Pd uses a message box to send out [$2-tuioObjectAlive 0]
 and max uses the [send] object.

 Any suggestions?

 P.S. Ultimately, the goal is to map the fiducials to the control knobs on
 Reaktor's skrewell so it would go like reactivisionM4LReaktor instead of
 having to do reactivisionPdmidiyokeReaktor, or  is this the longer way
 around?

 P.P.S. I'm on Windows 7.

 --
 www.epicjefferson.com
 www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org

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




-- 
---
Muziek, weblog en zo meer:
www.indelucht.nl
---
A photo a day keeps the questions away:
www.whatkeepsmegoing.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Musical notation object on Pd

2010-11-07 Thread João Pais

I don't know if you already see this website:
http://music.columbia.edu/~alessi/  
http://music.columbia.edu/%7Ealessi/ it

has an e-mail but is very outdated...


that mail bounced. it's current employer has his name on a list, but no  
mail contact.



I still think you could do all the CAC 'logic' in Pd and use external  
tools

for the music notation part.



I could do it, no doubt about it, and I think that I will eventualy (I'm
having some troubles with jack in my computer though, but that's another
problem). Still, what I want is something to display the pitches inside  
Pd
while I'm working with the algorithms, honestly, all those hacks are not  
as

good as a tool like those from PWGL or OpenMusic. I know that Pd was not
tought as a CAC program, but on the other side, It was not tought as a  
video

rendering software either...


I also agree. this isn't about rendering a score programmed in Pd, but  
working on the score at the same time one works on Pd. And for that it's  
necessary that both things work at the same time and can communicate with  
each other.
One other detail that would be important is also the communication from  
the score to the patch. For example, trigger events by clicking in the  
score, etc.




Don't get me wrong, all those ideas were very very helpful and I will try
them, but since we are just talking about an (yet) hypothetical tool, I
think we should consider what would be the best thing to have for that
poupose. Pd has a lot of potential as a CAC tool (we are already doing  
it)
and a notation display is something that I feel is essential for that  
task.


As I said, this project seemed to me to be nice, and it's also at an  
advanced stage. http://sourceforge.net/projects/inscore/


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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread Ed Kelly
 I'm not a programmer and don't want to disencourage you, but I don't know if 
you're really picking the 

 right surface/tools for this. would it make sense to unite forces around an 
other project?


Well...that might have been an option, but the first concert is already 
organised, in less than three months, the system is nearly finished, and I've 
been working on it for two years.

I can't stop now!!!

It _will_ work.

Ed


 Another one! I'm working on a full system of music notation display for GEM if
 that's any help. Progress is really slow, I'm using dynamic patching to create
 the objects, and it's in no way compatible with Lilypond notation.
 
 In fact, it's a painful process. The kind of object you are talking about 
would
 be much nicer - but only if it could also cope with complete rhythmic elements
 (ties, beaming, time sigs etc) for me.



  

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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread João Pais
that looks a nice beginning (I can't try it now). But I would say that in  
order to make a complete object, it should be possible to


- render complex musical structures (including microtonal pitches,  
dynamics, articulations, rhythms, polyphony ...)
- get instructions from pd and/or from other standards - musicxml, for  
example

- use characters and fonts defined by the user
- on top of the cherry, interact with pd as well - e.g. release messages  
when someone clicks on a note on the score, ...

- whatever I'm not remembering now

Since there are already some projects going through in this area (e.g.  
pwgl or inscore), wouldn't it make sense to try to integrate with these,  
or try to help them, instead of reinventing the wheel?


João



On Thu, 4 Nov 2010, Caio Barros wrote:


Hello guys. I've been dreaming about an object that would display
musical notation and output data (like midi numbers for instance).


Hi, I just made a slider for a musical note on a stave, but I haven't
decided what to do with the scales. Look at this :

   http://gridflow.ca/help/note-help.png

(It's in GridFlow's SVN, if you can use that.)

  ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC



--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp

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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread Ed Kelly
Having said what I said, inscore does look particularly interesting

 Metastudio 4 for Pure Data - coming soon!
Metastudio 3 still available at http://sharktracks.co.uk/puredata



- Original Message 
From: Ed Kelly morph_2...@yahoo.co.uk
To: João Pais jmmmp...@googlemail.com
Cc: PD List pd-list@iem.at
Sent: Sun, 7 November, 2010 10:37:49
Subject: Re: [PD] Musical notation object on Pd

 I'm not a programmer and don't want to disencourage you, but I don't know if 
you're really picking the 

 right surface/tools for this. would it make sense to unite forces around an 
other project?


Well...that might have been an option, but the first concert is already 
organised, in less than three months, the system is nearly finished, and I've 
been working on it for two years.

I can't stop now!!!

It _will_ work.

Ed


 Another one! I'm working on a full system of music notation display for GEM if
 that's any help. Progress is really slow, I'm using dynamic patching to create
 the objects, and it's in no way compatible with Lilypond notation.
 
 In fact, it's a painful process. The kind of object you are talking about 
would
 be much nicer - but only if it could also cope with complete rhythmic elements
 (ties, beaming, time sigs etc) for me.



  

___
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] Musical notation object on Pd

2010-11-07 Thread Andy Farnell

That's a really neat and clever little object
that musicians will immediately love.

a.


On Sat, 6 Nov 2010 23:50:37 -0400 (EDT)
Mathieu Bouchard ma...@artengine.ca wrote:

 On Thu, 4 Nov 2010, Caio Barros wrote:
 
  Hello guys. I've been dreaming about an object that would display 
  musical notation and output data (like midi numbers for instance).
 
 Hi, I just made a slider for a musical note on a stave, but I haven't 
 decided what to do with the scales. Look at this :
 
http://gridflow.ca/help/note-help.png
 
 (It's in GridFlow's SVN, if you can use that.)
 
   ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC


-- 
Andy Farnell padawa...@obiwannabe.co.uk

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


[PD] gridflow-9.13 on win32 [was: Re: Musical notation object on Pd]

2010-11-07 Thread patko
Hello,

 it looks like we can have real score display on pd!


Last svn release of gridflow was successfully compiled on win32 after three 
modif...

lgamma_r function isn't implemented on mingw so I've just removed it from 
numop1.cxx,
maybe it's possible to grab it from ruby sources and add it to the build system?

pdp doesn't exist yet(?) on windows so I've removed it from makefile, 

there is also a missing line in classes1.cxx:

#ifdef __MINGW32__
void *alloca(size_t);
#endif

I've attached a screenshot from the doc patch, the object doesn't seem to show 
the note at the right place,
it seems to be caused by this error:

 speedlim 50
... couldn't create




- Caio Barros caio.bar...@gmail.com a écrit :

 This looks just awesome! Unfortunately I'm not at home this week and I
 don't have linux down here. Is there a way to use SVN under windows?
 About the scale, do you have problems with midi note? I believe this
 would be the most compatible with other functions.
 
 2010/11/7 Mathieu Bouchard  ma...@artengine.ca 
 
 
 
 
 On Thu, 4 Nov 2010, Caio Barros wrote:
 
 
 
 Hello guys. I've been dreaming about an object that would display
 musical notation and output data (like midi numbers for instance).
 
 Hi, I just made a slider for a musical note on a stave, but I haven't
 decided what to do with the scales. Look at this :
 
 http://gridflow.ca/help/note-help.png
 
 (It's in GridFlow's SVN, if you can use that.)
 
 
 
 
 ___
 | 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

-- 
Patrice Colet 
attachment: note-help-win32.jpg___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Musical notation object on Pd

2010-11-07 Thread Ed Kelly
 Since there are already some projects going through in this area (e.g. pwgl 
 or 
inscore), wouldn't it
 make sense to try to integrate with these, or try to help them, instead of 
reinventing the wheel?


Perhaps, but consider this:

The performer I am working with is a percussionist, and excellent at 
sight-reading music. However, he's not by any stretch of the imagination a 
programmer, and the idea of giving him command-line compilation issues to deal 
with, or complex connectivity between packages, would kill the project straight 
away. From me he needs to receive, via email, a PD patch that will just work. 
If 
other libraries are wrapped into PD i.e. externals are made and integrated 
into a future PD-extended, then these might provide some practical options for 
me to work with classical musicians who aren't programmers (and the majority of 
them are not). However, for the time being I am limited to that which can be 
rendered by the current PD-extended straight out of the (in)box, without any 
modifications to the computer it is running on.

That is why I'm building a system that uses just GEM and a truetype font, which 
can be made into a single package and distributed to the performer of my piece. 
If I had institutional support perhaps I could envisage something more complex 
to work, but I have been unlucky in that respect. I could either give up, or 
try 
to find a practical solution that works both for me and for a non-computer geek 
classically trained player. I choose the latter because I want to make music.

Best,
Ed



  

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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread patko

- Caio Barros caio.bar...@gmail.com a écrit :

 About the scale, do you have problems with midi note? I believe this
 would be the most compatible with other functions.
 
 2010/11/7 Mathieu Bouchard  ma...@artengine.ca 

 Hi, I just made a slider for a musical note on a stave, but I haven't
 decided what to do with the scales

 We usually set scale by transposing to the fifth (the major scale seven half 
tones upper) for adding a sharp,
 and to the fourth (the major scale five half-tones upper) for adding a flat


-- 
Patrice Colet 

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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread João Pais
I know about non-techsavy classical players, I wrote the click tracker for  
them - http://puredata.info/Members/jmmmp/click-tracker.


of course you shouldn't send any cryptical commands to anyone who isn't  
interested in getting them. But for example packaging inscore into the  
same folder as your patch, and starting it (it's a separate application)  
isn't that hard to manage in Pd, and not something that's hard to  
organise. as long as the patch works on its own, the players don't really  
care what's happening inside.


you're free to do what you want, I would myself not even venture into such  
a project, because there are already several resources available that  
might be more efficient on doing the same (or even a better) job.



Since there are already some projects going through in this area (e.g.  
pwgl or

inscore), wouldn't it
make sense to try to integrate with these, or try to help them, instead  
of

reinventing the wheel?



Perhaps, but consider this:

The performer I am working with is a percussionist, and excellent at
sight-reading music. However, he's not by any stretch of the imagination  
a
programmer, and the idea of giving him command-line compilation issues  
to deal
with, or complex connectivity between packages, would kill the project  
straight
away. From me he needs to receive, via email, a PD patch that will just  
work. If
other libraries are wrapped into PD i.e. externals are made and  
integrated
into a future PD-extended, then these might provide some practical  
options for
me to work with classical musicians who aren't programmers (and the  
majority of
them are not). However, for the time being I am limited to that which  
can be
rendered by the current PD-extended straight out of the (in)box, without  
any

modifications to the computer it is running on.

That is why I'm building a system that uses just GEM and a truetype  
font, which
can be made into a single package and distributed to the performer of my  
piece.
If I had institutional support perhaps I could envisage something more  
complex
to work, but I have been unlucky in that respect. I could either give  
up, or try
to find a practical solution that works both for me and for a  
non-computer geek
classically trained player. I choose the latter because I want to make  
music.


Best,
Ed







--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp

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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread Ed Kelly
Yep, you're probably right. I hate this project already, since it's given me a 
summer of frustration while I attempt to look after a 1-year old child while 
trying to get my head around segmented counts and automatically adjusted beams. 
The latter is solved, the former is in an emacs window next to this one.

I'm just in a bit too deep to get out now! If I'd known about inscore before I 
started, I probably would have gone down that path. It doesn't seem to have a 
Linux compile method though...and I don't have a Mac...and the player does.

Best,
Ed


 of course you shouldn't send any cryptical commands to anyone who isn't 
interested in getting
 them. But for example packaging inscore into the same folder as your patch, 
 and 
starting it (it's a
 separate application) isn't that hard to manage in Pd, and not something 
 that's 
hard to organise. as 

 long as the patch works on its own, the players don't really care what's 
happening inside.


 you're free to do what you want, I would myself not even venture into such a 
project, because there 

 are already several resources available that might be more efficient on doing 
the same (or even a 

 better) job.


 Since there are already some projects going through in this area (e.g. pwgl 
or
 inscore), wouldn't it
 make sense to try to integrate with these, or try to help them, instead of
 reinventing the wheel?
 
 
 Perhaps, but consider this:
 
 The performer I am working with is a percussionist, and excellent at
 sight-reading music. However, he's not by any stretch of the imagination a
 programmer, and the idea of giving him command-line compilation issues to deal
 with, or complex connectivity between packages, would kill the project 
straight
 away. From me he needs to receive, via email, a PD patch that will just work. 
If
 other libraries are wrapped into PD i.e. externals are made and integrated
 into a future PD-extended, then these might provide some practical options for
 me to work with classical musicians who aren't programmers (and the majority 
of
 them are not). However, for the time being I am limited to that which can be
 rendered by the current PD-extended straight out of the (in)box, without any
 modifications to the computer it is running on.
 
 That is why I'm building a system that uses just GEM and a truetype font, 
which
 can be made into a single package and distributed to the performer of my 
piece.
 If I had institutional support perhaps I could envisage something more complex
 to work, but I have been unlucky in that respect. I could either give up, or 
try
 to find a practical solution that works both for me and for a non-computer 
geek
 classically trained player. I choose the latter because I want to make music.
 
 Best,
 Ed
 
 
 
 


--Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp



  

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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread João Pais
that makes sense, now it's not the time to stop. maybe for the next piece  
(or not) :)


I only tried the windows version, but inscore should work for all  
plattforms, I think (or I'm misunderstanding something).



Yep, you're probably right. I hate this project already, since it's  
given me a
summer of frustration while I attempt to look after a 1-year old child  
while
trying to get my head around segmented counts and automatically adjusted  
beams.

The latter is solved, the former is in an emacs window next to this one.

I'm just in a bit too deep to get out now! If I'd known about inscore  
before I
started, I probably would have gone down that path. It doesn't seem to  
have a
Linux compile method though...and I don't have a Mac...and the player  
does.


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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread Marco Donnarumma
Ed that's really madness! but it does look great, I'd be curious to see the
patch.


M



 Yes, it's madness to try this through dynamic patching, but I'm getting
 pretty
 far (see screenshot)




-- 
Marco Donnarumma aka TheSAD
Independent New Media Arts Professional, Performer, Teacher
Ongoing MSc by Research, 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] gemnotes (was Re: Musical notation object on Pd)

2010-11-07 Thread cyrille henry

Hello,

why did you work with dynamic patching?
it's very easy to script Gem.

Cyrille

Le 07/11/2010 14:28, Ed Kelly a écrit :

Yes, it's madness to try this through dynamic patching, but I'm getting pretty
far (see screenshot)






___
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] Musical notation object on Pd

2010-11-07 Thread Caio Barros
patko:

 We usually set scale by transposing to the fifth (the major scale seven
 half tones upper) for adding a sharp,
  and to the fourth (the major scale five half-tones upper) for adding a
 flat


Now I'm confused. What does Mathieu meant by scale? I tought it was just
what number corresponds to what pitch.


João:

 Since there are already some projects going through in this area (e.g. pwgl
 or inscore), wouldn't it make sense to try to integrate with these, or try
 to help them, instead of reinventing the wheel?


I just tryed INScore and it looks fantastic, although I don't know yet if it
can send information to Pd, how it handles microtonal information, etc. The
problem I see is having that separate window to display the results. Right
now I'm convinced that the ideal would be to have a display inside the same
patch you are working on, a real object.

What Mathieu Bouchard did seems to be just in the right way, although it do
need all that implementations you mentioned its a very very good start.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Musical notation object on Pd

2010-11-07 Thread João Pais
I just tryed INScore and it looks fantastic, although I don't know yet  
if it
can send information to Pd, how it handles microtonal information, etc.  
The
problem I see is having that separate window to display the results.  
Right
now I'm convinced that the ideal would be to have a display inside the  
same

patch you are working on, a real object.

What Mathieu Bouchard did seems to be just in the right way, although it  
do

need all that implementations you mentioned its a very very good start.


The developer told me that it can't send information to pd yet. The  
outside window might make sense sometimes (it does as an extra for my  
Click Tracker patch), other times not, that's true. I didn't ask him if it  
would be possible to integrate it inside Pd.


--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp

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


Re: [PD] gemnotes (was Re: Musical notation object on Pd)

2010-11-07 Thread Mathieu Bouchard

On Sun, 7 Nov 2010, cyrille henry wrote:


why did you work with dynamic patching? it's very easy to script Gem.


What do you mean by to script ?

 ___
| 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] gemnotes (was Re: Musical notation object on Pd)

2010-11-07 Thread Mathieu Bouchard

On Sun, 7 Nov 2010, Ed Kelly wrote:

Yes, it's madness to try this through dynamic patching, but I'm getting pretty 
far (see screenshot)


Perhaps it's easier to zip an existing GridFlow binary into an existing 
pd-extended package to get [gf/gl], than to have to do dynamic patching 
and weird [repeat] tricks in GEM.


I created [gf/gl] because it allows to get rid of nearly all annoyances in 
the use of OpenGL, because OpenGL commands are represented by *messages*, 
not *objects*.


 ___
| 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] iterated positions into .txt file

2010-11-07 Thread Mathieu Bouchard

On Sat, 6 Nov 2010, adam sanches wrote:


maybe i wasnt clear:

i have this patch:

gemhead
  |
repeat 30
  |
translateXYZ 10 10 0
  |
sphere


How about using [GEMglFeedbackBuffer] and [GEMglRenderMode] with 
GL_FEEDBACK ? That's basically what I told you on IRC.


(except I said to send render_mode feedback to [gf/gl] and then I 
realised [gf/gl] doesn't have the feedback_buffer method yet ; but it's 
not a problem to mix together GEM and [gf/gl] commands)


 ___
| 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] gemnotes (was Re: Musical notation object on Pd)

2010-11-07 Thread Jack
I think it is something near the exemple use for the LSystem (or i am
wrong).
You just need to define in one message the model you want to show at
each frame. It is most simple to 'manage' than dynamic patching during
the execution of the program.
++

Jack



Le dimanche 07 novembre 2010 à 12:04 -0500, Mathieu Bouchard a écrit :
 On Sun, 7 Nov 2010, cyrille henry wrote:
 
  why did you work with dynamic patching? it's very easy to script Gem.
 
 What do you mean by to script ?
 
   ___
 | 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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gemnotes (was Re: Musical notation object on Pd)

2010-11-07 Thread Mathieu Bouchard

On Sun, 7 Nov 2010, Mathieu Bouchard wrote:

On Sun, 7 Nov 2010, Ed Kelly wrote:

Yes, it's madness to try this through dynamic patching, but I'm getting 
pretty far (see screenshot)


Perhaps it's easier to zip an existing GridFlow binary into an existing 
pd-extended package to get [gf/gl], than to have to do dynamic patching and 
weird [repeat] tricks in GEM.


I created [gf/gl] because it allows to get rid of nearly all annoyances in 
the use of OpenGL, because OpenGL commands are represented by *messages*, not 
*objects*.


BTW it's very possible to integrate together GEM and [gf/gl]... you can 
add [gf/gl] abstractions that pretend that they use the gem_state message 
they get. You can convert your existing abstractions one at a time, 
whenever you feel like it. It's a lot different from starting the whole 
thing over.


 ___
| 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] Musical notation object on Pd

2010-11-07 Thread Mathieu Bouchard

On Sun, 7 Nov 2010, Caio Barros wrote:

This looks just awesome! Unfortunately I'm not at home this week and I 
don't have linux down here. Is there a way to use SVN under windows?


Getting SVN to run under windows might be the easiest step. After that you 
have to compile the library. The hardest part of compiling the library is 
to add all the DLL files and the H files you need to produce a 
full-featured GRIDFLOW.DLL. Though you can make a minimal one more easily, 
you need at least PNG support and SDL support to be able to use my new 
[note] abstraction.


It would be nice to have it precompiled on the gridflow site, but after my 
installation of Windows corrupted itself on its own, I didn't feel like 
reinstalling it. At least I found a «recovery disk» some months ago. I 
haven't tried it yet.


 ___
| 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] Musical notation object on Pd

2010-11-07 Thread Jamie Bullock

On 7 Nov 2010, at 10:23, João Pais wrote:

 
 As I said, this project seemed to me to be nice, and it's also at an advanced 
 stage. http://sourceforge.net/projects/inscore/
 

Indeed! Wow, inscore (Interlude Score) seems to be another incredible project 
from GRAME. Thanks for the link. Very impressive.

Jamie


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


[PD] OpenLab OpenDay and Night next Saturday 13th Nov, 2010 @ The Apiary

2010-11-07 Thread Robert Munro
Sorry 4 x, pls 

The next OpenLab OpenNight is an afternoon as wlll, it is the 1 yr
anniversary event, and we are having presentations in the afternoon before
performances later on about 7pm.

It's scheduled to kick off at 3pm Saturday 13th November @ The Apiary
(formerly The Hackney Rose) (Suggested £2 donation), 458 Hackney Rd, E2 9EG.

As usual it is open to everyone - so if you would like to present or perform
then it not too late ... as always, put your name up on the WIKI :)
http://www.pawfal.org/openlabwiki/index.php?page=OpenNight

Line up so far is:-
*Presentations:*
* Claude Heiland-Allen/ClaudiusMaximus : z→z²+c generative fractal music
using periodic attractors in the Mandelbrot Set
* Rob Munro : Android drawing app  Android NDK
* jag: On periodic computable functions.
* Emmanuel Revah: Still Video.

*Performances:*
* Rob Munro : More PD  Android stuff.
* Claude Heiland-Allen/ClaudiusMaximus : RDEX audio/visual performance using
reaction-diffusion systems
* zambari / eqav : overdriven transistors sequenced in an old school - acid
techno style
* Ryan Jordan : Splittercore with DiY Punk Elektonics, and maybe a laptop

Hope to see you there  :)

best rob

FB Event http://www.facebook.com/event.php?eid=168670443145445  : Facebook
Event

FB Group http://www.facebook.com/group.php?gid=107673199262882  : Facebook
Group


http://www.facebook.com/event.php?eid=168670443145445
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Pd workshop in Vienna (Metalab), 27.+28.Nov

2010-11-07 Thread Georg Holzmann

Hallo!

At the 27.+28.11.2010 there will be a free Pure Data workshop at the 
Metalab (metalab.at) in Vienna, Austria.
For further information see the wiki page: 
http://metalab.at/wiki/Pd-Workshop !


So if you are in Vienna or somewhere around in central europe, you are 
invited to join us !
(and please add your name to the wiki, so that I can somehow estimate 
how many people will come ...)


Have fun,
LG
Georg

--
http://grh.mur.at

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


[PD] lowest latency ARM board for Pd

2010-11-07 Thread Hans-Christoph Steiner


I'm curious about people's experience about getting low latency  
performance using Pd on ARM.  From what I've seen Pd on iPod Touch/ 
iPhone is the best.  Has anyone gotten solid 20ms latency from an ARM/ 
Linux board or phone?


.hc



All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated -John Donne




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


Re: [PD] drag and drop files in pd ?

2010-11-07 Thread Hans-Christoph Steiner


The framework is there in 0.43, it just needs the final Tcl glue to  
the TkDND library.  This could also be implemented as  an external, if  
you want.


.hc

On Nov 3, 2010, at 5:34 AM, tep wrote:

i'm looking for a way to drag and drop files in linux (ubuntu), in  
order to get the path of the file (in the manner of the [dropfile]  
object in maxmsp) and possibly the filetype ?


--


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







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] Pd 20% idle CPU usage on MBP

2010-11-07 Thread Hans-Christoph Steiner


On Nov 1, 2010, at 7:31 AM, Jamie Bullock wrote:



On 28 Oct 2010, at 17:55, Mathieu Bouchard wrote:


On Thu, 28 Oct 2010, brandon zeeb wrote:


This thread comes up every year or two,


I'd say at least twice a year... I think I already wrote about it  
on pd-list this autumn, no...? But it's hard to search the archives  
about the frequency of that thread, as the keywords might not be  
consistent. I just know that the problem has existed for quite a  
few years and that I read about it on pd-list more than a handful  
of times.


Indeed! I remembered it coming up and so I searched the archives  
before posting, but keywords like 'cpu' and 'usage' don't do very  
much.


However, digging a little with Shark, I see that a high proportion  
of Pd's CPU time is spent talking with the audio hardware, so I try  
Google:  DspFuncLib portaudio, and lo and behold:


http://www.google.co.uk/search?q=DspFuncLib+portaudio

Trouble is use jack doesn't solve the problem, it merely avoids it.

So, zooming in a bit, I see at least two issues here:

	1. there is a lot of activity in the underlying audio drivers when  
using the Portaudio driver on OS X, even when audio is off in the  
application.  Let's call this the 'idle' CPU usage. IMO, this should  
be less than 1% on modern CPUs for well behaved applications. I've  
added this to the bug tracker.


	2. there is a lot of activity in the underlying audio drivers when  
using the Portaudio driver on OS X, when audio is on in Pd.  
Comparison with AudioMulch, which also uses Portaudio suggests that  
is only in part a Portaudio problem. AudioMulch idles at ~10% on my  
machine. I suspect that the problem with Pd+portaudio may be due to  
a small buffer size used by Pd. I thought Pd's 'Delay' setting in  
audio preferences was supposed to handle this, but changing delay to  
500ms, has no effect on CPU use. Also added to tracker.


As far as I understand it, Pd only does the 20% idle thing when its  
not really doing anything.  So if Pd is working hard, it'll stop  
spending 20% of the CPU idling.  I could be wrong tho, and that would  
be worth profiling.  That's the key point: is Pd efficient when its  
doing stuff, rather than whether it uses extra CPU when idling.


.hc



I have the audacity to believe that peoples everywhere can have three  
meals a day for their bodies, education and culture for their minds,  
and dignity, equality and freedom for their spirits.  - Martin  
Luther King, Jr.




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


Re: [PD] Fedora build of Pd-extended 0.42.5?

2010-11-07 Thread Hans-Christoph Steiner


On Nov 4, 2010, at 2:44 PM, Jeff Sandys wrote:

I 've read on Hans' website that Planet CCRMA needs a build of the  
latest
Pd-extended. I have Fedora 12 on my laptop and I'm beginning to  
realize that

it'd be actually cool to have an updated version of Pd to play with.

I'd be glad to help, if :
1- this isn't too complicated, because my knowledge is extremely  
limited
(I've read the page on Pd.info about building pd, if it's only a  
matter of
downloading all the devel tools and typing Make in a terminal it's  
cool)
2- this won't take too long (cause i have quite a lot of work to do  
right

now).

Pierre


It requires a little more than ./configure, make, make install but
I was able to build 42.4 on fedora 13 and updated the Fedora page
on the PD Community Site:
http://puredata.info/docs/developer/Fedora
You may want to install to a separate directory to keep your older
version.  If you find any mistakes in the page above, please correct
it for others who follow.
-- Jeff Sandys



Gi Vania is also trying to get Fedora builds going.  He's got a  
complete build on Fedora 14.  I don't have regular access to a Fedora  
machine currently, and I don't know Fedora.  Can anyone do a basic RPM  
spec file?  I figure we could start with a really basic one that just  
packed up the files that are built from the existing build system.


.hc




  ¡El pueblo unido jamás será vencido!



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


Re: [PD] -lib segfault : tool to help reporting crashes (linux only)

2010-11-07 Thread Hans-Christoph Steiner


Sounds very cool, any plan to distribute as a binary, or at least a  
tarball with a build system?


.hc

On Nov 2, 2010, at 8:44 PM, Mathieu Bouchard wrote:



I don't remember whether I posted this before. It's an external that  
doesn't define any classes, but installs a crash report handler that  
prints to the terminal. It requires execinfo.h which is linux- 
specific. It decodes C++ symbols using cxxabi.h (provided by  
glibc). This means you don't need to run gdb to get a basic listing  
of what happens. However you will still need gdb if you need to know  
what the function arguments were.


If you run an older version of GridFlow (9.11 or earlier) you will  
need to ensure segfault appears after gridflow in the Startup  
menu. If not, the order does not matter (unless you need to trap a  
crash at load-time).


--8cut-here8--

// segfault.cxx 1.0 by Mathieu Bouchard, 2010
// compile with : g++ segfault.cxx -shared -o segfault.pd_linux

#include stdio.h
#include string.h
#include unistd.h
#include execinfo.h
#include signal.h
#include cxxabi.h

static void fault (int sig) {
 const char *s;
 if (sig==SIGSEGV) s=Segmentation Fault;
 if (sig==SIGABRT) s=Abort;
 if (sig==SIGILL)  s=Invalid Instruction;
 if (sig==SIGBUS)  s=Bus Error;
 fprintf(stderr,\n-- caught %s\n,s);
#if defined(MACOSX) || defined(__WIN32__)
 fprintf(stderr,unhandled exception\n);
#else
 void *array[100]; char demangled[1024]; size_t length=1024; int  
status;

 int nSize = backtrace(array,100);
 char **symbols = backtrace_symbols(array, nSize);
//  for (int i=0; inSize; i++) fprintf(stderr,%d: %s 
\n,i,symbols[i]);

 for (int i=1; inSize; i++) {
   char *a = strchr(symbols[i],'(');
   char *b = strchr(symbols[i],'+');
   if (ab) {
   char mangled[1024]; sprintf(mangled,%.*s,int(b- 
a-1),a+1);
   if  
(abi::__cxa_demangle(mangled,demangled,length,status))
   fprintf(stderr,%3d: %.*s 
\n,i,int(length),demangled);

   else
   fprintf(stderr,%3d: %s\n,i,symbols[i]);
   }
   elsefprintf(stderr,%3d: %s\n,i,symbols[i]);
 }
#endif
 fprintf(stderr, crash report displayed by  
segfault.pd_linux 1.0 (by matju)\n\n);

 signal(sig,SIG_DFL);
 _exit(128+sig);
}

extern C void segfault_setup (void) {
 signal(SIGSEGV,fault);
 signal(SIGABRT,fault);
 signal(SIGILL, fault);
 signal(SIGBUS, fault);
}

___
| Mathieu Bouchard -- Villeray,  
Montréal, QC___

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






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




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


Re: [PD] Musical notation object on Pd

2010-11-07 Thread Mathieu Bouchard

On Sun, 7 Nov 2010, Caio Barros wrote:

About the scale, do you have problems with midi note? I believe this 
would be the most compatible with other functions.


Well, normally I use midi note numbers or a transposed version thereof 
(especially : midi note minus a multiple of 12), but in this case, I have 
only implemented «white keys», and then, I wonder what you expect the 
interface to be, to implement the «black keys», and whether those numbers 
should be displayed as dièse or bémol.


I think I will use the vertical space as something as equally divided as 
possible into midi notes, and then display all of them as either unaltered 
or dièse. Later, the latter part can be modified to show notes in any 
other chosen scale, maybe...


And I want an option to hide the clef de Sol (thinking of it in the 
context of using it as a [#many] component, hypothesising a future in 
which [#many] supports an abstraction name as its $1).


 ___
| 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] Musical notation object on Pd

2010-11-07 Thread jancs...@yahoo.com
On Nov 7, 2010, at 11:49 PM, Mathieu Bouchard ma...@artengine.ca wrote:

On Sun, 7 Nov 2010, Caio Barros wrote:

About the scale, do you have problems with midi note? I believe this would be 
the most compatible with other functions.

Well, normally I use midi note numbers or a transposed version thereof 
(especially : midi note minus a multiple of 12), but in this case, I have only 
implemented «white keys», and then, I wonder what you expect the interface to 
be, to implement the «black keys», and whether those numbers should be 
displayed as dièse or bémol.


You could have a method that sets accidental type.  Zero for flats, 1 for 
sharps.  ( I suppose you could also suppress accidentals but then you'd be 
notating the pitches incorrectly, and I don't see the purpose of doing that. ).

I think I will use the vertical space as something as equally divided as 
possible into midi notes, and then display all of them as either unaltered or 
dièse. Later, the latter part can be modified to show notes in any other chosen 
scale, maybe...

And I want an option to hide the clef de Sol (thinking of it in the context of 
using it as a [#many] component, hypothesising a future in which [#many] 
supports an abstraction name as its $1).

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