Re: [PD] how to avoid (most/many/some) readsf~ dropouts

2008-07-16 Thread Frank Barknecht
Hallo,
Roman Haefeli hat gesagt: // Roman Haefeli wrote:

> as an alternative: 
> assuming the files were in 16 bit, wouldn't it make more sense to create
> a ramdisk and store all wav-files there in order to read them with
> [readsf~]? this way you would save half of the amount, because they are
> stored as 16 bit instead of 32 bit then.

This might be useful anyway, as harddisk access can be the number one
latency killer.

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] [nosleep] WAS: how to avoid (most/many/some) readsf~ dropouts

2008-07-16 Thread Frank Barknecht
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

> I think a suite of low-level objects would be very useful, then you  
> could create your own [performance_mode] abstraction.  Things like  
> [hdparm], [/sys], [/proc], etc.

Wow, not even the module-heavy Python has something like "hdparm". I
don't think, there must be a Pd class for every file in /usr/bin
polluting the namespace. 

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] Spell checking / existence of a word

2008-07-16 Thread Frank Barknecht
Hallo,
Chris McCormick hat gesagt: // Chris McCormick wrote:

> On Tue, Jul 15, 2008 at 07:17:48PM +0200, Frank Barknecht wrote:
> > Lua is trivial to build on OS-X.
>
> Did you have to install the XCode developer kit (or whatever it's
> called) to do this? Or is there a built in compiler? What version of OSX
> is it?

I didn't install the machines themselves. There already was a
gcc-compiler, I don't know if this is part of some extra package only.
But you need gcc and make, of course. OS-X was updated to the latest
version, whatever that is, but the build was happening before the
upgrade on whatever version that was. ;) 

Sorry for not being able to be more specific, I'm away from these
machines now.

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] Spell checking / existence of a word

2008-07-16 Thread Luke Iannini
On Tue, Jul 15, 2008 at 7:40 PM, Chris McCormick <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 15, 2008 at 07:17:48PM +0200, Frank Barknecht wrote:
>> Hallo,
>> Nicolas Montgermont hat gesagt: // Nicolas Montgermont wrote:
>>
>> > Has anybody developped a way to check the existence of a word in a given
>> > dictionnary?
>> > As a basis, I was looking at the aspell command line spell checking tool
>> > : http://aspell.net/
>> > This is well suited, but it will need to use the shell object and I'm
>> > working under OSX, so I'm not sure of it's long term stability.
>> > Aspell can be used as a lib also, so i was wondering if anyone has ever
>> > developped an external based on it?
>> > Or has anyone some other ideas to do that?
>>
>> You could use Lua instead. It's like [shell] on steroids, if you
>> employ something like "io.popen" like this:
>>
>>  word = get_word_from_inlet()
>>  cmd = "aspell -c " .. word
>>  p = assert(io.popen(cmd))
>>  result = p:read("*all")
>>
>> Lua is trivial to build on OS-X. I just did it and I'm a complete OS-X
>> idiot. Here's how: You check out pdlua from goto10 subversion, edit
>> Makefile.static to let it find m_pd.h and build for OS-X ("PLATFORM =
>> macosx"), then do "make -f Makefile.static" while connected to the net
>> to let make download and build Lua for you and that's it. OS-X seems
>> to come with everything needed.
>
> Hi Frank,
>
> Did you have to install the XCode developer kit (or whatever it's
> called) to do this? Or is there a built in compiler? What version of OSX
> is it?
Yo Chris,
Ya, you'll need XCode to get gcc and friends... it is free on the
install disc or you can download it after making a (free) account at
http://connect.apple.com/ ; I think this info applies to all
reasonably recent versions of OS X (10.3+ and perhaps earlier)

Cheers
Luke

>
> Thx for the help, sorry for the OT!
>
> Chris.
>
> ---
> http://mccormick.cx
>
> ___
> 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] really annoying question about tildes~

2008-07-16 Thread IOhannes m zmoelnig
hard off wrote:
> why do tilde objects work in vanilla pd, but the zexy tilde objects are 
> so uncooperative?

which object gives you trouble? [noisi~], [limiter~], [dirac~]?

anyhow, zexy's objects are not uncooperative at all.

zexy is and was meant to be compiled as a multi-object library, just 
like Pd (kind of).

then Pd-extended came along and tore the happy family apart into 
single-object externals and the trouble began.
i guess you are using Pd-extended?

and no, this is no rant about Pd-extended, the problem is a deeper one 
(and was almost solved in Pd-vanilla - but alas! in the end it was not), 
it just happens to be exposed very much by PdX's policy.



so, please be cooperative, compile zexy yourself (as a multi-object 
library - which is the default), load it and be happy.


fgamsdr
IOhannes

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


Re: [PD] Spell checking / existence of a word

2008-07-16 Thread Nicolas Montgermont
Hi Frank,

