R: Re: pwgl-users: XML import/export

View: New views
18 Messages — Rating Filter:   Alert me  

R: Re: pwgl-users: XML import/export

by cpicchia@libero.it :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

I joined the mailing list since a few weeks (looking for an
environment to experiment in constraint programming) and let me add my short
experience.

In spite of  I have a good background in lisp programming and I
worked with other composition environment  (e.g. Common Music ...) the first
approach has been not easy. The built-in tutorial seems to me the main (only ?)
resource (even if I found here and there, some other documents with different
level of detail).

I fully agree with Brian that other resources could be
highly appreciated and also with  Josue when says that composers require other
types of tutorials. It would be nice to see examples starting from a musical
idea or problem and to discover how to implement it within PWGL (with a raising
complexity): in other words a kind of tutorial more musically oriented.

Last
but not least how to disagree with the idea to share music and the related
patches ?

Thanks for your patience and to all contributing to the system.
 

Claudio Picchia
 


Re: R: Re: pwgl-users: XML import/export

by Fabio Selvafiorita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't think the problem is a more "musical" oriented tutorial...the  
"computational" difficulties approaching pwgl I think that are not so  
different from that of, for example, Processing.
But I think we, as users, need comprensible tutorials outside the  
patches itself.
A patch its not always self-explicating and I think that we need more  
"word" that tell what's going on inside the patch and what's the goal  
of that patch. (I think that the mit book about processing its a good  
reference...or the old documentation in pdf for the libraries in OM)
This probably its just a problem of mine but I need a book,  
physically, to study and where I made all my sketches. For example I  
had to create a PDF, just for printing it, of the tutorial...and for  
every page I made a snapshot, edited it and than make a pdf and than  
printed. Sometimes I made the same thing with the documentation  
inside the object (when its present) and this just for a minimum  
reference to something that I can understand...I think that if the  
goal its to share knowledge we need a better documentation(first from  
the developers) of the object, of tutorials and of all the libraries.

p.s
obiouvlsy tell me if you need the pdf of all the tutorial... its 13  
mb pdf of 107 pages.




Il giorno 09/lug/09, alle ore 14:39, cpicchia@... ha scritto:

> Dear all,
>
> I joined the mailing list since a few weeks (looking for an
> environment to experiment in constraint programming) and let me add  
> my short
> experience.
>
> In spite of  I have a good background in lisp programming and I
> worked with other composition environment  (e.g. Common Music ...)  
> the first
> approach has been not easy. The built-in tutorial seems to me the  
> main (only ?)
> resource (even if I found here and there, some other documents with  
> different
> level of detail).
>
> I fully agree with Brian that other resources could be
> highly appreciated and also with  Josue when says that composers  
> require other
> types of tutorials. It would be nice to see examples starting from  
> a musical
> idea or problem and to discover how to implement it within PWGL  
> (with a raising
> complexity): in other words a kind of tutorial more musically  
> oriented.
>
> Last
> but not least how to disagree with the idea to share music and the  
> related
> patches ?
>
> Thanks for your patience and to all contributing to the system.
>
>
> Claudio Picchia
>
>
>


Re: R: Re: pwgl-users: XML import/export

by Mika Kuuskankare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fabio,

Sorry about the extra work you had to do... We actually have the whole  
tutorial as a PDF because we have a way to produce it automatically...  
I will add a preliminary version of it to our web page and post the  
link here.

If you have any suggestions let me know. There are still some minor  
errors with the images etc....

best,

Mika

On 9.7.2009, at 16:04, Fabio Selvafiorita wrote:

