Mathieu Bouchard | 1 Nov 03:12 2007
Picon

Re: pdlua license (Was: Re: Fun with Lua coroutines)

On Wed, 31 Oct 2007, Claude Heiland-Allen wrote:

> Enrique Erne wrote:
>>> (Though pdlua's choice of GPL does not quite
>>> fit the BSD/MIT tradition of Pd and Lua.)
>> Starting with Lua 5.0, Lua is licensed under the terms of the MIT license.
>> http://www.lua.org/license.html
> Yes, Pd is BSD (I think), Lua is MIT, but pdlua is GPL (I guess by habit
> rather than deep choice).
> I'll think about this some more, maybe I'll change the license for
> future releases.  Would appreciate comments/criticism on this.
> I set the reply-to because this is a bit off-topic for pd-list...

licensing of pd externals is very much on-topic.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
_______________________________________________
PD-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Mathieu Bouchard | 1 Nov 03:20 2007
Picon

Re: TkWidget library

On Wed, 31 Oct 2007, Martin Peach wrote:

> Maybe if redundant calls could be pruned before going through the socket 
> things would work better. For instance if a number box is being updated 
> a few hundred times a second then it would be better if only the last 
> update per signal block would get through.

They already are, but just the builtin objects, *not* including IEMGUI. 
However, the way that they are pruned, they are sometimes not updated 
often: the appearance of a floatbox can hang while the server is too busy.

In contrast, DesireData has a minimum update rate of 50 ms of logical 
time. I can see tweaking that further, so that it is 50 ms of real time, 
or any other value of logical time or real time, and/or setting a max 
number of box updates per pass, or a max number of bytes of updates per 
pass.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
_______________________________________________
PD-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Martin Peach | 1 Nov 05:57 2007
Picon

Re: TkWidget library

Mathieu Bouchard wrote:
> On Wed, 31 Oct 2007, Martin Peach wrote:
>
>> Maybe if redundant calls could be pruned before going through the 
>> socket things would work better. For instance if a number box is 
>> being updated a few hundred times a second then it would be better if 
>> only the last update per signal block would get through.
>
> They already are, but just the builtin objects, *not* including 
> IEMGUI. However, the way that they are pruned, they are sometimes not 
> updated often: the appearance of a floatbox can hang while the server 
> is too busy.
>
> In contrast, DesireData has a minimum update rate of 50 ms of logical 
> time. I can see tweaking that further, so that it is 50 ms of real 
> time, or any other value of logical time or real time, and/or setting 
> a max number of box updates per pass, or a max number of bytes of 
> updates per pass.
>
It doesn't make sense to update a box or the screen more often than once 
per frame on the viewing device, but of course that signal (the vertical 
retrace or frame sync) is often hard to obtain. openGL sometimes has it 
builtin, does tk? 60Hz is 16.66...ms.

Martin

_______________________________________________
PD-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

(Continue reading)

altern | 1 Nov 09:29 2007
Picon

Re: GEM error on latest pd extended with Ubuntu Gutsy

hi

IOhannes m zmoelnig(e)k dio:
> altern wrote:
>> hi
>>
>> the video does not seem corrupted i can open it with VLC, no problem. 
>> I tried to find the reason for the error and I found that I can use 
>> the first frame but as soon as I go the the second or further it 
>> doesnt display it.
> 
> is lqtplay able to playback this movie?
> aviplay?

yes it plays ok with lqtplay.

> which decoding libraries is Gem linked against?
> (you can see this when you create the first [pix_film] object. it should 
> say something like:
> pix_film:: quicktime support
> pix_film:: libmpeg3 support
> pix_film:: libaviplay support
> pix_film:: FFMPEG support)

pix_film:: quicktime support
pix_film:: libmpeg3 support
pix_film:: libaviplay support
pix_film:: libmpeg support

btw. i am using pix_movie instead of pix_film to play the video, i am 
(Continue reading)

altern | 1 Nov 09:30 2007
Picon

Re: GEM error on latest pd extended with Ubuntu Gutsy

IOhannes m zmoelnig(e)k dio:
> altern wrote:
>> hi
>>
>> the video does not seem corrupted i can open it with VLC, no problem. I 
> 
> oh and i forgot: vlc uses different decoding libraries than Gem; being 
> able to playback your movies (with Gem) on one computer and not on the 
> other, could of course mean, that you haven't installed the proper 
> codecs for the library Gem is using (but ok for vlc...)

thanks for explaining, i did not know this.