Frank Barknecht a écrit :
> Hallo,
>
> You could use Lua instead. It's like [shell] on steroids, if you
> employ something like "io.popen" like this:
>
>  word = get_word_from_inlet()
>  cmd = "aspell -c " .. word
>  p = assert(io.popen(cmd))
>  result = p:read("*all")
>
> Lua is trivial to build on OS-X. I just did it and I'm a complete OS-X
> idiot. Here's how: You check out pdlua from goto10 subversion, edit
> Makefile.static to let it find m_pd.h and build for OS-X ("PLATFORM =
> macosx"), then do "make -f Makefile.static" while connected to the net
> to let make download and build Lua for you and that's it. OS-X seems
> to come with everything needed.
>
> Ciao
>   
pdlua compile and load well here I think, console says:

lua 0.5 (GPL) 2008 Claude Heiland-Allen <[EMAIL PROTECTED]>
lua: compiled for pd-0.40 on Jul 16 2008 11:41:16

After that I wrote a little pd_luax object called lspell.pd_luax and 
containing:

local LSpell = pd.Class:new():register("lspell")

function LSpell:initialize(name, atoms)
self.outlets = 1
self.inlets = 1
return true
end

function LSpell:in_1_symbol(s)
pd.post("received :" .. s)
word = get_word_from_inlet()
cmd = "aspell -c " .. word
p = assert(io.popen(cmd))
result = p:read("*all")
end

I know there is no output yet but the code is bugging at the 
get_word_from_inlet() function.
When I do :

[symbol toto(
|
[lspell]

pd prints:

received :toto
error: lua: error in dispatcher:
[string "lspell.pd_luax"]:14: attempt to call global 
'get_word_from_inlet' (a nil value)

I have no really idea of the way pdlua manage functions and everything. 
Must I dig more into the pd_lua examples or is this only a lua problem I 
can handle if searching universal lua docs?

Thanks for your answers,

Nicolas
-- 
http://nim.on.free.fr

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


Re: [PD] Spell checking / existence of a word

2008-07-16 Thread Claude Heiland-Allen
Nicolas Montgermont wrote:
> Hi Frank,
> 
> Frank Barknecht a écrit :
>> Hallo,
>>
>> You could use Lua instead. It's like [shell] on steroids, if you
>> employ something like "io.popen" like this:
>>
>>  word = get_word_from_inlet()
>>  cmd = "aspell -c " .. word
>>  p = assert(io.popen(cmd))
>>  result = p:read("*all")
>>
>> Lua is trivial to build on OS-X. I just did it and I'm a complete OS-X
>> idiot. Here's how: You check out pdlua from goto10 subversion, edit
>> Makefile.static to let it find m_pd.h and build for OS-X ("PLATFORM =
>> macosx"), then do "make -f Makefile.static" while connected to the net
>> to let make download and build Lua for you and that's it. OS-X seems
>> to come with everything needed.
>>
>> Ciao
>>   
> pdlua compile and load well here I think, console says:
> 
> lua 0.5 (GPL) 2008 Claude Heiland-Allen <[EMAIL PROTECTED]>
> lua: compiled for pd-0.40 on Jul 16 2008 11:41:16
> 
> After that I wrote a little pd_luax object called lspell.pd_luax and 
> containing:
> 
> local LSpell = pd.Class:new():register("lspell")

This could be the problem, registering classes is usual in .pd_lua files 
but not .pd_luax files.

> function LSpell:initialize(name, atoms)
> self.outlets = 1
> self.inlets = 1
> return true
> end
> 
> function LSpell:in_1_symbol(s)
> pd.post("received :" .. s)
> word = get_word_from_inlet()
> cmd = "aspell -c " .. word
> p = assert(io.popen(cmd))
> result = p:read("*all")
> end
> 
> I know there is no output yet but the code is bugging at the 
> get_word_from_inlet() function.

where did you define get_word_from_inlet?  You should just be able to 
use 's', as that's the symbol atom passed to the inlet method.

> When I do :
> 
> [symbol toto(
> |
> [lspell]
> 
> pd prints:
> 
> received :toto
> error: lua: error in dispatcher:
> [string "lspell.pd_luax"]:14: attempt to call global 
> 'get_word_from_inlet' (a nil value)
> 
> I have no really idea of the way pdlua manage functions and everything. 
> Must I dig more into the pd_lua examples or is this only a lua problem I 
> can handle if searching universal lua docs?

This seems to be a Lua problem more than a pdlua problem - you use 
get_word_from_inlet() but don't define it anywhere.

A pdlua manual is on my todo list, but for now the examples are the best 
documentation.

> 
> Thanks for your answers,
> 
> Nicolas


Hope this helps,


Claude
-- 
http://claudiusmaximus.goto10.org


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Roman Haefeli
On Wed, 2008-07-16 at 12:01 +0200, IOhannes m zmoelnig wrote:
> hard off wrote:
> > why do tilde objects work in vanilla pd, but the zexy tilde objects are 
> > so uncooperative?
> 
> which object gives you trouble? [noisi~], [limiter~], [dirac~]?
> 
> anyhow, zexy's objects are not uncooperative at all.
> 
> zexy is and was meant to be compiled as a multi-object library, just 
> like Pd (kind of).
> 
> then Pd-extended came along and tore the happy family apart into 
> single-object externals and the trouble began.
> i guess you are using Pd-extended?
> 
> and no, this is no rant about Pd-extended, the problem is a deeper one 
> (and was almost solved in Pd-vanilla - but alas! in the end it was not),

what was the reason for that? 
 
> it just happens to be exposed very much by PdX's policy.
> 
> 
> 
> so, please be cooperative, compile zexy yourself (as a multi-object 
> library - which is the default), load it and be happy.

last time i tested pd-extended, it was definitely not all tilde classes
from zexy, that made troubles, but only [<~] and [>~]. probably there
are some others, that have 'special' chars in their names. however, the
rest was working well. 

even while using pd-vanilla, i used to compile zexy as single-object
externals in order to make my patches as troublefree as possible on
pd-extended. i also used to use the hexloader and, iirc, i could
instantiate [<~] and [>~] without problems (unlike pd-extended, that is
why i switched back to a multiclass binary). anyway, my point is: it was
once working here on my box without issues at all, even if i had zexy as
single-objects externals. what does it need to make it work on
pd-extended as well?

roman 



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


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


Re: [PD] frequency components analysis

2008-07-16 Thread Jamie Bullock
On Sun, 2008-07-13 at 02:00 -0700, Julian Villegas wrote:

>  I did,
> in fact I'm using sigmund~ cause somewhere in this list, someone
> (Miller?) said it was better to use it instead of fiddle~. Can anybody
> confirm that sigmund~ is better? 

What do you mean 'better'? What is it you are trying to do?

> I have a patch that relies on  realtime pitch and partials extraction,
> and I'd like to compare different objects but I have only found
> sigmund~. Sigmund~ reports peaks by analyzing the FFT of a window, I'd
> like to compare other methods (stft?, wavelets?, ...?) 
>  
> Any other ideas?

You might want to take a look at the xtract_peak_spectrum() function
provided in LibXtract. 

http://www.postlude.co.uk/Software/Libxtract

There are Pd bindings provided, and an example of how to use [xtract~
peak_spectrum] is shown in the help file: [f0] -> [pd guts] -> [pd pda].

Jamie

-- 
www.postlude.co.uk
http://www.linkedin.com/in/jamiebullock



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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread hard off
oh sorry i should have been clearer.  yes i was referring to >~ and <~
specifically. pd vanilla can load both the > and < characters, and tilde~
characters too.but pd extended can't load them together as part of the
zexy library.

iohannes, i really appreciate all your hard work, and maybe my original mail
looks a bit grouchy.  it wasn't meant to be.  i just think it's a real shame
that pd-extended won't load these objects.  they used to load fine in
earlier versions of extended.  personally i have just changed all my >~
objects to [expr~ $v1>n].
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] really annoying question about tildes~

2008-07-16 Thread IOhannes m zmoelnig
hard off wrote:
> oh sorry i should have been clearer.  yes i was referring to >~ and <~ 
> specifically. pd vanilla can load both the > and < characters, and 
> tilde~ characters too.but pd extended can't load them together as 
> part of the zexy library.
> 
> iohannes, i really appreciate all your hard work, and maybe my original 
> mail looks a bit grouchy.  

no it's fine with me.
it just seems like everybody seems to blame zexy for things it is 
innocent of.

> it wasn't meant to be.  i just think it's a 
> real shame that pd-extended won't load these objects.

i totally agree.


>   they used to load 
> fine in earlier versions of extended.  personally i have just changed 
> all my >~ objects to [expr~ $v1>n]. 

and then people came and started to complain why patches took 15 minutes 
to load when the hexloader is enabled...



anyhow, i think i have put enough of my ressources into trying to make 
this work in a general way but unfortunately without much success;
so i guess i leave it there and advise people to use zexy as a 
multi-object library.

mfasdr
IOhannes

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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread IOhannes m zmoelnig
Roman Haefeli wrote:
>
>> (and was almost solved in Pd-vanilla - but alas! in the end it was not),
> 
> what was the reason for that? 

who knows?
anyhow, i don't think it will be fixed upstream within the next years...


> 
> even while using pd-vanilla, i used to compile zexy as single-object
> externals in order to make my patches as troublefree as possible on
> pd-extended. 

???
Pd-extended has no problems whatsoever in loading multi-object libraries.
why should compiling zexy as single-object externals make it more 
troublefree (the only difference i know of is troubles with 
special-characters when using single-object externals)

> i also used to use the hexloader and, iirc, i could
> instantiate [<~] and [>~] without problems (unlike pd-extended, that is
> why i switched back to a multiclass binary). anyway, my point is: it was
> once working here on my box without issues at all, even if i had zexy as
> single-objects externals. what does it need to make it work on
> pd-extended as well?


i don't know
and my interest therein is decreasing.

fgmasdr
IOhannes

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


Re: [PD] Free rotation in GEM

2008-07-16 Thread cyrille henry
hello

sorry if i misunderstand.
rotateXYZ will rotate in X direction, then in Y, finally in Z.
if you wish to rotate in Z, then in X, you just need 2 rotate objects:
the 1st for the rotation in Z, then an other for the rotation in X.

anyway, there is no matrix manipulation that i was not able to do with 
rotate/rotateXYZ/translateXYZ/scaleXYZ/shearXY..
so i'm quite sure you don't need anything else than this standard objects for 
simple matrix rotation.

so i think you need 1 [rotate] to rotate the vector axis of the object, then a 
accumrotate.
if i misunderstood, could you please describe your problem better.

I think you can also use GEMgl objects to multiply the matrix with a custom 
one, but it's to much complex for what you need.

cyrille



PSPunch a écrit :
> Hi Mathieu,
> 
> 
> I have not looked into GridFlow much, but I had the impression that its 
> main concept was to add matrix manipulation features to Pd, all of its 
> visual capabilities being just one of the many results of data you can 
> manipulate with matrix. (or is the egg first?)
> 
> 
> Anyway, understanding its marvelous potentials, I have lately been stuck 
> with Windows platforms. At least I got your point that utilizing 
> GridFlow only for crunching numbers may work but not so efficient.
> 
> 
> 
> What I am trying to do is rotate the vector axis of the object before 
> applying [rotation]. This also calls for a method of summing the 
> rotations when applying multiple times (and my current understanding is 
> that this can only be done by multiplying the quaternion on each rotation)
> 
> If there is no solution at the moment, perhaps Gem could use a few extra 
> objects to ease advanced rotations?
> 
> I feel like I am complaining about lack of features without pointing out 
> what exactly is missing, when I should be blaming my lack of math skills.
> 
> hmmm..
> 
> --
> David Shimamoto
> 
> 
> 
>> On Wed, 16 Jul 2008, PSPunch wrote:
>>
>>> Trying to achieve free rotation *without* using [accumrotate], I have
>>> come across concepts such as multiplying matrixs and converting a matrix
>>> to "quarternion"
>>> How do you implement precise control of rotation matrixs?
>>> Is this exactly what people use GridFlow for?
>> If you tried GridFlow's bundled examples you'd see what I use GridFlow 
>> for. I suppose that I could add some other people's examples in the 
>> package, if they sent it to me for that purpose. There is already one 
>> patch by Roman Häfeli in GridFlow's examples though.
>>
>> GridFlow does not support quaternions. I bet it's possible to add 
>> support for it using abstractions, but it wouldn't be fast. But I'm 
>> willing to add it to the core... there's already a complex-number 
>> section in number.c, why not quaternion product? It would be called [# 
>> H.*] where H stands for Hamilton (in math the letter Q is already 
>> reserved for rationals, so I'd use H even though the concept of rational 
>> reasonably couldn't appear in that particular place).
>>
>>  _ _ __ ___ _  _ _ ...
>> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
> 
> 
> ___
> 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] Spell checking / existence of a word

2008-07-16 Thread Nicolas Montgermont



Claude Heiland-Allen a écrit :




local LSpell = pd.Class:new():register("lspell")



This could be the problem, registering classes is usual in .pd_lua files 
but not .pd_luax files.


  

I haven't really understood how to build a pd_luax file then... nevermind.

function LSpell:initialize(name, atoms)
self.outlets = 1
self.inlets = 1
return true
end

function LSpell:in_1_symbol(s)
pd.post("received :" .. s)
word = get_word_from_inlet()
cmd = "aspell -c " .. word
p = assert(io.popen(cmd))
result = p:read("*all")
end

I know there is no output yet but the code is bugging at the 
get_word_from_inlet() function.



where did you define get_word_from_inlet?  You should just be able to 
use 's', as that's the symbol atom passed to the inlet method.
  
mmh sure, I just used that cause that was the part of code frank 
mentionned and thought this was a kind of pd secure-interacting functions.
  

When I do :

[symbol toto(
|
[lspell]

pd prints:

received :toto
error: lua: error in dispatcher:
[string "lspell.pd_luax"]:14: attempt to call global 
'get_word_from_inlet' (a nil value)


I have no really idea of the way pdlua manage functions and everything. 
Must I dig more into the pd_lua examples or is this only a lua problem I 
can handle if searching universal lua docs?



This seems to be a Lua problem more than a pdlua problem - you use 
get_word_from_inlet() but don't define it anywhere.


A pdlua manual is on my todo list, but for now the examples are the best 
documentation.


  


I manage to get it work with this code:

function LSpell:in_1_symbol(s)
   word = s

   cmd = "echo " .. word .. " | /sw/bin/ispell -a | grep \\*"

   p = assert(io.popen(cmd))

   result = p:read("*all")
   if(string.len(result) ~= 0) then
 self:outlet(1, "symbol", {word})
 end

end

It outputs the word only if it exists in ispell.

Can Lua be used as a more stable shell interpretor for all the functions?
It is of a big interest!!

Thanks to all,

Nicolas




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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, IOhannes m zmoelnig wrote:

Roman Haefeli wrote:

even while using pd-vanilla, i used to compile zexy as single-object
externals in order to make my patches as troublefree as possible on
pd-extended.

Pd-extended has no problems whatsoever in loading multi-object libraries.
why should compiling zexy as single-object externals make it more
troublefree


It's because multi-class externals has been defined as trouble and trouble 
has been defined as multi-class externals. There's no way out of this. 
Save your energy for something else.


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Enrique Erne
IOhannes m zmoelnig wrote:
> Roman Haefeli wrote:
>>> (and was almost solved in Pd-vanilla - but alas! in the end it was not),
>> what was the reason for that? 
> 
> who knows?

the inability of the pd community to agree on a standard
(on a social level)

please correct me if i'm wrong.

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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Roman Haefeli
On Wed, 2008-07-16 at 13:09 +0200, IOhannes m zmoelnig wrote:
> Roman Haefeli wrote:
> >
> >> (and was almost solved in Pd-vanilla - but alas! in the end it was not),
> > 
> > what was the reason for that? 
> 
> who knows?
> anyhow, i don't think it will be fixed upstream within the next years...
> 
> 
> > 
> > even while using pd-vanilla, i used to compile zexy as single-object
> > externals in order to make my patches as troublefree as possible on
> > pd-extended. 
> 
> ???
> Pd-extended has no problems whatsoever in loading multi-object libraries.
> why should compiling zexy as single-object externals make it more 
> troublefree 

sorry, obviously i wasn't clear enough. i wasn't saying, that
pd-extended has problems with mutli-object libraries, but only that
currently it uses single-object externals. in order to have the same
problems as pd-extended users, i decided to install a single-object
version of zexy on my box in order to _have_ (not avoid) the same
problems, that pd-extended suffers from, just to help myself creating
pd-extended compliant patches (so possible problems would already be
triggered on my box). however, it seemed, that my installation still
hadn't all of the issues, since [>~] and [<~] were still working for
me. 

> (the only difference i know of is troubles with 
> special-characters when using single-object externals)

there is also the issue, that aliases are not (completely) supported by
pd-extended, afaik.

> > i also used to use the hexloader and, iirc, i could
> > instantiate [<~] and [>~] without problems (unlike pd-extended, that is
> > why i switched back to a multiclass binary). anyway, my point is: it was
> > once working here on my box without issues at all, even if i had zexy as
> > single-objects externals. what does it need to make it work on
> > pd-extended as well?
> 
> 
> i don't know
> and my interest therein is decreasing.

ok, i understand that.

roman



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


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Martin Peach
Roman Haefeli wrote:
> On Wed, 2008-07-16 at 13:09 +0200, IOhannes m zmoelnig wrote:
>> (the only difference i know of is troubles with 
>> special-characters when using single-object externals)
> 
> there is also the issue, that aliases are not (completely) supported by
> pd-extended, afaik.

Seems to me weird characters always cause trouble somewhere along the 
line. Why not rename them [lt~] and [gt~]? Then there's something in 
gridflow I think that actually uses * in its name, I mean why not make 
an external with the three-character name  [ctl-alt-del]?
Martin

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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Roman Haefeli
On Wed, 2008-07-16 at 09:25 -0400, Martin Peach wrote:
> Roman Haefeli wrote:
> > On Wed, 2008-07-16 at 13:09 +0200, IOhannes m zmoelnig wrote:
> >> (the only difference i know of is troubles with 
> >> special-characters when using single-object externals)
> > 
> > there is also the issue, that aliases are not (completely) supported by
> > pd-extended, afaik.
> 
> Seems to me weird characters always cause trouble somewhere along the 
> line. Why not rename them [lt~] and [gt~]? Then there's something in 
> gridflow I think that actually uses * in its name, I mean why not make 
> an external with the three-character name  [ctl-alt-del]?
> Martin

why not calling them [greater_than_tilde] and [less_than_tilde] ?

anyway, the alias problem is not related to 'weird' (whoever decides,
which are considered weird and which not) characters. when loading
mulit-class externals, all the names get registered, so that pd already
knows about the name, when instantiating an alias. in pd-extended, it
works as well, but you have to first load the external by its original
name, so that the alias gets registeredl. if you first try to
instantiate by the alias name, then pd doesn't know what external to
load. (sorry, if i use wrong terminology here and 'to register' means
something different).


roman




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


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, Roman Haefeli wrote:

(the only difference i know of is troubles with special-characters when 
using single-object externals)

there is also the issue, that aliases are not (completely) supported by
pd-extended, afaik.


Don't expect aliases to be supported by software made by someone who 
thinks aliases are wrong or ugly or evil. That's someone who would 
deprecate class_addcreator just because.


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, Martin Peach wrote:

Seems to me weird characters always cause trouble somewhere along the 
line. Why not rename them [lt~] and [gt~]? Then there's something in 
gridflow I think that actually uses * in its name,


I encoded that using the hexloader's convention for the benefit of the 
SVN, and then the Makefile copies that to the name that has '*' in it 
because it can't assume that the hexloader is actually there.


If all internal classes became single external classes, as some people 
have wished already, then you end up with bunch of classes named like [*] 
and [/] that have to be named something in the filesystem, and so should 
their helpfiles. Furthermore, by consistency, things closely related to 
the [*] class should be named with a "*" in the name instead of a "mul", 
and things closely related to [/] should be named with a "/" in the name 
instead of a "div", and so GridFlow's [inv*] was part of a jMax-compat 
layer and the original jMax class was called exactly [inv*] because the 
jMax authors judged it to be so closely related to [*]. There's another 
way of understanding the behaviour of that class, but in that case it is 
so closely related to [/] instead.


I mean why not make an external with the three-character name 
[ctl-alt-del]?


Ctrl and Alt are not characters and don't have any character code 
representation.


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread marius schebella
I think we have to face that pd's current features are not able to meet 
all needs: namespaces, special characters, fast loading, aliases...
what is missing?
does pd have something like a "registered objects list"? an index, which 
is created on pd startup that holds the name and aliases to all objects 
that can be created but without loading the objects themselves? maybe a 
hybrid somewhere between path information and the loading of a 
multi-external library. is this the way how it is done currently?
this list should be dynamically editable and would hold the aliases for 
namespaces: counter = iem/counter loading the iem counter as default, 
but still enabling the creation of cyclone/counter. also all other 
aliases could be included. and it might as well speed up starting of 
patches since there is no need to search all directories for every object.
it would extend the functionality of "path" by actually reading out a 
small amount of object information which allows for sorting, aliasing...
marius.



Roman Haefeli wrote:
> On Wed, 2008-07-16 at 09:25 -0400, Martin Peach wrote:
>> Roman Haefeli wrote:
>>> On Wed, 2008-07-16 at 13:09 +0200, IOhannes m zmoelnig wrote:
 (the only difference i know of is troubles with 
 special-characters when using single-object externals)
>>> there is also the issue, that aliases are not (completely) supported by
>>> pd-extended, afaik.
>> Seems to me weird characters always cause trouble somewhere along the 
>> line. Why not rename them [lt~] and [gt~]? Then there's something in 
>> gridflow I think that actually uses * in its name, I mean why not make 
>> an external with the three-character name  [ctl-alt-del]?
>> Martin
> 
> why not calling them [greater_than_tilde] and [less_than_tilde] ?
> 
> anyway, the alias problem is not related to 'weird' (whoever decides,
> which are considered weird and which not) characters. when loading
> mulit-class externals, all the names get registered, so that pd already
> knows about the name, when instantiating an alias. in pd-extended, it
> works as well, but you have to first load the external by its original
> name, so that the alias gets registeredl. if you first try to
> instantiate by the alias name, then pd doesn't know what external to
> load. (sorry, if i use wrong terminology here and 'to register' means
> something different).
> 
> 
> roman
> 
> 
>   
>   
> ___ 
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
> http://mail.yahoo.de
> 
> 
> 
> 
> 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Martin Peach
>Roman Haefeli wrote:
>(whoever decides, which are considered weird and which not) characters

To me, the set of characters that are not acceptable as part of filenames on 
at least one of the usual OSs, inclusive ored with the set of characters 
that are not acceptable to Tcl via Pd, comprise the set of weird characters.

Martin



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


Re: [PD] Spell checking / existence of a word

2008-07-16 Thread Frank Barknecht
Hallo,
Nicolas Montgermont hat gesagt: // Nicolas Montgermont wrote:

> function LSpell:in_1_symbol(s)
> pd.post("received :" .. s)
> word = get_word_from_inlet()
> cmd = "aspell -c " .. word
> p = assert(io.popen(cmd))
> result = p:read("*all")
> end
> 
> I know there is no output yet but the code is bugging at the 
> get_word_from_inlet() function.

Yeah, sorry, that's probably my fault. My little Lua example was meant
to be a kind of pseudo-code, sorry. But I see that you already solved
the issue with Claude's help.

Btw. other than in Python or C, variables are global as default in Lua.
I also didn't include it in my "pseudo-code"  but instead of this:

> cmd = "aspell -c " .. word
> p = assert(io.popen(cmd))
> result = p:read("*all")

you should declare variables as "local" like this: 

 local cmd = "aspell -c " .. word
 local p = assert(io.popen(cmd))
 local result = p:read("*all")

Sorry for adding confusion like this.

Ciao
-- 
Frank

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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, marius schebella wrote:


does pd have something like a "registered objects list"? an index, which
is created on pd startup that holds the name and aliases to all objects
that can be created but without loading the objects themselves?


reminds me that jMax had a two-step setup mechanism: all the libraries 
would be open, and the main setup function would be run, and class loaders 
would be run, but the classes were actually "loaded" later, on demand. In 
the end, it doesn't make so much of a difference, and it might be worse. 
It's better when all the class_new are in one spot because then the OS 
needs to read less blocks from the disk. When you load a big lib, anyway, 
the OS doesn't actually read the whole file immediately (which is one of 
the reasons why single-class externals don't save much RAM in practice).


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


[PD] Backslash

2008-07-16 Thread Jorge Cardoso
Hi all,

I'm having a problem with backslashs on windows and none of the solution I found
on the web works in my case:

I have an OSC message that has a path to a file. Something like: 
"c:\folder\image.jpg"

How can I convert that, in PD, to "c:/folder/image.jpg"? I can't control how 
the OSC messages
are generated...

I need to pass it to [pix_image] to load an image, and I tried:

[OSCroute /message]
 |
[unpack s s s] # path is third symbol
|
   |--
   |open $1  (
   |--
|
  [pix_image]


but I get an
"error: GEM: Unable to find file: C:\\folder\\image.jpg"

Any help would be appreciated.

thanks,
jorge


Univ. Católica Portuguesa
Jorge Cardoso
[EMAIL PROTECTED]
Rua Diogo Botelho 1327, 4169-005 - Porto, Portugal
tel: 226196200 ext:117
http://jorgecardoso.org


Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial 
ou legalmente protegida para uso exclusivo do destinatário. Se não for o 
destinatário pretendido da mesma, não deverá fazer uso, copiar, distribuir ou 
revelar o seu conteúdo (incluindo quaisquer anexos) a terceiros, sem a devida 
autorização. Se recebeu esta mensagem por engano, por favor informe o emissor, 
por e-mail, e elimine-a imediatamente. Obrigado.


This message may contain confidential information or privileged material, and 
is intended only for de individual(s) named. If you are not in the named 
addressee, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.


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


Re: [PD] Free rotation in GEM

2008-07-16 Thread B. Bogart
Indeed,

Seems to me all the matrix discussion does not get to the heart of the
question.

So, Pspunch, what are you really trying to do?

I agree with cyrille that It's very likely the normal rotation objects
will do what you want it to.

If you are just wanting to rotate many times, using huge numbers then
tricks like: wrap 0 359 work well...

..b

cyrille henry wrote:
> hello
> 
> sorry if i misunderstand.
> rotateXYZ will rotate in X direction, then in Y, finally in Z.
> if you wish to rotate in Z, then in X, you just need 2 rotate objects:
> the 1st for the rotation in Z, then an other for the rotation in X.
> 
> anyway, there is no matrix manipulation that i was not able to do with 
> rotate/rotateXYZ/translateXYZ/scaleXYZ/shearXY..
> so i'm quite sure you don't need anything else than this standard objects for 
> simple matrix rotation.
> 
> so i think you need 1 [rotate] to rotate the vector axis of the object, then 
> a accumrotate.
> if i misunderstood, could you please describe your problem better.
> 
> I think you can also use GEMgl objects to multiply the matrix with a custom 
> one, but it's to much complex for what you need.
> 
> cyrille
> 
> 
> 
> PSPunch a écrit :
>> Hi Mathieu,
>>
>>
>> I have not looked into GridFlow much, but I had the impression that its 
>> main concept was to add matrix manipulation features to Pd, all of its 
>> visual capabilities being just one of the many results of data you can 
>> manipulate with matrix. (or is the egg first?)
>>
>>
>> Anyway, understanding its marvelous potentials, I have lately been stuck 
>> with Windows platforms. At least I got your point that utilizing 
>> GridFlow only for crunching numbers may work but not so efficient.
>>
>>
>>
>> What I am trying to do is rotate the vector axis of the object before 
>> applying [rotation]. This also calls for a method of summing the 
>> rotations when applying multiple times (and my current understanding is 
>> that this can only be done by multiplying the quaternion on each rotation)
>>
>> If there is no solution at the moment, perhaps Gem could use a few extra 
>> objects to ease advanced rotations?
>>
>> I feel like I am complaining about lack of features without pointing out 
>> what exactly is missing, when I should be blaming my lack of math skills.
>>
>> hmmm..
>>
>> --
>> David Shimamoto
>>
>>
>>
>>> On Wed, 16 Jul 2008, PSPunch wrote:
>>>
 Trying to achieve free rotation *without* using [accumrotate], I have
 come across concepts such as multiplying matrixs and converting a matrix
 to "quarternion"
 How do you implement precise control of rotation matrixs?
 Is this exactly what people use GridFlow for?
>>> If you tried GridFlow's bundled examples you'd see what I use GridFlow 
>>> for. I suppose that I could add some other people's examples in the 
>>> package, if they sent it to me for that purpose. There is already one 
>>> patch by Roman Häfeli in GridFlow's examples though.
>>>
>>> GridFlow does not support quaternions. I bet it's possible to add 
>>> support for it using abstractions, but it wouldn't be fast. But I'm 
>>> willing to add it to the core... there's already a complex-number 
>>> section in number.c, why not quaternion product? It would be called [# 
>>> H.*] where H stands for Hamilton (in math the letter Q is already 
>>> reserved for rationals, so I'd use H even though the concept of rational 
>>> reasonably couldn't appear in that particular place).
>>>
>>>  _ _ __ ___ _  _ _ ...
>>> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 


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


Re: [PD] Backslash

2008-07-16 Thread Damian Stewart
Jorge Cardoso schreef:

> How can I convert that, in PD, to "c:/folder/image.jpg"? I can't control how 
> the OSC messages
> are generated...

text-processing in Pd is difficult but not impossible.

have a look at the mrpeach/str object..

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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Martin Peach
Mathieu Bouchard wrote:
>If all internal classes became single external classes, as some people have 
>wished already, then you end up with bunch of classes named like [*] and 
>[/] that have to be named something in the filesystem, and so should their 
>helpfiles. Furthermore, by consistency, things closely related to the [*] 
>class should be named with a "*" in the name instead of a "mul", and things 
>closely related to [/] should be named with a "/" in the name instead of a 
>"div", and so GridFlow's [inv*] was part of a jMax-compat layer and the 
>original jMax class was called exactly [inv*] because the jMax authors 
>judged it to be so closely related to [*]. There's another way of 
>understanding the behaviour of that class, but in that case it is so 
>closely related to [/] instead.

Maybe by adding a list of aliases to the init file, arbitrarily named 
objects could be stored on a filesystem with safe names and instantiated 
using the weird name.


>
>>I mean why not make an external with the three-character name 
>>[ctl-alt-del]?
>
>Ctrl and Alt are not characters and don't have any character code 
>representation.

That makes them so much more interesting to implement ;) Or how about 
[ctl-g], which should make the computer beep whenever you type it in...

Martin



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


Re: [PD] Free rotation in GEM

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, B. Bogart wrote:

If you are just wanting to rotate many times, using huge numbers then 
tricks like: wrap 0 359 work well...


Depends how huge they are. Pick 100032. That should give 312 degrees, 
supposing you use [wrap 0 360] instead of [wrap 0 359]. But as a pd float, 
it gives either 280 or 344 depending on how the rounding happens.


But this [wrap] trick is definitely not something that one can consider 
using if one is concerned with gimbal lock, and pspunch said he wants to 
avoid gimbal lock, so I don't know why you even mention it, if you want so 
much to stick to the "heart of the question".


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


[PD] bringing an open subpatch to the foreground needs one click too many

2008-07-16 Thread tim
Hi all,

I don't know if it's pd-specific or a Gdm thing...
Though it's a simple 'problem' it's kind of long to describe. here goes:

1. Click a subpatch object in a patch. It opens the subpatch in a new
window.
2. click on the parent patch's window so the subpatch gets hidden behind
it.
3. Click on the same subpatch object again. Now the subpatch window
doesn't come to the foreground, but instead the corresponding window
list item is highlighted (blinking).
4. Now, clicking on this Window List item (in the bar at the bottom of
the screen) doesn't bring the subpatch window to the foreground, but
instead it minimizes it, as if it was already in the foreground when you
clicked the Window List item.
To finally bring the subpatch window to the foreground you have to click
the Window List item once again...which is one click too many for my
lazy fingers ;)

Does anyone else find this annoying or is it just me ?

thanks,
Tim


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


Re: [PD] Backslash

2008-07-16 Thread Frank Barknecht
Hallo,
Jorge Cardoso hat gesagt: // Jorge Cardoso wrote:

> I'm having a problem with backslashs on windows and none of the solution I 
> found
> on the web works in my case:
> 
> I have an OSC message that has a path to a file. Something like: 
> "c:\folder\image.jpg"
> 
> How can I convert that, in PD, to "c:/folder/image.jpg"? I can't control how 
> the OSC messages
> are generated...

For example with attached pdlua external (needs pdlua)

You need some kind of external, as it's not possible with pure Pd to
split a symbol at a certain character. You could also use something
like Zexy's symbol2list for this task - use 

 [92(
 |
 [makefilename %c] 
 
to generate a backslash symbol to feed into s2l's right inlet then.

Using Lua has the big advantage that you can do some more string
processing in the same object immediatly and in my experience, once
you start with text processing you often need a bit more power anyway,
that's why I'd prefer Lua here.

Ciao
-- 
 Frank Barknecht _ __footils.org__


bs2x-help.pd
Description: application/puredata
-- bs2x class: replace backslashes in symbol with something else (default: "/" 
or arg1)
-- fbar 2008

local M = pd.Class:new():register("bs2x")

function M:initialize(name, atoms)
self.x = "/"
if (type(atoms[1]) == "number") or (type(atoms[1]) == "string") then
self.x = atoms[1]
end
self.inlets = 2
self.outlets = 1 
return true
end

function M:in_1_symbol(s)
local result = string.gsub(s, "\\", self.x)
self:outlet(1, "symbol", {result})
end

function M:in_2_symbol(s)
self.x = s
end

function M:in_2_float(f)
self.x = f
end

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


Re: [PD] bringing an open subpatch to the foreground needs one click too many

2008-07-16 Thread IOhannes m zmoelnig
tim wrote:
> Hi all,
> 
> I don't know if it's pd-specific or a Gdm thing...

this sounds awfully like a feature of your window manager.
if your wm supports tuning tryto do so.
else change the wm

dfgam,sdr
IOhannes

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


Re: [PD] really annoying question about tildes~

2008-07-16 Thread Hans-Christoph Steiner

On Jul 16, 2008, at 12:37 PM, Martin Peach wrote:

> Mathieu Bouchard wrote:
>> If all internal classes became single external classes, as some  
>> people have
>> wished already, then you end up with bunch of classes named like  
>> [*] and
>> [/] that have to be named something in the filesystem, and so  
>> should their
>> helpfiles. Furthermore, by consistency, things closely related to  
>> the [*]
>> class should be named with a "*" in the name instead of a "mul",  
>> and things
>> closely related to [/] should be named with a "/" in the name  
>> instead of a
>> "div", and so GridFlow's [inv*] was part of a jMax-compat layer  
>> and the
>> original jMax class was called exactly [inv*] because the jMax  
>> authors
>> judged it to be so closely related to [*]. There's another way of
>> understanding the behaviour of that class, but in that case it is so
>> closely related to [/] instead.
>
> Maybe by adding a list of aliases to the init file, arbitrarily named
> objects could be stored on a filesystem with safe names and  
> instantiated
> using the weird name.


 > and < are only problems on NTFS/Windows.  So the files could be  
called >~.pd and <~.pd on other more sane platforms, and some init  
hack for Windows.  The other issue is the setup function.  Pd insists  
on having the class name in the setup function.  If it was just setup 
() like Max/MSP, then that would not be an issue.

So we've discussed this a lot, but what needs to happen is that some  
code needs to be written and tested.  IOhannes has spend a ton of  
time on this issue, and is understandably frustrated.  I don't think  
there is much to be gained by discussing it again, unless someone  
steps up and works on it.

.hc


>>> I mean why not make an external with the three-character name
>>> [ctl-alt-del]?
>>
>> Ctrl and Alt are not characters and don't have any character code
>> representation.
>
> That makes them so much more interesting to implement ;) Or how about
> [ctl-g], which should make the computer beep whenever you type it  
> in...
>
> Martin
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list




 


You can't steal a gift. Bird gave the world his music, and if you can  
hear it, you can have it. - Dizzy Gillespie




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


Re: [PD] [nosleep] WAS: how to avoid (most/many/some) readsf~ dropouts

2008-07-16 Thread Hans-Christoph Steiner

On Jul 16, 2008, at 4:21 AM, Frank Barknecht wrote:

> Hallo,
> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>
>> I think a suite of low-level objects would be very useful, then you
>> could create your own [performance_mode] abstraction.  Things like
>> [hdparm], [/sys], [/proc], etc.
>
> Wow, not even the module-heavy Python has something like "hdparm". I
> don't think, there must be a Pd class for every file in /usr/bin
> polluting the namespace.

If there was real namespace support like in Python, then "pollution"  
would not be an issue.

.hc

>
> Ciao
> -- 
>  Frank Barknecht _  
> __footils.org__
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list





 


"[T]he greatest purveyor of violence in the world today [is] my own  
government." - Martin Luther King, Jr.




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


Re: [PD] [nosleep] WAS: how to avoid (most/many/some) readsf~ dropouts

2008-07-16 Thread Hans-Christoph Steiner

On Jul 15, 2008, at 11:35 PM, Mathieu Bouchard wrote:

> On Tue, 15 Jul 2008, Hans-Christoph Steiner wrote:
>
>> I think a suite of low-level objects would be very useful, then  
>> you could create your own [performance_mode] abstraction.  Things  
>> like [hdparm], [/sys], [/proc], etc.
>
> doesn't [/sys] and [/proc] conflict with your namespaces? as does  
> [/] already, I mean...

They are not "my" namespaces.  I neither wrote the code, nor figured  
out their usage.  I just think it is a pretty good system to use.

IOhannes had "/" working in hexloader, but it has other issues.

.hc

>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec



 


   http://at.or.at/hans/



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


[PD] vst~ again Status and Questions

2008-07-16 Thread Luigi Rensinghoff

Hi List

What about the infamous vst~ object ??

I am trying it on XP now...installed pd-extended 0.39.3 and there is  
no help file ???


Ok...i took it from somewhere else and i can load the plugins .. just  
fine


But i cant get the edit window to work (on XP)

is it supposed to work ??

And on Mac ? is somebody on a version with Edit-window ??


Thanks

Luigi

>---<

Luigi Rensinghoff
[EMAIL PROTECTED]
skype:gigischinke
ichat:gigicarlo




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


Re: [PD] Backslash

2008-07-16 Thread Jorge Cardoso
Thanks,

[makefilename %c] worked.

I ended up with this:

[bang]
  |
[dumpOSC 999]--
 |   | 92 (
[OSCroute /message]  --
 ||
[unpack s s s]   [makefilename %c]
|   /
   [symbol2list]
|
   [list2symbol / ]
|
   -
   | open $1   (
   -
|
   [pix_image]

It's not pretty, but it works.

Thanks for the help!

jorge

-Original Message-
From: [EMAIL PROTECTED] on behalf of Frank Barknecht
Sent: Wed 7/16/2008 6:43 PM
To: pd-list@iem.at
Subject: Re: [PD] Backslash
 
Hallo,
Jorge Cardoso hat gesagt: // Jorge Cardoso wrote:

> I'm having a problem with backslashs on windows and none of the solution I 
> found
> on the web works in my case:
> 
> I have an OSC message that has a path to a file. Something like: 
> "c:\folder\image.jpg"
> 
> How can I convert that, in PD, to "c:/folder/image.jpg"? I can't control how 
> the OSC messages
> are generated...

For example with attached pdlua external (needs pdlua)

You need some kind of external, as it's not possible with pure Pd to
split a symbol at a certain character. You could also use something
like Zexy's symbol2list for this task - use 

 [92(
 |
 [makefilename %c] 
 
to generate a backslash symbol to feed into s2l's right inlet then.

Using Lua has the big advantage that you can do some more string
processing in the same object immediatly and in my experience, once
you start with text processing you often need a bit more power anyway,
that's why I'd prefer Lua here.

Ciao
-- 
 Frank Barknecht _ __footils.org__



Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial 
ou legalmente protegida para uso exclusivo do destinatário. Se não for o 
destinatário pretendido da mesma, não deverá fazer uso, copiar, distribuir ou 
revelar o seu conteúdo (incluindo quaisquer anexos) a terceiros, sem a devida 
autorização. Se recebeu esta mensagem por engano, por favor informe o emissor, 
por e-mail, e elimine-a imediatamente. Obrigado.


This message may contain confidential information or privileged material, and 
is intended only for de individual(s) named. If you are not in the named 
addressee, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.

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


Re: [PD] Backslash

2008-07-16 Thread Jorge Cardoso
Sorry, just realized that my great ascii work might not display well 
on some email clients.

The patch is in attachment.

jorge


-Original Message-
From: [EMAIL PROTECTED] on behalf of Jorge Cardoso
Sent: Wed 7/16/2008 8:48 PM
To: pd-list@iem.at
Subject: Re: [PD] Backslash
 
Thanks,

[makefilename %c] worked.

I ended up with this:

[bang]
  |
[dumpOSC 999]--
 |   | 92 (
[OSCroute /message]  --
 ||
[unpack s s s]   [makefilename %c]
|   /
   [symbol2list]
|
   [list2symbol / ]
|
   -
   | open $1   (
   -
|
   [pix_image]

It's not pretty, but it works.

Thanks for the help!

jorge

-Original Message-
From: [EMAIL PROTECTED] on behalf of Frank Barknecht
Sent: Wed 7/16/2008 6:43 PM
To: pd-list@iem.at
Subject: Re: [PD] Backslash

Hallo,
Jorge Cardoso hat gesagt: // Jorge Cardoso wrote:

> I'm having a problem with backslashs on windows and none of the solution I 
> found
> on the web works in my case:
>
> I have an OSC message that has a path to a file. Something like: 
> "c:\folder\image.jpg"
>
> How can I convert that, in PD, to "c:/folder/image.jpg"? I can't control how 
> the OSC messages
> are generated...

For example with attached pdlua external (needs pdlua)

You need some kind of external, as it's not possible with pure Pd to
split a symbol at a certain character. You could also use something
like Zexy's symbol2list for this task - use

 [92(
 |
 [makefilename %c]

to generate a backslash symbol to feed into s2l's right inlet then.

Using Lua has the big advantage that you can do some more string
processing in the same object immediatly and in my experience, once
you start with text processing you often need a bit more power anyway,
that's why I'd prefer Lua here.

Ciao
--
 Frank Barknecht _ __footils.org__




 

Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial 
ou legalmente protegida para uso exclusivo do destinatário. Se não for o 
destinatário pretendido da mesma, não deverá fazer uso, copiar, distribuir ou 
revelar o seu conteúdo (incluindo quaisquer anexos) a terceiros, sem a devida 
autorização. Se recebeu esta mensagem por engano, por favor informe o emissor, 
por e-mail, e elimine-a imediatamente. Obrigado.


This message may contain confidential information or privileged material, and 
is intended only for de individual(s) named. If you are not in the named 
addressee, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.




Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial 
ou legalmente protegida para uso exclusivo do destinatário. Se não for o 
destinatário pretendido da mesma, não deverá fazer uso, copiar, distribuir ou 
revelar o seu conteúdo (incluindo quaisquer anexos) a terceiros, sem a devida 
autorização. Se recebeu esta mensagem por engano, por favor informe o emissor, 
por e-mail, e elimine-a imediatamente. Obrigado.


This message may contain confidential information or privileged material, and 
is intended only for de individual(s) named. If you are not in the named 
addressee, you should not disseminate, distribute or copy this e-mail. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system.

#N canvas 465 67 716 498 10;
#X obj 189 176 symbol2list;
#X obj 254 126 makefilename %c;
#X msg 254 105 92;
#X obj 126 139 unpack s s s;
#X obj 254 84 bang;
#X obj 188 208 list2symbol /;
#X msg 187 240 open \$1;
#X obj 188 302 pix_image;
#X obj 122 77 dumpOSC ;
#X obj 126 110 OSCroute /message;
#X text 254 290 Rest of patch removed...;
#X connect 0 0 5 0;
#X connect 1 0 0 1;
#X connect 2 0 1 0;
#X connect 3 2 0 0;
#X connect 4 0 2 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 8 0 9 0;
#X connect 9 0 3 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] vst~ again Status and Questions

2008-07-16 Thread Thomas Grill


Am 16.07.2008 um 21:47 schrieb Luigi Rensinghoff:



But i cant get the edit window to work (on XP)



does your vst plugin have an editor at all?
I know there are some that don't work too well, but even those should  
at least show up.



is it supposed to work ??



yes, it usually does

gr~~~



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] vst~ again Status and Questions

2008-07-16 Thread Luigi Rensinghoff


Am 17.07.2008 um 00:17 schrieb Thomas Grill:



Am 16.07.2008 um 21:47 schrieb Luigi Rensinghoff:



But i cant get the edit window to work (on XP)



does your vst plugin have an editor at all?
I know there are some that don't work too well, but even those  
should at least show up.




No it doesnt show up ... nothing...

...i think i can use plogue bidule for it.. but its a shame ;-)  
something pd cant do 



is it supposed to work ??



yes, it usually does

gr~~~

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


>---<

Luigi Rensinghoff
[EMAIL PROTECTED]
skype:gigischinke
ichat:gigicarlo




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


[PD] Pd/MAX grudge match in Toronto next Thursday

2008-07-16 Thread Dafydd Hughes
Hey folks

Just in case there are Pd users hanging about in or around Toronto
that I'm not in regular contact with who don't have anything to do
next Thursday night. This is bound to be loads of fun. All the
participants are really cool and funny people.

-
Anything you can do (in Max), I can do better (in PD)
Date: Thursday, July 24, 8pm onwards
Cost: Free! Yes, FREE.
No need to register- come one, come all!
With Celebrity Guest Host Misha Glouberman
Competitors: Frank Tsonis vs. Dafydd Hughes and David McCallum

Come take sides in this fight to the death between those open-source
PD Commies and the right-wing, proprietary, puppy-hating MAX/MSPers.

There has been a long and bloody rivalry between those who would make
new media art with Pure Data, a free, open source graphical
programming language, and proponents of MAX/MSP, Pd's slick,
commercial half-brother. We intend to open these old wounds, pour
salt, beer and whatever else we can find into them, push both programs
and programmers to the brink of collapse and determine once and for
all which is better.

Join host Misha Glouberman as he leads our contestants through a
series of increasingly difficult challenges with play-by-play
commentary by Nicholas Stedman and game show music with Graham
Collins. Watch as Frank Tsonis (team MAX) and David McCallum and
Dafydd Hughes (team Pd) try to come up with the fastest, sexiest and
most effective solutions, all the while fighting against each other,
the clock, and the inevitable nerds who think they can do it better.

If you have experience with either of these programs (or if you don't)
and you think you can do better than our resident gurus, or even if
you just want to play along, feel free to bring a laptop, work on the
challenges, aid or abuse our contestants or just check your email. The
popcorn's on us; it's free to watch, participate, heckle, throw fruit,
and bet on who's gonna get an ass-beating.

Information and downloads:

Pure Data: http://puredata.info/
MAX: http://www.cycling74.com/products/max5

Interaccess Electronic Media Arts Centre: http://interaccess.org/
9 Ossington Ave, Toronto ON Canada
Facebook event is here: http://www.facebook.com/event.php?eid=19191668235
-

cheers
dafydd

-- 
www.sideshowmedia.ca
skype: chickeninthegrass

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


Re: [PD] Free rotation in GEM

2008-07-16 Thread B. Bogart
I suppose we'll here from David...

I do certainly not quite understand what he is aiming to do.

As for the heart of the question:

"...I have come across concepts such as multiplying matrixs and
converting a matrix to 'quarternion', 'gimbal lock'."

Does not sound like he is explicitly trying to avoid "gimbal lock" to me. ;)

.b.


Mathieu Bouchard wrote:
> On Wed, 16 Jul 2008, B. Bogart wrote:
> 
>> If you are just wanting to rotate many times, using huge numbers then
>> tricks like: wrap 0 359 work well...
> 
> Depends how huge they are. Pick 100032. That should give 312
> degrees, supposing you use [wrap 0 360] instead of [wrap 0 359]. But as
> a pd float, it gives either 280 or 344 depending on how the rounding
> happens.
> 
> But this [wrap] trick is definitely not something that one can consider
> using if one is concerned with gimbal lock, and pspunch said he wants to
> avoid gimbal lock, so I don't know why you even mention it, if you want
> so much to stick to the "heart of the question".
> 
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec


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


Re: [PD] Free rotation in GEM

2008-07-16 Thread PSPunch

Hi,


My primary goal is to place an object you can rotate by dragging the mouse.


Basically, whenever the mouse is clicked to start drag, I want to rotate 
the object on the X & Y axises. Up to this point is no problem, but I 
want the rotation to begin assuming the direction of the viewer being 
the bases of the axis.

Using one [rotate] object, I can get the object to rotate in the 
behavior I expect only on the first drag.

Ideally, each time the mouse button is released, the base (fundus? 
basal?) of the rotation vector should be updated... I think.

By chaining [rotate] objects, I can use one to rotate the rotation axis 
and another to rotate the object from that point.
However, I have not found a method of summing multiple drag actions.


Although I may be wrong, I think what I need to do is,


1. Prepare two rotation axises
I. Angle of the axis
II.Angle of the current drag session

2. When the mouse button is clicked, rotate object to
angles I + II

3. When the mouse button is released, sum I + II and wait for
a new click.


And again, although I may be wrong, my current understanding is that 
step 3 will require multiplying the X-Y-Z angles converted to 
quaternion, or some other method which will rotate the Z axis at some 
point by summing rotations based only on the X&Y axises.


Using procedures completely different from the one mentioned abouve, I 
was able to achieve the expected behavior based on [accumrotate] but I 
found no simple way of managing the current angle.

Unfortunately I have torn down the patch. If it would clarify anything, 
I will try to put together another one later today.


Thanks for replies.
--
David Shimamoto


> Indeed,
> 
> Seems to me all the matrix discussion does not get to the heart of the
> question.
> 
> So, Pspunch, what are you really trying to do?
> 
> I agree with cyrille that It's very likely the normal rotation objects
> will do what you want it to.
> 
> If you are just wanting to rotate many times, using huge numbers then
> tricks like: wrap 0 359 work well...
> 
> ..b
> 
> cyrille henry wrote:
>> hello
>>
>> sorry if i misunderstand.
>> rotateXYZ will rotate in X direction, then in Y, finally in Z.
>> if you wish to rotate in Z, then in X, you just need 2 rotate objects:
>> the 1st for the rotation in Z, then an other for the rotation in X.
>>
>> anyway, there is no matrix manipulation that i was not able to do with 
>> rotate/rotateXYZ/translateXYZ/scaleXYZ/shearXY..
>> so i'm quite sure you don't need anything else than this standard objects 
>> for simple matrix rotation.
>>
>> so i think you need 1 [rotate] to rotate the vector axis of the object, then 
>> a accumrotate.
>> if i misunderstood, could you please describe your problem better.
>>
>> I think you can also use GEMgl objects to multiply the matrix with a custom 
>> one, but it's to much complex for what you need.
>>
>> cyrille
>>
>>
>>
>> PSPunch a écrit :
>>> Hi Mathieu,
>>>
>>>
>>> I have not looked into GridFlow much, but I had the impression that its 
>>> main concept was to add matrix manipulation features to Pd, all of its 
>>> visual capabilities being just one of the many results of data you can 
>>> manipulate with matrix. (or is the egg first?)
>>>
>>>
>>> Anyway, understanding its marvelous potentials, I have lately been stuck 
>>> with Windows platforms. At least I got your point that utilizing 
>>> GridFlow only for crunching numbers may work but not so efficient.
>>>
>>>
>>>
>>> What I am trying to do is rotate the vector axis of the object before 
>>> applying [rotation]. This also calls for a method of summing the 
>>> rotations when applying multiple times (and my current understanding is 
>>> that this can only be done by multiplying the quaternion on each rotation)
>>>
>>> If there is no solution at the moment, perhaps Gem could use a few extra 
>>> objects to ease advanced rotations?
>>>
>>> I feel like I am complaining about lack of features without pointing out 
>>> what exactly is missing, when I should be blaming my lack of math skills.
>>>
>>> hmmm..
>>>
>>> --
>>> David Shimamoto
>>>
>>>
>>>
 On Wed, 16 Jul 2008, PSPunch wrote:

> Trying to achieve free rotation *without* using [accumrotate], I have
> come across concepts such as multiplying matrixs and converting a matrix
> to "quarternion"
> How do you implement precise control of rotation matrixs?
> Is this exactly what people use GridFlow for?
 If you tried GridFlow's bundled examples you'd see what I use GridFlow 
 for. I suppose that I could add some other people's examples in the 
 package, if they sent it to me for that purpose. There is already one 
 patch by Roman Häfeli in GridFlow's examples though.

 GridFlow does not support quaternions. I bet it's possible to add 
 support for it using abstractions, but it wouldn't be fast. But I'm 
 willing to add it to the core... there's already a complex-number 
 section in number.c,

Re: [PD] Free rotation in GEM

2008-07-16 Thread Mathieu Bouchard

On Thu, 17 Jul 2008, PSPunch wrote:


My primary goal is to place an object you can rotate by dragging the mouse.


Ok, if it's through a user interface like that, for computing just one 
rotation matrix, I guess you could use [accumrotate] unless it accumulates 
too much error. Suppose that it consistently gets a relative error of 
2**-24 downwards on every rotation. Then after 100 rotations it gets 
its values 6% wrong. If rotating using doubles (float64) instead of 
float32, then you'd hardly notice anything after 1 rotations. 
Note that this is just a rule of thumb of worst cases. It's better to try 
it. [accumrotate] doesn't try to compensate for rounding errors because 
they aren't quite significant in practice in this case. (it's possible to 
do the theory for figuring out average realistic error but it's easier and 
more accurate to just try the implementation.)


Using procedures completely different from the one mentioned abouve, I 
was able to achieve the expected behavior based on [accumrotate] but I 
found no simple way of managing the current angle.


What do you mean "managing the current angle" ??

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


Re: [PD] Free rotation in GEM

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, B. Bogart wrote:


"...I have come across concepts such as multiplying matrixs and
converting a matrix to 'quarternion', 'gimbal lock'."
Does not sound like he is explicitly trying to avoid "gimbal lock" to me. ;)


if he is using [accumrotate] he is trying to avoid gimbal lock.

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


Re: [PD] Free rotation in GEM

2008-07-16 Thread Mathieu Bouchard

On Wed, 16 Jul 2008, PSPunch wrote:

Well, that's sort of it, if you use the name 'matrix' as taken from 
Jitter, or as taken from a plain linear algebra system that has been 
expanded to higher-order structures.

I was referring to matrix as in linear algebra like you mentioned.
I no nothing about features that Jitter has.


Ok, I don't really know any Jitter, but you sounded like you could've had 
experience or contact with it, and that's the only reason I mentioned it.



Now that I've got a grasp of what they are good for in real (or virtual)
life, I enjoyed spending the last week or so studying math putting
patching aside. :(


So why don't you smile?


Thanks again Mathieu,


You're welcome.

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


Re: [PD] Pd/MAX grudge match in Toronto next Thursday

2008-07-16 Thread Dafydd Hughes
You're the second person who's mentioned video or streaming. There's a
pretty good chance we'll record it - streaming is less likely. I'll
make sure I post links to whatever video we make.

On Wed, Jul 16, 2008 at 9:50 PM, PSPunch <[EMAIL PROTECTED]> wrote:
>
> Hi there.
>
> Sounds like a great event you've got going!
> I am all excited just imagining all the joy that may be there.
>
> Do you by any chance have plans to shoot video recordings and posting them
> to hint us how it turns out?
>
> Just thought I'd ask in case no one in your crew had considered it..
>
>
> Regards,
> --
> David Shimamoto
>
>
>> Hey folks
>>
>> Just in case there are Pd users hanging about in or around Toronto
>> that I'm not in regular contact with who don't have anything to do
>> next Thursday night. This is bound to be loads of fun. All the
>> participants are really cool and funny people.
>>
>> -
>> Anything you can do (in Max), I can do better (in PD)
>> Date: Thursday, July 24, 8pm onwards
>> Cost: Free! Yes, FREE.
>> No need to register- come one, come all!
>> With Celebrity Guest Host Misha Glouberman
>> Competitors: Frank Tsonis vs. Dafydd Hughes and David McCallum
>>
>> Come take sides in this fight to the death between those open-source
>> PD Commies and the right-wing, proprietary, puppy-hating MAX/MSPers.
>>
>> There has been a long and bloody rivalry between those who would make
>> new media art with Pure Data, a free, open source graphical
>> programming language, and proponents of MAX/MSP, Pd's slick,
>> commercial half-brother. We intend to open these old wounds, pour
>> salt, beer and whatever else we can find into them, push both programs
>> and programmers to the brink of collapse and determine once and for
>> all which is better.
>>
>> Join host Misha Glouberman as he leads our contestants through a
>> series of increasingly difficult challenges with play-by-play
>> commentary by Nicholas Stedman and game show music with Graham
>> Collins. Watch as Frank Tsonis (team MAX) and David McCallum and
>> Dafydd Hughes (team Pd) try to come up with the fastest, sexiest and
>> most effective solutions, all the while fighting against each other,
>> the clock, and the inevitable nerds who think they can do it better.
>>
>> If you have experience with either of these programs (or if you don't)
>> and you think you can do better than our resident gurus, or even if
>> you just want to play along, feel free to bring a laptop, work on the
>> challenges, aid or abuse our contestants or just check your email. The
>> popcorn's on us; it's free to watch, participate, heckle, throw fruit,
>> and bet on who's gonna get an ass-beating.
>>
>> Information and downloads:
>>
>> Pure Data: http://puredata.info/
>> MAX: http://www.cycling74.com/products/max5
>>
>> Interaccess Electronic Media Arts Centre: http://interaccess.org/
>> 9 Ossington Ave, Toronto ON Canada
>> Facebook event is here: http://www.facebook.com/event.php?eid=19191668235
>> -
>>
>> cheers
>> dafydd
>>
>
>



-- 
www.sideshowmedia.ca
skype: chickeninthegrass

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


Re: [PD] Pd/MAX grudge match in Toronto next Thursday

2008-07-16 Thread Dafydd Hughes
On Wed, Jul 16, 2008 at 11:22 PM, Mathieu Bouchard <[EMAIL PROTECTED]> wrote:
>
> So, how is the Pd community in Toronto nowadays?

Ask me again next Friday.

-- 
www.sideshowmedia.ca
skype: chickeninthegrass

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


Re: [PD] Pd/MAX grudge match in Toronto next Thursday

2008-07-16 Thread Matthew Logan
Oh, definitely want to see a vid of this one.  That would be great!

On Wed, Jul 16, 2008 at 8:25 PM, Dafydd Hughes <[EMAIL PROTECTED]> wrote:

> You're the second person who's mentioned video or streaming. There's a
> pretty good chance we'll record it - streaming is less likely. I'll
> make sure I post links to whatever video we make.
>
> On Wed, Jul 16, 2008 at 9:50 PM, PSPunch <[EMAIL PROTECTED]> wrote:
> >
> > Hi there.
> >
> > Sounds like a great event you've got going!
> > I am all excited just imagining all the joy that may be there.
> >
> > Do you by any chance have plans to shoot video recordings and posting
> them
> > to hint us how it turns out?
> >
> > Just thought I'd ask in case no one in your crew had considered it..
> >
> >
> > Regards,
> > --
> > David Shimamoto
>  >
> >
> >> Hey folks
> >>
> >> Just in case there are Pd users hanging about in or around Toronto
> >> that I'm not in regular contact with who don't have anything to do
> >> next Thursday night. This is bound to be loads of fun. All the
> >> participants are really cool and funny people.
> >>
> >> -
> >> Anything you can do (in Max), I can do better (in PD)
> >> Date: Thursday, July 24, 8pm onwards
> >> Cost: Free! Yes, FREE.
> >> No need to register- come one, come all!
> >> With Celebrity Guest Host Misha Glouberman
> >> Competitors: Frank Tsonis vs. Dafydd Hughes and David McCallum
> >>
> >> Come take sides in this fight to the death between those open-source
> >> PD Commies and the right-wing, proprietary, puppy-hating MAX/MSPers.
> >>
> >> There has been a long and bloody rivalry between those who would make
> >> new media art with Pure Data, a free, open source graphical
> >> programming language, and proponents of MAX/MSP, Pd's slick,
> >> commercial half-brother. We intend to open these old wounds, pour
> >> salt, beer and whatever else we can find into them, push both programs
> >> and programmers to the brink of collapse and determine once and for
> >> all which is better.
> >>
> >> Join host Misha Glouberman as he leads our contestants through a
> >> series of increasingly difficult challenges with play-by-play
> >> commentary by Nicholas Stedman and game show music with Graham
> >> Collins. Watch as Frank Tsonis (team MAX) and David McCallum and
> >> Dafydd Hughes (team Pd) try to come up with the fastest, sexiest and
> >> most effective solutions, all the while fighting against each other,
> >> the clock, and the inevitable nerds who think they can do it better.
> >>
> >> If you have experience with either of these programs (or if you don't)
> >> and you think you can do better than our resident gurus, or even if
> >> you just want to play along, feel free to bring a laptop, work on the
> >> challenges, aid or abuse our contestants or just check your email. The
> >> popcorn's on us; it's free to watch, participate, heckle, throw fruit,
> >> and bet on who's gonna get an ass-beating.
> >>
> >> Information and downloads:
> >>
> >> Pure Data: http://puredata.info/
> >> MAX: http://www.cycling74.com/products/max5
> >>
> >> Interaccess Electronic Media Arts Centre: http://interaccess.org/
> >> 9 Ossington Ave, Toronto ON Canada
> >> Facebook event is here:
> http://www.facebook.com/event.php?eid=19191668235
> >> -
> >>
> >> cheers
> >> dafydd
> >>
> >
> >
>
>
>
> --
> www.sideshowmedia.ca
> skype: chickeninthegrass
>
> ___
> 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] Free rotation in GEM

2008-07-16 Thread PSPunch

O/T


>> Now that I've got a grasp of what they are good for in real (or virtual)
>> life, I enjoyed spending the last week or so studying math putting
>> patching aside. :(
> 
> So why don't you smile?

I was practicing my sarcasm which I've just proved that it can use some 
improvement.

Of course studying math is fun,
but patching is even more fun! \(^v^)/

Or I should say I personally find patching to be relatively sporty 
compared to other things I enjoy doing.. until bumping into logic 
problems like this. That is also fun, but not sporty.


--
David Shimamoto


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


Re: [PD] vst~ again Status and Questions

2008-07-16 Thread David Powers
Hey, I have used vst~ to great effect in PD before, and had no problem
viewing the VST GUI interface... in fact I gave a workshop on basic
synthesis for techno producers where I used all free VST's inside of
PD, and PD as the routing/sequencing engine and it worked great.

However  I have no idea which version of PD I was on when I did that.
I guess, the current version of PD-ext 1 year ago or so.

~David

On Wed, Jul 16, 2008 at 5:39 PM, Luigi Rensinghoff
<[EMAIL PROTECTED]> wrote:
>
> Am 17.07.2008 um 00:17 schrieb Thomas Grill:
>
> Am 16.07.2008 um 21:47 schrieb Luigi Rensinghoff:
>
> But i cant get the edit window to work (on XP)
>
> does your vst plugin have an editor at all?
> I know there are some that don't work too well, but even those should at
> least show up.
>
> No it doesnt show up ... nothing...
> ...i think i can use plogue bidule for it.. but its a shame ;-) something pd
> cant do 
>
> is it supposed to work ??
>
> yes, it usually does
> gr~~~
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>>---<
> Luigi Rensinghoff
> [EMAIL PROTECTED]
> skype:gigischinke
> ichat:gigicarlo
>
>
>
>
> ___
> 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] Creating music notation with GEM

2008-07-16 Thread David Powers
Hello,

I have a question, how hard do you think it would be create a notation
engine for GEM? What considerations would go into the design?

On the simplest level, I'm imagining doing non-rhythmic notation to
display chords and cells for improvisors.

Since the number of notes on a chord would be determined on the fly,
would it be better to create the max amount of objects and turn off
unwanted ones, or better to use dynamic patching? This would simply be
to create circles representing noteheads Here's my imaginary
prototype:

[gemhead]
   |
   |
   |   [cell G Ab F# F (   or  [chords c4 e4 g4 , F#4 G4 B4 (
or   [cell 0 4 3 5 2 1 (
   |   /
   |  /
[treble_clef]

Anybody have any idea what kind of messages I might send such an object?

~David

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