> I don't think the problem is a more "musical" oriented  
> tutorial...the "computational" difficulties approaching pwgl I think  
> that are not so different from that of, for example, Processing.
> But I think we, as users, need comprensible tutorials outside the  
> patches itself.
> A patch its not always self-explicating and I think that we need  
> more "word" that tell what's going on inside the patch and what's  
> the goal of that patch. (I think that the mit book about processing  
> its a good reference...or the old documentation in pdf for the  
> libraries in OM)
> This probably its just a problem of mine but I need a book,  
> physically, to study and where I made all my sketches. For example I  
> had to create a PDF, just for printing it, of the tutorial...and for  
> every page I made a snapshot, edited it and than make a pdf and than  
> printed. Sometimes I made the same thing with the documentation  
> inside the object (when its present) and this just for a minimum  
> reference to something that I can understand...I think that if the  
> goal its to share knowledge we need a better documentation(first  
> from the developers) of the object, of tutorials and of all the  
> libraries.
>
> p.s
> obiouvlsy tell me if you need the pdf of all the tutorial... its 13  
> mb pdf of 107 pages.
>
>
>
>
> Il giorno 09/lug/09, alle ore 14:39, cpicchia@... ha scritto:
>> Dear all,
>>
>> I joined the mailing list since a few weeks (looking for an
>> environment to experiment in constraint programming) and let me add  
>> my short
>> experience.
>>
>> In spite of  I have a good background in lisp programming and I
>> worked with other composition environment  (e.g. Common Music ...)  
>> the first
>> approach has been not easy. The built-in tutorial seems to me the  
>> main (only ?)
>> resource (even if I found here and there, some other documents with  
>> different
>> level of detail).
>>
>> I fully agree with Brian that other resources could be
>> highly appreciated and also with  Josue when says that composers  
>> require other
>> types of tutorials. It would be nice to see examples starting from  
>> a musical
>> idea or problem and to discover how to implement it within PWGL  
>> (with a raising
>> complexity): in other words a kind of tutorial more musically  
>> oriented.
>>
>> Last
>> but not least how to disagree with the idea to share music and the  
>> related
>> patches ?
>>
>> Thanks for your patience and to all contributing to the system.
>>
>>
>> Claudio Picchia
>>
>>
>>
>

Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL









Re: pwgl-users: XML import/export

by Torsten Anders-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 9 Jul 2009, at 15:04, Fabio Selvafiorita wrote:

obiouvlsy tell me if you need the pdf of all the tutorial... its 13  

mb pdf of 107 pages.


Perhaps there could instead be some PWGL code for doing something like that automatically? After all, you already support PS export anyway? 

Thank you! 

Best
Torsten

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219 
Private: +44-1752-558917





Re: pwgl-users: XML import/export

by Mika Kuuskankare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I put the PWGL book online. It can be found in our downloads page.  
Here is also the direct link:

http://www2.siba.fi/PWGL/pwglbook1.pdf   (about 1.8MB)



-Mika

On 9.7.2009, at 16:25, Torsten Anders wrote:

> On 9 Jul 2009, at 15:04, Fabio Selvafiorita wrote:
>> obiouvlsy tell me if you need the pdf of all the tutorial... its 13
>> mb pdf of 107 pages.
>
>
> Perhaps there could instead be some PWGL code for doing something  
> like that automatically? After all, you already support PS export  
> anyway?
>
> Thank you!
>
> Best
> Torsten
>
> --
> Torsten Anders
> Interdisciplinary Centre for Computer Music Research
> University of Plymouth
> Office: +44-1752-586219
> Private: +44-1752-558917
> http://strasheela.sourceforge.net
> http://www.torsten-anders.de
>
>
>
>

Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL









Re: R: Re: pwgl-users: XML import/export

by Julien Vincenot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Composer-friendly tutorials do exist for PWGL : you should
look the huge tutorials Jacopo made for his librairies
(the ones published yesterday on the list).

For instance, there's more than 150 progressive patches about how to
work with constraint-based composition using PMC functions.
Each of them contains fully descriptive texts with references to
important parts of the patch.

I agree that beginning PWGL is not an easy work. I was lost myself
for almost six months in the tutorials before to meet some people
who had something musical to show me.

As PWGL is a LISP environment with graphic interface, the beginner should
just try to read the first chapters of any CommonLISP book, like Touretsky's one.
Actually the first chapters of this one relies on patch-like representations
that really helped me to learn faster both LISP and PWGL.

But I'm not sure that a physical book would be so helpful today for beginners.
As you always need to play with the patches to really progress, it would be more
interesting for me to develop the online documentation, available anytime like in Max,
while programming.

For instance Jacopo suggested this year that the composition students of Montbeliard,
as myself, began to build a huge library of examples patches (with texts)
for PWGL. It is actually not ready but the amount of patches increased constantly.