> have you installed the w32codecs package? (this is - at least on debian 
> - a way to get loads of codecs; i don't know how this works on ubuntu)

no results with
$ apt-cache search w32codecs

i will try to find if it has some other name in ubuntu

_______________________________________________
PD-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Chris McCormick | 1 Nov 09:37 2007

The sound of algae growing

Hello PdPeople,

Who wants to make some fractal music? Here are two abstractions that
implement a Lindenmayer system. <http://en.wikipedia.org/wiki/L-system>

[s-ireplace] is an abstraction that takes a single integer and outputs a
list of integers according to the rules specified. So you might send a
message [rule 1 2 3( and then when you send a [1( you will get back a
list '2 3'.

[s-lsystem] uses [s-ireplace] internally to iteratively replace lists
of integers with lists of integers according to rules defined in the
same way as above, thus implementing a Lindenmayer system.

Lindenmayer systems are great for generating complex sets of data from
simple rules and initial values.

<http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-ireplace.pd?root=svn>
<http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-ireplace-help.pd?root=svn>
<http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-lsystem.pd?root=svn>
<http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-lsystem-help.pd?root=svn>

If you want, you could also use these with Gem to make natural looking
tree-like 3d structures. Check the pd-list archives for a previous
implementation of that idea which used a much simpler Lindenmayer system
which was not quite as flexible.

Best,

Chris.
(Continue reading)

Frank Barknecht | 1 Nov 10:51 2007

Re: Fun with Lua coroutines

Hallo,
Steffen Juul hat gesagt: // Steffen Juul wrote:

> On 31/10/2007, at 21.11, Frank Barknecht wrote:
> 
> >Lua could also be used as a very powerful "textfile" replacement, that
> >would allow more structured score files in a BibTex fashion. Wait for
> >an example for this coming soon.
> 
> I'm really looking forward to see what you mean by 'structured score  
> files in a BibTex fashion'.

I mean something like this: http://www.lua.org/pil/10.1.html of course
adapted to music, so a datafile could look like: 

    Instruments{
        bass = tb303{
            cutoff = 10,
            cf = 440
        },
        drum = "drumset1"
    }

    Patterns{
        p1 = "1 0 0 0 1 0 0 1",
        p2 = "0 0 1 0 0 0 1 0",
    }

    Score{
       bass.play(p1),
(Continue reading)

dmotd | 1 Nov 13:54 2007
Picon
Picon

py/ext: build error

hi thomas and pd-list,

 i have run into this error building py/pyext:

 ----

$ sh ../flext/build.sh pd gcc
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc
BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt
USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
make[1]: Entering directory `/home/dmotd/pure-data/externals/grill/py'
mkdir -p pd-linux/release-multi/
g++ -c -msse -mfpmath=sse -ffast-math -O2 -march=prescott  -pthread -fPIC -DPY_EXPORTS -DPY_NUMPY
-DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.4
-I/home/dmotd/pure-data/pd/src -I/usr/local/include/stk -I/usr/local/include/SndObj/
-I/home/dmotd/pure-data/include/flext source/main.cpp -o pd-linux/release-multi/main.opp
source/main.h:32: error: expected class-name before ‘{’ token
/home/dmotd/pure-data/include/flext/flcontainers.h: In member function ‘void
TypedFifo<T>::Put(T*) [with T = FifoEl]’:
source/pybase.h:179:   instantiated from here
/home/dmotd/pure-data/include/flext/flcontainers.h:456: error: no matching function for call to ‘TypedFifo<FifoEl>::Put(FifoEl*)’
/home/dmotd/pure-data/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*)
/home/dmotd/pure-data/include/flext/flcontainers.h: In member function ‘T*
TypedLifo<T>::Pop() [with T = FifoEl]’:
/home/dmotd/pure-data/include/flext/flcontainers.h:466:   instantiated from ‘T* PooledFifo<T,
M, O>::New() [with T = FifoEl, int M = 2, int O = 1]’
source/pybase.h:177:   instantiated from here
/home/dmotd/pure-data/include/flext/flcontainers.h:380: error: invalid static_cast from type
‘Lifo::Cell*’ to type ‘FifoEl*’
make[1]: *** [pd-linux/release-multi/main.opp] Error 1
(Continue reading)

Roman Haefeli | 1 Nov 14:39 2007
Picon

Re: GEM error on latest pd extended with Ubuntu Gutsy

On Thu, 2007-11-01 at 09:30 +0100, altern wrote:
> IOhannes m zmoelnig(e)k dio:
> > altern wrote:
> >> hi
> >>
> >> the video does not seem corrupted i can open it with VLC, no problem. I 
> > 
> > oh and i forgot: vlc uses different decoding libraries than Gem; being 
> > able to playback your movies (with Gem) on one computer and not on the 
> > other, could of course mean, that you haven't installed the proper 
> > codecs for the library Gem is using (but ok for vlc...)
> 
> thanks for explaining, i did not know this.
> 
> > have you installed the w32codecs package? (this is - at least on debian 
> > - a way to get loads of codecs; i don't know how this works on ubuntu)
> 
> no results with
> $ apt-cache search w32codecs
> 
> i will try to find if it has some other name in ubuntu

check mplayers homepage. afaik, they distribute codec packages, that
also contain the w32codecs, that are used by libavicodec.

roman

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
(Continue reading)

chris clepper | 1 Nov 15:21 2007
Picon

Re: Fun with Lua coroutines

This looks like a "poor man's" Supercollider. ;)

On 11/1/07, Frank Barknecht <fbar <at> footils.org> wrote:
I mean something like this: http://www.lua.org/pil/10.1.html of course
adapted to music, so a datafile could look like:

    Instruments{
        bass = tb303{
            cutoff = 10,
            cf = 440
        },
        drum = "drumset1"
    }

    Patterns{
        p1 = "1 0 0 0 1 0 0 1",
        p2 = "0 0 1 0 0 0 1 0",
    }

    Score{
       bass.play(p1),
       drum.play(p2)
    }

or so.

Ciao
--
Frank Barknecht                                     _ ______footils.org__

_______________________________________________
PD-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

_______________________________________________
PD-list <at> iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Gmane