If any user of PWGL began to right-click->Window->Edit window any interesting
patch he/she managed to do and made it available somewhere (that's the question !),
I think that the PWGL community would increase in a really faster way.

(sorry for the block…)
Best

Julien

> Message du 09/07/09 16:09
> De : "Fabio Selvafiorita"
> A : pwgl-users@...
> Copie à :
> Objet : Re: R: Re: pwgl-users: XML import/export
>
>
> I don't think the problem is a more "musical" oriented tutorial...the
> "computational" difficulties approaching pwgl I think that are not so
> different from that of, for example, Processing.
> But I think we, as users, need comprensible tutorials outside the
> patches itself.
> A patch its not always self-explicating and I think that we need more
> "word" that tell what's going on inside the patch and what's the goal
> of that patch. (I think that the mit book about processing its a good
> reference...or the old documentation in pdf for the libraries in OM)
> This probably its just a problem of mine but I need a book,
> physically, to study and where I made all my sketches. For example I
> had to create a PDF, just for printing it, of the tutorial...and for
> every page I made a snapshot, edited it and than make a pdf and than
> printed. Sometimes I made the same thing with the documentation
> inside the object (when its present) and this just for a minimum
> reference to something that I can understand...I think that if the
> goal its to share knowledge we need a better documentation(first from
> the developers) of the object, of tutorials and of all the libraries.
>
> p.s
> obiouvlsy tell me if you need the pdf of all the tutorial... its 13
> mb pdf of 107 pages.
>
>
>
>
> Il giorno 09/lug/09, alle ore 14:39, cpicchia@... ha scritto:
> > Dear all,
> >
> > I joined the mailing list since a few weeks (looking for an
> > environment to experiment in constraint programming) and let me add
> > my short
> > experience.
> >
> > In spite of I have a good background in lisp programming and I
> > worked with other composition environment (e.g. Common Music ...)
> > the first
> > approach has been not easy. The built-in tutorial seems to me the
> > main (only ?)
> > resource (even if I found here and there, some other documents with
> > different
> > level of detail).
> >
> > I fully agree with Brian that other resources could be
> > highly appreciated and also with Josue when says that composers
> > require other
> > types of tutorials. It would be nice to see examples starting from
> > a musical
> > idea or problem and to discover how to implement it within PWGL
> > (with a raising
> > complexity): in other words a kind of tutorial more musically
> > oriented.
> >
> > Last
> > but not least how to disagree with the idea to share music and the
> > related
> > patches ?
> >
> > Thanks for your patience and to all contributing to the system.
> >
> >
> > Claudio Picchia
> >
> >
> >
>
>
>



Re: pwgl-users: XML import/export

by Fabio Selvafiorita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mika thanks for everything
that's a tutorial :-)

this was mine
http://www.fabioselvafiorita.com/pdf/PWGLtut.pdf

thanks again!!!



Il giorno 09/lug/09, alle ore 16:49, Mika Kuuskankare ha scritto:

> Hi,
>
> I put the PWGL book online. It can be found in our downloads page.  
> Here is also the direct link:
>
> http://www2.siba.fi/PWGL/pwglbook1.pdf   (about 1.8MB)
>
>
>
> -Mika
>
> On 9.7.2009, at 16:25, Torsten Anders wrote:
>
>> On 9 Jul 2009, at 15:04, Fabio Selvafiorita wrote:
>>> obiouvlsy tell me if you need the pdf of all the tutorial... its 13
>>> mb pdf of 107 pages.
>>
>>
>> Perhaps there could instead be some PWGL code for doing something  
>> like that automatically? After all, you already support PS export  
>> anyway?
>>
>> Thank you!
>>
>> Best
>> Torsten
>>
>> --
>> Torsten Anders
>> Interdisciplinary Centre for Computer Music Research
>> University of Plymouth
>> Office: +44-1752-586219
>> Private: +44-1752-558917
>> http://strasheela.sourceforge.net
>> http://www.torsten-anders.de
>>
>>
>>
>>
>
> Dr. Mika Kuuskankare
> Composer, programmer and researcher
> Centre for Music & Technology
> Sibelius Academy
>
> Henkilökohtainen postiosoite/Personal post address
> PL 342 - PO Box 342
> FIN-00121 Helsinki, FINLAND
> Mobile: +358 (0)40 5415 233 (Finland)
> Skype: mkuuskan
> personal home page: www.siba.fi/~mkuuskan
> project home page: www.siba.fi/PWGL
>
>
>
>
>
>
>
>
>



Re: R: Re: pwgl-users: XML import/export

by fred-com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For sure !
PWGL is just a 'little bit' newer... and at same time much more older...
than OpenMusic !
May I ask ? (hum, I didn't try yet, bckps are quite far on my floppies...)
is that possible to open a Patchwork file from 1992 in PWGL ? If yes
you'll get thousands of tutorials and works ad pieces of music from the
early 90's !

Best,
fred

Julien VINCENOT wrote:

> Composer-friendly tutorials do exist for PWGL : you should
> look the huge tutorials Jacopo made for his librairies
> (the ones published yesterday on the list).
>
> For instance, there's more than 150 progressive patches about how to
> work with constraint-based composition using PMC functions.
> Each of them contains fully descriptive texts with references to
> important parts of the patch.
>
> I agree that beginning PWGL is not an easy work. I was lost myself
> for almost six months in the tutorials before to meet some people
> who had something musical to show me.
>
> As PWGL is a LISP environment with graphic interface, the beginner should
> just try to read the first chapters of any CommonLISP book, like Touretsky's one.
> Actually the first chapters of this one relies on patch-like representations
> that really helped me to learn faster both LISP and PWGL.
>
> But I'm not sure that a physical book would be so helpful today for beginners.
> As you always need to play with the patches to really progress, it would be more
> interesting for me to develop the online documentation, available anytime like in Max,
> while programming.
>
> For instance Jacopo suggested this year that the composition students of Montbeliard,
> as myself, began to build a huge library of examples patches (with texts)
> for PWGL. It is actually not ready but the amount of patches increased constantly.
>
> If any user of PWGL began to right-click->Window->Edit window any interesting
> patch he/she managed to do and made it available somewhere (that's the question !),
> I think that the PWGL community would increase in a really faster way.
>
> (sorry for the block…)
> Best
>
> Julien
>
>> Message du 09/07/09 16:09
>> De : "Fabio Selvafiorita"
>> A : pwgl-users@...
>> Copie à :
>> Objet : Re: R: Re: pwgl-users: XML import/export
>>
>>
>> I don't think the problem is a more "musical" oriented tutorial...the
>> "computational" difficulties approaching pwgl I think that are not so
>> different from that of, for example, Processing.
>> But I think we, as users, need comprensible tutorials outside the
>> patches itself.
>> A patch its not always self-explicating and I think that we need more
>> "word" that tell what's going on inside the patch and what's the goal
>> of that patch. (I think that the mit book about processing its a good
>> reference...or the old documentation in pdf for the libraries in OM)
>> This probably its just a problem of mine but I need a book,
>> physically, to study and where I made all my sketches. For example I
>> had to create a PDF, just for printing it, of the tutorial...and for
>> every page I made a snapshot, edited it and than make a pdf and than
>> printed. Sometimes I made the same thing with the documentation
>> inside the object (when its present) and this just for a minimum
>> reference to something that I can understand...I think that if the
>> goal its to share knowledge we need a better documentation(first from
>> the developers) of the object, of tutorials and of all the libraries.
>>
>> p.s
>> obiouvlsy tell me if you need the pdf of all the tutorial... its 13
>> mb pdf of 107 pages.
>>
>>
>>
>>
>> Il giorno 09/lug/09, alle ore 14:39, cpicchia@... ha scritto:
>>> Dear all,
>>>
>>> I joined the mailing list since a few weeks (looking for an
>>> environment to experiment in constraint programming) and let me add
>>> my short
>>> experience.
>>>
>>> In spite of I have a good background in lisp programming and I
>>> worked with other composition environment (e.g. Common Music ...)
>>> the first
>>> approach has been not easy. The built-in tutorial seems to me the
>>> main (only ?)
>>> resource (even if I found here and there, some other documents with
>>> different
>>> level of detail).
>>>
>>> I fully agree with Brian that other resources could be
>>> highly appreciated and also with Josue when says that composers
>>> require other
>>> types of tutorials. It would be nice to see examples starting from
>>> a musical
>>> idea or problem and to discover how to implement it within PWGL
>>> (with a raising
>>> complexity): in other words a kind of tutorial more musically
>>> oriented.
>>>
>>> Last
>>> but not least how to disagree with the idea to share music and the
>>> related
>>> patches ?
>>>
>>> Thanks for your patience and to all contributing to the system.
>>>
>>>
>>> Claudio Picchia
>>>
>>>
>>>
>>
>>
>
>
>


--
"...the current paradigm is so thoroughly established that the only way
to change is to start over again."
(Donald Norman, in: The Invisible Computer)

Re: pwgl-users: XML import/export

by Torsten Anders-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Mika,

Thank you very much, that was quick indeed:)

Only a minor comment: could you perhaps use single spacing instead of double spacing. Otherwise it would be a wast of paper if people want to print it.

Thank you! 

Best
Torsten

On 9 Jul 2009, at 15:49, Mika Kuuskankare wrote:

Hi,

I put the PWGL book online. It can be found in our downloads page.  
Here is also the direct link:




-Mika

On 9.7.2009, at 16:25, Torsten Anders wrote:

On 9 Jul 2009, at 15:04, Fabio Selvafiorita wrote:
obiouvlsy tell me if you need the pdf of all the tutorial... its 13
mb pdf of 107 pages.


Perhaps there could instead be some PWGL code for doing something  
like that automatically? After all, you already support PS export  
anyway?

Thank you!

Best
Torsten

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219
Private: +44-1752-558917





Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL










Re: pwgl-users: XML import/export

by dioioib :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Mika,

I must commend you, as that book is very well composed, and it will be a great aid.

Regards,

--
Brian


On Thu, Jul 9, 2009 at 12:40 PM, Torsten Anders <torsten.anders@...> wrote:
Dear Mika,

Thank you very much, that was quick indeed:)

Only a minor comment: could you perhaps use single spacing instead of double spacing. Otherwise it would be a wast of paper if people want to print it.

Thank you! 

Best
Torsten

On 9 Jul 2009, at 15:49, Mika Kuuskankare wrote:

Hi,

I put the PWGL book online. It can be found in our downloads page.  
Here is also the direct link:




-Mika

On 9.7.2009, at 16:25, Torsten Anders wrote:

On 9 Jul 2009, at 15:04, Fabio Selvafiorita wrote:
obiouvlsy tell me if you need the pdf of all the tutorial... its 13
mb pdf of 107 pages.


Perhaps there could instead be some PWGL code for doing something  
like that automatically? After all, you already support PS export  
anyway?

Thank you!

Best
Torsten

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219
Private: +44-1752-558917





Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL












--
Brian E L Durocher
http://dioioib.blogspot.com
http://dioioib.mine.nu/~briandurocher/
http://dioioib.mine.nu/

pwgl-users: strange pb with Cocoa

by fred-com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have the following bug when loading PWGL into LW since I restarted LW
one time :

When loading PWGl (cmd-1) into LW, i have an lisp error window saying:
"error in porcess Cocoa event loop - undebuggable process" (see
screenshot1.png)
this seems do do with coll2lisp than unfortunately I don't load by
myself... (see screenshot2.png)

don't know why... LW seems to work but not sure all is ok,
if one of you knows...

Fred



screenshot1.png (246K) Download Attachment
screenshot2.png (259K) Download Attachment

Re: pwgl-users: strange pb with Cocoa

by fred-com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes, thank's Julien,
this was just a simple pb of permissions as debugger said.
I posted it because it was strange since it didn't happen
before and I changed nothing in that by myself...
fred

fredvoisin wrote:

> Hello,
>
> I have the following bug when loading PWGL into LW since I restarted LW
> one time :
>
> When loading PWGl (cmd-1) into LW, i have an lisp error window saying:
> "error in porcess Cocoa event loop - undebuggable process" (see
> screenshot1.png)
> this seems do do with coll2lisp than unfortunately I don't load by
> myself... (see screenshot2.png)
>
> don't know why... LW seems to work but not sure all is ok,
> if one of you knows...
>
> Fred
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>


--
"...the current paradigm is so thoroughly established that the only way
to change is to start over again."
(Donald Norman, in: The Invisible Computer)

pwgl-users: about lambda mode

by fred-com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

sorry, I didn't got the answer into pwgl help when searching for "lambda":
is it possible to turn directly any pwgl-boxe into lambda mode (with
just a key, as lock-mode) and to consider that the args to call are just
- and only - the ones which are not graphically connected ?
(wasn't it the Patchwork's behavior  in old times ?)
If yes, this may be a very convenient feature since it save time, for
instance if you just want to turn an box in lambda, you shouldn't have
to redesign it as same but just in an box...

actuall I just see: by building an abstraction to be turned as lambda
mode, and writting lisp lambda in a value box to be eval...

thank's for help,
fred


pwgl-users: lisp time ?

by fred-com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi again dear list,
I may need to use time cl fct into pwgl patches,
but cl-user::time seems not to work (illegal argument in functor pos)
but only in the LW listener (I don't really know why...)
I tryed to embed cl-user::time into my asdf lib within a generic fun,
but got only 0.00000000 of user time with 0 bytes computed, or got
illegal argument in functor position (when (eval (time arg)) :)...
is there a way to make it working ?
Thank's,
best,
fred

Re: pwgl-users: lisp time ?

by Torsten Anders-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

time is a macro, not a function. This might be the reason it cannot  
be turned into a PWGL box.

Best
Torsten

On Jul 13, 2009, at 4:25 PM, fredvoisin wrote:

> hi again dear list,
> I may need to use time cl fct into pwgl patches,
> but cl-user::time seems not to work (illegal argument in functor pos)
> but only in the LW listener (I don't really know why...)
> I tryed to embed cl-user::time into my asdf lib within a generic fun,
> but got only 0.00000000 of user time with 0 bytes computed, or got
> illegal argument in functor position (when (eval (time arg)) :)...
> is there a way to make it working ?
> Thank's,
> best,
> fred

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-586219
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de



Re: pwgl-users: lisp time ?

by Mika Kuuskankare :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred,

There's actually a time-box in Utilities/misc... try that

-Mika

On 13.7.2009, at 17:25, fredvoisin wrote:

> hi again dear list,
> I may need to use time cl fct into pwgl patches,
> but cl-user::time seems not to work (illegal argument in functor  
> pos) but only in the LW listener (I don't really know why...)
> I tryed to embed cl-user::time into my asdf lib within a generic fun,
> but got only 0.00000000 of user time with 0 bytes computed, or got  
> illegal argument in functor position (when (eval (time arg)) :)...
> is there a way to make it working ?
> Thank's,
> best,
> fred

Dr. Mika Kuuskankare
Composer, programmer and researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Mobile: +358 (0)40 5415 233 (Finland)
Skype: mkuuskan
personal home page: www.siba.fi/~mkuuskan
project home page: www.siba.fi/PWGL









Re: pwgl-users: lisp time ?

by Kilian Sprotte-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Torsten Anders <torsten.anders@...> writes:

> time is a macro, not a function. This might be the reason it cannot be
> turned into a PWGL box.
>
> Best
> Torsten
>

Hi all,

that is exactly the reason -- right now, macros are not supported in
patches. At some point this might change....

Currently, it is possible to use them inside abstractions in
lambda-mode. The attached patch is nonsense, but it shows the use of
TIME and IF inside the abstraction.

In the case of giving NIL as an argument, IF successfully avoids calling
(+ NIL), which would result in an error.

Best,
  Kilian






--
Kilian Sprotte
Wörther Str. 27
10405 Berlin

49.176.29329656
49.30.76231989

kilian.sprotte@...
www.kiliansprotte.de

PWGL1.pwgl (11K) Download Attachment

Re: pwgl-users: lisp time ?

by fred-com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, thank's Mika !
fred

Mika Kuuskankare wrote:

> Fred,
>
> There's actually a time-box in Utilities/misc... try that
>
> -Mika
>
> On 13.7.2009, at 17:25, fredvoisin wrote:
>
>> hi again dear list,
>> I may need to use time cl fct into pwgl patches,
>> but cl-user::time seems not to work (illegal argument in functor pos)
>> but only in the LW listener (I don't really know why...)
>> I tryed to embed cl-user::time into my asdf lib within a generic fun,
>> but got only 0.00000000 of user time with 0 bytes computed, or got
>> illegal argument in functor position (when (eval (time arg)) :)...
>> is there a way to make it working ?
>> Thank's,
>> best,
>> fred
>
> Dr. Mika Kuuskankare
> Composer, programmer and researcher
> Centre for Music & Technology
> Sibelius Academy
>
> Henkilökohtainen postiosoite/Personal post address
> PL 342 - PO Box 342
> FIN-00121 Helsinki, FINLAND
> Mobile: +358 (0)40 5415 233 (Finland)
> Skype: mkuuskan
> personal home page: www.siba.fi/~mkuuskan
> project home page: www.siba.fi/PWGL
>
>
>
>
>
>
>
>
>


--
"...the current paradigm is so thoroughly established that the only way
to change is to start over again."
(Donald Norman, in: The Invisible Computer)