Re: [PD] [PD-announce] the end of type restrictions

2007-07-23 Thread Chris McCormick
On Sun, 01 Jul 2007, Mathieu Bouchard wrote:
> On Sat, 30 Jun 2007, Chris McCormick wrote:
> >On Sat, Jun 30, 2007 at 01:29:40PM -0400, Mathieu Bouchard wrote:
> >>Anyway, seriously, if you wanted [unpost] as an external
> >>for Miller's pd, you can't, because Miller rejected the
> >>sys_printhook patch in 2004.
> >
> >Maybe it would go in now that there is this excellent
> >concrete example of being able to catch and process errors in-patch.
> 
> If it makes sense to you that excellent concrete examples can push
> new features into pd, I cannot help your case. It doesn't work that
> way.

On Mon, Jul 23, 2007 at 01:51:21AM -0400, Mathieu Bouchard wrote:
> It's very possible for you to transfer the features. You only have to 
> rewrite the code the way that Miller wants them to be written like.

So why don't more people do that? Rewrite the code the way [they think]
Miller wants instead of forking their own incompatible version of Pd?

Best,

Chris.

---
http://mccormick.cx

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


Re: [PD] Expr does not play well with ints?

2007-07-23 Thread Mathieu Bouchard

On Mon, 23 Jul 2007, B. Bogart wrote:

Mathieu, are you really able to put 8.0 in an expr argument? In my PD
(.39 ubuntu package) the 8.0 gets turned into 8 and remains an int.

Ah! [expr float(8) / 6] does the trick, I'm damn happy there is float()
in there!!!


if you write any character next to the number that causes pd to read it 
as a symbol, then pd won't rewrite it before expr reads it.


[expr (8.0) / (6.0)] = 1.25
[expr 8.0 / 6.0] = 1
[expr 8.0 /6.0]  = 1.25
[expr 8.0/ 6.0]  = 1.25
[expr 8.0/6.0]   = 1.25

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


Re: [PD] Expr does not play well with ints?

2007-07-23 Thread B. Bogart
Ah! [expr float(8) / 6] does the trick, I'm damn happy there is float()
in there!!!

Thanks all,

B. Bogart

B. Bogart wrote:
> Mathieu, are you really able to put 8.0 in an expr argument? In my PD
> (.39 ubuntu package) the 8.0 gets turned into 8 and remains an int.
> 
> Hmm?
> 
> B. Bogart
> 
> Mathieu Bouchard wrote:
>> On Mon, 23 Jul 2007, B. Bogart wrote:
>>
>>> So I've been doing lots of calculations with expr and creation
>>> arguments, and it seems to send an int when it should send a float way
>>> too often:
>>> [expr 8 / 20]
>>> returns 0!!!
>>> Have I lost my mind? Is my machine going crazy? or is expr actually
>>> doing what I see here?
>> expr supports the int type because [expr] comes from jMax/FTS/Max/etc.
>> So if you put a number without a dot it's parsed as an int. Then the
>> main difference between ints and floats is that an int divided by an int
>> is rounded towards zero (many languages do it like that but some others
>> round it always downwards instead; some others instead force the result
>> to be a float or a rational)
>>
>> What you can do is either [expr 8 / 20.0] or [expr 8.0 / 20] or
>> obviously [expr 8.0 / 20.0]
>>
>> You only need to make one of the two as float because float has priority
>> on int, so when a float comes into contact with an int, the int is
>> converted, even though float can't represent everything that int can,
>> e.g. compare
>>
>>   [expr 123456789%10] finds last digit of 123456789
>>   [expr int(123456789.0)%10] fails because float isn't that precise
>>
>> do not put a space before % in that first example! if you do, pd will
>> parse it as a number, turn it to float, then give it to [expr], which
>> determines that float % int = syntax error.
>>
>> cool, eh?
>>
>>  _ _ __ ___ _  _ _ ...
>> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
>>
>>
>> 
>>
>> ___
>> 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] Expr does not play well with ints?

2007-07-23 Thread B. Bogart
Mathieu, are you really able to put 8.0 in an expr argument? In my PD
(.39 ubuntu package) the 8.0 gets turned into 8 and remains an int.

Hmm?

B. Bogart

Mathieu Bouchard wrote:
> On Mon, 23 Jul 2007, B. Bogart wrote:
> 
>> So I've been doing lots of calculations with expr and creation
>> arguments, and it seems to send an int when it should send a float way
>> too often:
>> [expr 8 / 20]
>> returns 0!!!
>> Have I lost my mind? Is my machine going crazy? or is expr actually
>> doing what I see here?
> 
> expr supports the int type because [expr] comes from jMax/FTS/Max/etc.
> So if you put a number without a dot it's parsed as an int. Then the
> main difference between ints and floats is that an int divided by an int
> is rounded towards zero (many languages do it like that but some others
> round it always downwards instead; some others instead force the result
> to be a float or a rational)
> 
> What you can do is either [expr 8 / 20.0] or [expr 8.0 / 20] or
> obviously [expr 8.0 / 20.0]
> 
> You only need to make one of the two as float because float has priority
> on int, so when a float comes into contact with an int, the int is
> converted, even though float can't represent everything that int can,
> e.g. compare
> 
>   [expr 123456789%10] finds last digit of 123456789
>   [expr int(123456789.0)%10] fails because float isn't that precise
> 
> do not put a space before % in that first example! if you do, pd will
> parse it as a number, turn it to float, then give it to [expr], which
> determines that float % int = syntax error.
> 
> cool, eh?
> 
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
> 
> 
> 
> 
> ___
> 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] Audio Analasys

2007-07-23 Thread Patrice Colet

Derek Holzer a écrit :

Hi Patrice,

Patrice Colet wrote:

Derek Holzer a écrit :

* [expr 6/f$1] 

I always do this typo, ;)


Sorry, but ? Did I put one too many zeros or something?

d.


it's not f$1, it's $f1,
 lol.
begin:vcard
fn:Patrice Colet
n:Colet;Patrice
adr;dom:;;;Nice;;06100
email;internet:[EMAIL PROTECTED]
tel;cell:06 32 66 03 57
x-mozilla-html:FALSE
version:2.1
end:vcard

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


Re: [PD] mac/intel extended rc4

2007-07-23 Thread Hans-Christoph Steiner

Hey,

I cc'ed the list since this is of general interest.

Try trashing your pd preferences in ~/Library/Preferences.  The file  
is called org.puredata.pd.plist.  Otherwise, post the whole contents  
of the Pd window to the Pd-list.  The PDP error below means that you  
do know have X11.app installed.  It's included on the Mac OS X 10.4  
DVD.  You'll need to install it to use PDP and PiDiP.

Hope the clavicle heals soon!

.hc

On Jul 21, 2007, at 7:33 AM, wolfgang schwarzenbrunner wrote:

> hi hans,
>
> after 6 years of pd - still a newbie...
>
> anyway - i have this intel mac just for half a year now and never  
> worked on mac befor. so here is the issue:
>
> i downloaded your extended rc4. copied it to the application  
> folder. ran it. gem loaded - all other libs don`t load. which is  
> strange...
>
> do you maybe have a hint (befor i start trying around for hours)?
>
> sorry for unpolite "short wordedness" but i broke my clavicle two  
> days ago, which makes writing slow and painful :( ;)
>
> shell output below... maybe i just have to set one or two paths -  
> but i don`t really know exactly how an where to...
>
> best regards and sorry for disturbing
>
> schwarzenbrunner wolfgang
>
>
> GEM: Graphics Environment for Multimedia
> GEM: ver: 0.91-cvs
> GEM: compiled: Jul 10 2007
> GEM: maintained by IOhannes m zmoelnig
> GEM: Authors :Mark Danks (original version)
> GEM:Chris Clepper
> GEM:James Tittle
> GEM:IOhannes m zmoelnig
> GEM: with help by Guenter Geiger, Daniel Heckenberg, Cyrille Henry,  
> et al.
> GEM: using SSE2 optimization
> iem: can't load library
> vst: can't load library
> OSC: can't load library
> /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/ 
> pdp.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/ 
> Resources/Scripts/../extra/pdp.pd_darwin, 10): Library not loaded: / 
> usr/X11R6/lib/libX11.6.dylib
>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/ 
> Scripts/../extra/pdp.pd_darwin
>  Reason: image not found
> pdp: can't load library
> error: .printout.text: no such object



 


All information should be free.  - the hacker ethic





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


Re: [PD] hidio bug?

2007-07-23 Thread Hans-Christoph Steiner


First off, I must say [hidio] can be quite rough since it's very  
alpha.  But I am glad to have people testing it, with that in mind.  
But if you are using [hidio] and not [hid], and you are getting  
"rel_x" as a message, then that is a bug.  "rel_x" is the old [hid]  
style messages.  [hidio]'s messages look like [relative x 0 1(


.hc

On Jul 22, 2007, at 9:49 PM, Diego Azar wrote:

Hi. I'm using the hidio object with a mouse and it seems there's  
something I'm not getting. The problem is when routing the list  
from the rel_x to obtain the x relative axes; the value, sometimes,  
is greater than abs(1) when the mouse is not moving. Is this  
behavior correct? Is this a bug? Has it anythig to do with the  
numbers hidio gets from the /dev/event$ or something within the OS?

I'm using a Debian based distro.

Thanks, Diego.

Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at  
Yahoo! Games.

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




 



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



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


Re: [PD] [PD-announce] the end of type restrictions

2007-07-23 Thread Hans-Christoph Steiner

On Jul 22, 2007, at 10:51 PM, Mathieu Bouchard wrote:

> On Sun, 22 Jul 2007, Thomas Grill wrote:
>
>> The question for me is rather why desiredata announcements are  
>> posted into the PD-list given that the codebase has moved away in  
>> a way that makes it impossible to transfer most of the features.  
>> Although I find DD an interesting project, it's essentially off- 
>> topic for the pd-list.
>
> Tell me: is this a mailing-list about pd the language, or about pd  
> the implementation? How do you know that?
>
> It's very possible for you to transfer the features. You only have  
> to rewrite the code the way that Miller wants them to be written like.

I think it's a good idea to start exploring how to make Pd a cleaner  
language, but there are ways of softening the blow of drastic  
changes.  One thing that you could do to lighten the impact is to  
make a separate library that has your versions of route, pack, etc.   
Then if we strip out as much as possible from the Pd core language,  
and stick it all into libraries, then it would be quite easy to  
switch between the compatible versions and your new versions.

Another option is to use different names.

.hc

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



 


As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously. - Benjamin Franklin



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


Re: [PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Hans-Christoph Steiner

Thanks for scoping this out.  I added this to Pd-extended so that  
it's easy to change.  Ideally this would be a preference, but there  
needs to be some kind of preference framework to handle things like  
this.

.hc

On Jul 23, 2007, at 12:11 PM, Bjoern Hartmann wrote:

> I'll answer my own question -
> in file pd.tk, at the end of the "main window set up" section,  
> after lines
>
> wm title . "Pd"
> . configure -menu .mbar -width 200 -height 150
>
> add the following line to control main window position at startup:
>
> wm geometry . +x+y
>
> where (x,y) is the offset in pixels from the top left corner of the
> screen. So "wm geometry . +0+0" puts the pd main window in the top
> left corner of the leftmost screen.
>
> The relevant Tk manual page is:
> http://tmml.sourceforge.net/doc/tk/wm.html
>
>
>
> -- 
> Bjoern Hartmann
> Human Computer Interaction Group
> Stanford University
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



 


Using ReBirth is like trying to play an 808 with a long stick.- 
David Zicarelli



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


Re: [PD] [PD-announce] PD workshop, Budapest

2007-07-23 Thread Hans-Christoph Steiner

I won't be anywhere near there, unfortunately, but it's good to see  
Pd spreading.  Be sure to add your workshop to the workshop page  
(it's a wiki page):

http://puredata.org/docs/workshops

.hc

On Jul 22, 2007, at 1:58 PM, stc wrote:

> Hi all,
>
> i will make a PD workshop in Budapest, Hungary. Details are here:
>
> http://www.kitchenbudapest.hu/en/node/232
>
> come and see if you are around bp at the middle of august..
>
> ps. the recursive Gem patches posted a few days ago are brilliant...
> good to see that things are happening around with Gem...
>
> ___
> PD-announce mailing list
> [EMAIL PROTECTED]
> http://lists.puredata.info/listinfo/pd-announce
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



 


If you are not part of the solution, you are part of the problem.



___
PD-announce mailing list
[EMAIL PROTECTED]
http://lists.puredata.info/listinfo/pd-announce

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


Re: [PD] [PD-announce] PD workshop, Budapest

2007-07-23 Thread Hans-Christoph Steiner


This could be a good opportunity to bring some computer music  
resources.  But I'll bet there is something.  Maybe you could make Pd  
big in Romania :D.


.hc

On Jul 22, 2007, at 5:19 PM, Chuckk Hubbard wrote:

Too bad, I will be moving to Romania soon, and I could make the  
trip, but not before August.
Any Pd people in Romania?  I'll be in Bucharest at first, perhaps  
to relocate.  I married a Romanian woman who came to the US on a  
Fulbright scholarship, and one of the agreements she made by  
accepting the sholarship was to spend 2 years in Romania after  
school, and marrying a US citizen has no effect on that.  I  
understand there are very few resources for computer music in Romania.


-Chuckk

On 7/22/07, stc <[EMAIL PROTECTED]> wrote:
Hi all,

i will make a PD workshop in Budapest, Hungary. Details are here:

http://www.kitchenbudapest.hu/en/node/232

come and see if you are around bp at the middle of august..

ps. the recursive Gem patches posted a few days ago are brilliant...
good to see that things are happening around with Gem...

___
PD-announce mailing list
[EMAIL PROTECTED]
http://lists.puredata.info/listinfo/pd-announce

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




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




 



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



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


Re: [PD] how to know line~ has finished

2007-07-23 Thread Hans-Christoph Steiner

On Jul 15, 2007, at 1:24 PM, jasch   wrote:

> excellent,
> and threshold~ is even in PDa
>
> thanks
>
> /*j (off to count cycles)
>
>
>
>> Line~ is not the same as line~
>
> that much i figured
>
>> But you can simulate Line~'s behavior with Pd's basic objects.
>
> yeah, maybe it would be worth it to upgrade line~ and vline~ (if
> that's not considered a heresy :)
> nobody would mind a second outlet...

I think that it is a great idea to have line, line~, and vline~  
output a bang on a second outlet when they finish.  There are already  
a number of objects that work like this, and I think it's a useful  
paradigm here.

.hc


>
> ___
> 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] [pd] SIMD

2007-07-23 Thread Hans-Christoph Steiner


Just checked in the fix to the release branch.

.hc

On Jul 13, 2007, at 6:49 PM, hard off wrote:

this is still a problem in the newest build of pd extended on os  
X.  is there some way i can fix it for myself?







 



"...information-sharing is a powerful positive good, and... it is an  
ethical duty of hackers to share their expertise by writing open- 
source code and facilitating access to information and to computing  
resources wherever possible."   - Eric Raymond




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


Re: [PD] GEM installation OS 10.3.9 "how do I do it?"

2007-07-23 Thread Hans-Christoph Steiner

Which objects didn't work?  AFAIK, things should work on 10.3, but I  
could be wrong.

.hc

On Jul 22, 2007, at 10:00 PM, Daniel Zajicek wrote:

> I have downloaded PD, and have been trying to get GEM to work for most
> of today. I have downloaded
> Pd-0.39.2-extended-rc4-macosx104-powerpc.dmg from Han's site
> (http://at.or.at/hans/pd/installers.html), but I continually get
> errors saying:
>
>
> iemabs: can't load library
> iemmatrix: can't load library
> liblist: can't load library
>
> pdp_text : severe error : could not load default font : no  
> rendering !!!
> pdp_qtext : severe error : could not load default font : no  
> rendering !!!
>
>  In addition, I was unable to create objects, and instead pd would
> create a box with a dashed line around it (is this a comment box?).
>
> So, thwarted by that, I downloaded Miller's most current version of pd
> 40-2, and thought I might just put GEM on there myself, but I can't
> figure out how to do it. This is my first time working with a program
> like pd, and I could used some assistance either installing GEM, or
> getting pd-extended to work.
>
> If it helps, I am running OS 10.3.9, on an G4 powerbook.
>
> Thanks in advance,
> Dan Zajicek
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list


 


Access to computers should be unlimited and total.  - the hacker ethic



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


Re: [PD] getting file info from a directory

2007-07-23 Thread Hans-Christoph Steiner

There is also [folder_list] in "hcs" in Pd-extented.

.hc

On Jul 21, 2007, at 6:23 AM, Andy Farnell wrote:

>
>
> [playlist] is nice if you don't have [shell]. You can filter
> by extension and seek to iterate through the list.
>
> http://ydegoyon.free.fr/software.html
>
>
>
> On Fri, 20 Jul 2007 13:33:31 -0500
> Denis Fitzpatrick <[EMAIL PROTECTED]> wrote:
>
>> I would like to get a list of all the sound files in a directory
>> (including sub-directories possibly),  and be able to iterate through
>> this list (perhaps randomly), getting their length, then loading and
>> playing all or part of these files.  Any suggestions regarding
>> objects/patches to look at would be greatly appreciated.
>>
>> Denis
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>
>
> -- 
> Use the source
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list





 


'You people have such restrictive dress for women,’ she said,  
hobbling away in three inch heels and panty hose to finish out  
another pink-collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf



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


Re: [PD] polygon object

2007-07-23 Thread Cypod

I don't have a [polygon] object, is it new or require some special abs? I'm
running Han's build of PD 0.39.2-extended-test6

On 7/23/07, Timon Botez <[EMAIL PROTECTED]> wrote:


Sorry, I do mean the [polygon] object in Gem - not curve. Curve
appears to be restricted to some 10 points. Ill look into the forced
rendering stuff - although not entirely sure how it helps. Thanks for
pointer. Couldnt get linked download.

T.




Hallo,
Timon Botez hat gesagt: // Timon Botez wrote:


> Hi, is there a more efficient way of feeding co-ordinates to the
> polygon object? If I have more than 20 points it is somewhat
> difficult to match a feed to the inlets. Something like a matrix
> input could make that simpler...
>

I suppose, with "polygon object" you mean the [curve] object of Gem?
(There are other "polygon objects" outside of Gem, like [drawpolygon])

For Gem, you can use attached approach which involves "forced
rendering" (search the archive for "double gemhead trick" to get a
longer explanation.)

Ciao
--
  Frank Barknecht _ __footils.org_ __goto10.org__

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





--
B~
www.cypod.co.nr
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-dev] recursion in Gem - a tutorial

2007-07-23 Thread Mathieu Bouchard

On Thu, 19 Jul 2007, Claude Heiland-Allen wrote:

Again, I tried to create something similar in Pd, but ran into 
re-entrancy bugs whenever I tried to use recursion.  I do not write 
externals lightly, but in this case I think it was necessary.  If 
someone knows how to solve this in pure Pd, I'd be delighted.


To follow up on our discussion on the FreeNode #dataflow channel... think 
about what it takes for any object to figure out "hey, I'm being used 
recursively!". Basically, if I use [+] recursively, there's no way that 
just by the order of use of the inlets it can figure out whether anything 
is recursive or not. What it can use is the outlets, but it can only 
figure out recursion when the left inlet gets stuffed, so if that is 
preceded immediately by a right inlet message, there's no way for that 
object to know whether the right inlet message is intended to accompany 
the recursive call or just configure the object for the benefit of the 
next non-recursive call. Both possibilities are legitimate uses that have 
to be supported.


Your only possibility, then, is to make something explicit, with methods 
"push" and "pop" that can handle backups of states of enough subobjects, 
or else do something really heavy for creating instances recursively by 
dynamic patching. (we're at the edge of what makes sense in a 
pd-style of dataflow... I suppose any solution will look weird)


(In DesireData it could look at pd_stack, but that wouldn't be fast and 
it's not enough because it still needs a state-preserving system)


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


Re: [PD] Expr does not play well with ints?

2007-07-23 Thread Mathieu Bouchard

On Mon, 23 Jul 2007, B. Bogart wrote:


So I've been doing lots of calculations with expr and creation
arguments, and it seems to send an int when it should send a float way
too often:
[expr 8 / 20]
returns 0!!!
Have I lost my mind? Is my machine going crazy? or is expr actually
doing what I see here?


expr supports the int type because [expr] comes from jMax/FTS/Max/etc. So 
if you put a number without a dot it's parsed as an int. Then the main 
difference between ints and floats is that an int divided by an int is 
rounded towards zero (many languages do it like that but some others round 
it always downwards instead; some others instead force the result to be a 
float or a rational)


What you can do is either [expr 8 / 20.0] or [expr 8.0 / 20] or obviously 
[expr 8.0 / 20.0]


You only need to make one of the two as float because float has priority 
on int, so when a float comes into contact with an int, the int is 
converted, even though float can't represent everything that int can, e.g. 
compare


  [expr 123456789%10] finds last digit of 123456789
  [expr int(123456789.0)%10] fails because float isn't that precise

do not put a space before % in that first example! if you do, pd will 
parse it as a number, turn it to float, then give it to [expr], which 
determines that float % int = syntax error.


cool, eh?

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


Re: [PD] [PD-announce] the end of type restrictions

2007-07-23 Thread Frank Barknecht
Hallo,
Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:

> On Sun, 22 Jul 2007, Miller Puckette wrote:
> 
> >But to return to the original question, if my 'improvement' of
> >pack destroys the nice symmetry of pack and unpack arguments, this
> >certainly calls the design of unlack into question, since the only
> >reason its arguments are as they are is that they were designed so
> >in the context of a no-longer-extant pack.
> 
> Is symmetry so important?
> 
> Why is it that leftmost inlet is special, not only in terms of 
> implementation (the object _is_ its own left inlet except in case of 
> NOINLET) but also that it is the 'active' inlet for most classes?
> Because there's no special built-in outlet in those same objects...

Hm, but mostly there is, at least "kind of": The hot left-most inlet
corresponds to the right-to-left triggering of many objects.
 
 [unpack]
 | /
 [pack] 

will fire only once because of this. In general this convention leads
to the "oriental" right-to-left reading direction one often uses when
deciphering Pd-patches.

> Why are some classes using the reverse order? [timer], [realtime], 
> [cputime]. For those objects, messages need to be sent left-to-right; the 
> rightmost inlet triggers output.

It's likely because of the nice symmetry in the following common idiom
to get inter-onset intervals:

 [t b b]
 | |
 [timer]

[timer] (and its relatives to some extent) is an object that is used
in a hot-to-cold fashion more often than in the cold-to-hot direction
common with most other objects like [pack] etc.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


Re: [PD] [PD-announce] recursion in Gem - a tutorial

2007-07-23 Thread cyrille henry
hello,

i just had a look at your patch.

you can remove most [t a a], as every gem primitive output the pointer they 
reciving.

on your 1st patch, you can remove the separator, they are useless.

for patch 6 : i usually did not care storing the data on a table, i usually 
generated them on the fly using random, and seed the random at every frame. 
this is not really slower, and lot's easier to program.

for the other, why don't you use a LSystem?
i you don't need infinit recurtion depth, i think it's easier to code and more 
flexible (every recurtion can be adjusted independantly)?

cyrille




Claude Heiland-Allen a écrit :
> Hi everyone,
> 
> I figured out how to implement [nrepeat] and [nnrepeat] in pure-Pd, they 
> still require [repeat] from Zexy, and also the [list] objects from 
> pd-0.40-2 or greater (and obviously Gem is required too).
> 
> The updated files (just Pd patches, no externals required) can be 
> downloaded from:
> 
> https://devel.goto10.org/dl.php?repname=maximus&path=%2Ftutorials%2Fgem-recursion%2F&rev=0&isdir=1
> 
> Thanks,
> 
> 
> Claude
> 
> 
> Claude Heiland-Allen wrote:
>> Hi everyone,
>>
>> I've been playing around with recursion in Gem, and thought I'd document 
>> my experiences.
>>
>>
>> You can download the patches here (Gzip'd Tar):
>>
>> https://devel.goto10.org/dl.php?repname=maximus&path=%2Ftutorials%2Fgem-recursion%2F&rev=0&isdir=1
>>
>>
>> You will also need a couple of externals that you can download here 
>> (Gzip'd Tar, C source code only):
>>
>> https://devel.goto10.org/dl.php?repname=maximus&path=%2Fclodlib%2F&rev=0&isdir=1
>>
>> These externals are necessary because I haven't figured out a nice way 
>> to handle recursive re-entrancy in a Pd patch.  If I do I'll update the 
>> tutorial with the dependancy removed.
>>
>>
>> Screenshots are here, in case you're not near a computer with Pd+Gem:
>>
>> http://www.blurty.com/users/claudiusmaximus/day/2007/07/18#407
>>
>>
>> Please let me know if you find it useful, or if you don't.  Thanks for 
>> your attention,
>>
>>
>> Claude
> 

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


[PD] Expr does not play well with ints?

2007-07-23 Thread B. Bogart
Hey all,

So I've been doing lots of calculations with expr and creation
arguments, and it seems to send an int when it should send a float way
too often:

[expr 8 / 20]

returns 0!!!

See attached patch.

Have I lost my mind? Is my machine going crazy? or is expr actually
doing what I see here?

I cringe at the idea of doing these calculations with separate [*] [/]
[+] [-] objects...

Thanks,
B. Bogart

#N canvas 0 0 450 300 10;
#X obj 74 90 expr 8 / 20;
#X obj 142 24 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 93 128 5 0 0 0 - - -;
#X floatatom 213 133 5 0 0 0 - - -;
#X msg 191 47 1;
#X obj 194 95 expr $f1 * 8 / 20;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 1 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 3 0;

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


Re: [PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Bjoern Hartmann
I'll answer my own question -
in file pd.tk, at the end of the "main window set up" section, after lines

wm title . "Pd"
. configure -menu .mbar -width 200 -height 150

add the following line to control main window position at startup:

wm geometry . +x+y

where (x,y) is the offset in pixels from the top left corner of the
screen. So "wm geometry . +0+0" puts the pd main window in the top
left corner of the leftmost screen.

The relevant Tk manual page is:
http://tmml.sourceforge.net/doc/tk/wm.html



-- 
Bjoern Hartmann
Human Computer Interaction Group
Stanford University

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


Re: [PD] GEM pix_buffer

2007-07-23 Thread chris clepper

On 7/23/07, Derek Holzer <[EMAIL PROTECTED]> wrote:


That's the problem... we're long on memory and short on CPU with the
patch I'm working on. I hoped I could use [pix_buffer] to get some of
that CPU back at the expense of a lot of RAM...

Besides, I couldn't preload *all* my clips with the 'ram' message
anyways. Only the one I'm currently playing. My patch has 48 clips which
will be addressed by three different players, so a way of storing all
the vids ahead of time is required to avoid lagtime starting the video
when it's requested.



Can you fit all 48 clips uncompressed into RAM?  A 1 second clip at 640x480
30fps in YCbCr is about 18.5MB (double that for RGBA) which would allow 3
and a half minutes of video to fit in 32bit address space.

Try creating a RAM disk and copy the uncompressed clips into that.  RAM
disks might even allow for greater than 32 bit sizes.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM pix_buffer

2007-07-23 Thread Derek Holzer
Hi Chris,

chris clepper wrote:

> Yes.  Reading and writing a pix_buffer is at most a memory copy operation.

Great! That's what I thought.

> On OSX you can load a compressed video file into RAM using the 'ram' 
> message.  This will use less memory than pix_buffer but still use CPU 
> for decoding the video. 

That's the problem... we're long on memory and short on CPU with the 
patch I'm working on. I hoped I could use [pix_buffer] to get some of 
that CPU back at the expense of a lot of RAM...

Besides, I couldn't preload *all* my clips with the 'ram' message 
anyways. Only the one I'm currently playing. My patch has 48 clips which 
will be addressed by three different players, so a way of storing all 
the vids ahead of time is required to avoid lagtime starting the video 
when it's requested.

thx+best,
d.

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 138:
"Retrace your steps"

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


Re: [PD] GEM pix_buffer

2007-07-23 Thread chris clepper

On 7/23/07, Derek Holzer <[EMAIL PROTECTED]> wrote:


A couple questions:

First: I assume that reading images from [pix_buffer] is less CPU
intensive than decoding a video file with [pix_film]. Is that true?



Yes.  Reading and writing a pix_buffer is at most a memory copy operation.

Second (and assuming the first statement is true): is there a way to

dump a whole video into [pix_buffer] without doing it frame-by-frame?



On OSX you can load a compressed video file into RAM using the 'ram'
message.  This will use less memory than pix_buffer but still use CPU for
decoding the video.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] GEM pix_buffer

2007-07-23 Thread Derek Holzer
A couple questions:

First: I assume that reading images from [pix_buffer] is less CPU 
intensive than decoding a video file with [pix_film]. Is that true?

Second (and assuming the first statement is true): is there a way to 
dump a whole video into [pix_buffer] without doing it frame-by-frame?

Thanks + best,
derek

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 87:
"Imagine the music as a moving chain or caterpillar"

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


[PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Bjoern Hartmann
Is there a way to control at which position the main Pd window appears
on the screen on startup? For an individual patch, I can write desired
values into the canvas definition line "#N canvas X Y ..." in the
patch's pd file - but what about the main window/console?

I suspect this may be possible by hacking pd.tk, but as I'm unfamiliar
with Tcl/Tk I don't quite know where to look. I'm running Pd version
0.39.2-extended-rc3 on Win XP (gave up on Vista for now).

-- 
Bjoern Hartmann
Human Computer Interaction Group
Stanford University

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


Re: [PD] polygon object

2007-07-23 Thread Frank Barknecht
Hallo,
Timon Botez hat gesagt: // Timon Botez wrote:

> Sorry, I do mean the [polygon] object in Gem - not curve. Curve  
> appears to be restricted to some 10 points. Ill look into the forced  
> rendering stuff - although not entirely sure how it helps. Thanks for  
> pointer. 

Ah, sorry, I completely forgot about that. Then just ignore my
curve-ramblings.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


Re: [PD] polygon object

2007-07-23 Thread Timon Botez
Sorry, I do mean the [polygon] object in Gem - not curve. Curve  
appears to be restricted to some 10 points. Ill look into the forced  
rendering stuff - although not entirely sure how it helps. Thanks for  
pointer. Couldnt get linked download.

T.




Hallo,
Timon Botez hat gesagt: // Timon Botez wrote:


> Hi, is there a more efficient way of feeding co-ordinates to the
> polygon object? If I have more than 20 points it is somewhat
> difficult to match a feed to the inlets. Something like a matrix
> input could make that simpler...
>

I suppose, with "polygon object" you mean the [curve] object of Gem?
(There are other "polygon objects" outside of Gem, like [drawpolygon])

For Gem, you can use attached approach which involves "forced
rendering" (search the archive for "double gemhead trick" to get a
longer explanation.)

Ciao
-- 
  Frank Barknecht _ __footils.org_ __goto10.org__

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


Re: [PD] [PD-announce] the end of type restrictions

2007-07-23 Thread Mathieu Bouchard

On Sun, 22 Jul 2007, Miller Puckette wrote:


But to return to the original question, if my 'improvement' of
pack destroys the nice symmetry of pack and unpack arguments, this
certainly calls the design of unlack into question, since the only
reason its arguments are as they are is that they were designed so
in the context of a no-longer-extant pack.


Is symmetry so important?

Why is it that leftmost inlet is special, not only in terms of 
implementation (the object _is_ its own left inlet except in case of 
NOINLET) but also that it is the 'active' inlet for most classes?

Because there's no special built-in outlet in those same objects...

Why are some classes using the reverse order? [timer], [realtime], 
[cputime]. For those objects, messages need to be sent left-to-right; the 
rightmost inlet triggers output.


What about [unselect] and [unroute] ?

Why can't [send~] and [receive~] be used just like [send] and [receive] 
and instead of making it many-to-many you added [catch~] and [throw~] that 
instead has exactly the opposite problem?


Where's [tabwrite4] ? ;)

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


Re: [PD] Loading movies

2007-07-23 Thread chris clepper

Do you see a Quicktime error posted in the console?  GEM uses bog standard
QT API calls used by other QT applications, so a clip that works in one
should work in the others.

The gemwindow message is not an error.

On 7/23/07, Paul Verity Smith <[EMAIL PROTECTED]> wrote:



Am attempting to load movies on a Mac G5  Intel (dual core Intel Xeon 2.66
Ghz) running PD-0.39.2-extended - test 7 and am unable to load quicktime
movies. When we click on the file it reads 0 frames in Pix Film regardless
of the actual length of the movies which are rendered using Motion JPEG B.
On the screen is simply a white blank.

We do get an error message

"Gemwindow active err = 0"

Any ideas friends?

Best regards
Paul
--
3 Fountain Square
Westgate St.,
Gloucester
GL1 2QY

tel:+44 1452506586
mob: +44 7961980841

Web: http://www.miranda-arts.com




___
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] Loading movies

2007-07-23 Thread Paul Verity Smith

Am attempting to load movies on a Mac G5  Intel (dual core Intel Xeon 2.66
Ghz) running PD-0.39.2-extended - test 7 and am unable to load quicktime
movies. When we click on the file it reads 0 frames in Pix Film regardless
of the actual length of the movies which are rendered using Motion JPEG B.
On the screen is simply a white blank.

We do get an error message

"Gemwindow active err = 0"

Any ideas friends?

Best regards 
Paul 
-- 
3 Fountain Square 
Westgate St.,
Gloucester 
GL1 2QY

tel:+44 1452506586
mob: +44 7961980841

Web: http://www.miranda-arts.com




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


Re: [PD] [PD-announce] the end of type restrictions

2007-07-23 Thread Mathieu Bouchard

On Sun, 22 Jul 2007, Frank Barknecht wrote:


I think, the usefulness, type-checking can have, is obvious, otherwise
we wouldn't have C. Of course, sometimes it's a pain, otherwise we
wouldn't have other languages.


I don't think that the choice of C vs other languages is just a matter of 
type checking, nor even just a matter of types. The purpose of types is 
not limited to merely checks. They can also be used for expressing 
conversions and documentation and contracts and polymorphisms.


But to illustrate where the type-checking of [unpack] is useful, see 
attached patch: If I have an [unpack 0 0 0] in my patch, and after that 
some math calculations on numbers, then if a symbol message reaches the 
[unpack 0 0 0], for years now I *know* that the error in my patch has to 
be somewhere before that unpack. This makes looking for the bug a bit 
easier and I admit: I'm used to this behaviour of unpack.


What you wrote in the patch... I made exactly the same argument to a quite 
different group of people some years ago. It was about whether or not 
interfaces should be declared in the program itself and be checked. Ruby 
people tend to be very much into skipping all type checks.


What I didn't think about until yesterday is that if I want to define a 
method in pd using pd itself, how would i typically do that? well, I would 
use a [route] as the method dispatcher; then I might use [list] to revert 
the implicit [list trim] that [route] does; then I have an argument list, 
which is an actual list. from that I can take $1 $2 $3... using 
messageboxes or... using [unpack]. Now if one wanted to add typechecking 
in a location similar to where it usually happens? It probably would be 
next to [unpack] or inside [unpack].



Your insistence on changing [unpack] itself is what I cannot
understand.


My first thought was that [unpack]'s job is just to unpack, and that many 
typechecks in pd occur because of technical limitations that need not 
exist, or as optimisation tricks that aren't as optional as they could be 
- e.g. so far, [unpack]'s "p" takes more RAM, because handling "p" 
generally takes more RAM for anything that wants to handle it correctly.


I didn't think much of [unpack] being used expressly for the purpose of 
typechecking.


Interestingly, this sort of circumstance happens even with extremely 
underdeveloped type systems like Pd... 3 atom types (actually 7, but I 
won't count the 4 that only exist within messageboxes). DesireData is down 
to only 2 for now, but I'm still planning to go up to 4 (and not 5 as I 
was saying last year). Yet we're having the same issues with that few atom 
types as in languages in which there are dozens of types and ability for 
user-defined types and plenty of actual ubiquitous practice of using the 
user-defined types.


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


Re: [PD] default value for an abstraction's creation argument

2007-07-23 Thread robbert van hulzen

nice. thanks for that one.

Frank Barknecht wrote:

> Arguments, that you
> don't specify, get initialized as 0. So instead of [moses 1] you
> could also use [select 0] and omit the [t b]. 



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


Re: [PD] arduino+solenoid concert

2007-07-23 Thread Andy Farnell



straw + 300m of 32 SWG copper wire + iron nail + lots of patience = solenoid

I used to make these as a kid, mini rail guns to fire nails :)
You can rig up a slow spinning drill to help you wind them quicker.
Watch they don't get too hot and melt the drinking straw. Resistance
should be about 100 ohms. A good trick is to charge a 10,000 uF capacitor
so you can get a hefty pulse of current.


Otherwise... pinball machines, doorbells (the ding - dong type)

If you don't mind high voltage types (I advise 12v types to be safe)
then scrap dishwashers and washing machines can be mined for them.




On Mon, 23 Jul 2007 13:16:59 +1000
naysayer <[EMAIL PROTECTED]> wrote:

> i roman,
> i was just revisiting this thread. could you tell me what solenoids
> you used, i'm have a really hard time finding cheap domestic solenoids
> for a similar project. they all seem to be really expensive. is there
> a good place to purchase cheap solenoids, or somewhere to get second
> hand ones.
> 
> cheers.
> 
> tom
> 
> On 6/22/07, Roman Haefeli <[EMAIL PROTECTED]> wrote:
> > On Thu, 2007-06-21 at 09:21 -0400, Alexandre Quessy wrote:
> > > Hi!
> > > I don't want to insist... but a task like this would be much easier
> > > with the http://www.arduino.cc/playground/Code/SimpleMessageSystem
> > > than with something not-as-flexible like Pduino.
> > >
> > > a
> >
> > yo, are talking about the task i described here:
> >
> > http://lists.puredata.info/pipermail/pd-list/2007-06/051211.html
> >
> > i certainly will have a look at SMS as well...
> > thank you for mentioning it.
> >
> > 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
> >
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


-- 
Use the source

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


Re: [PD] arduino+solenoid concert

2007-07-23 Thread Derek Holzer
I was just checking around Berlin last week, and none of the shops or 
mailorders that I usually use had any solenoids (Reichelt, Segor, 
Conrad...) Conrad says they stock them, but none of the branches here 
had any on the shelves. I don't think they are *that* common, actually. 
Suggestions for German mailorder supplier appreciated...

d.

Roman Haefeli wrote:
> hi tom
> 
> i bought them in an ordinary electronic store in my town for ca. 3
> euros/piece. but i don't know where they got them. they still have
> around 1000 pieces, iirc. 
> i had the impression, that this solenoids are as ordinary things as
> electro motors and resistors and thus should be available in ordinary
> electronic stores. if it is really  impossible for you to get some, i
> could send you some (for the price of the solenoids and shipping cost).
> 
> cheers
> roman
> 
> 
> 
> On Mon, 2007-07-23 at 13:16 +1000, naysayer wrote:
>> i roman,
>> i was just revisiting this thread. could you tell me what solenoids
>> you used, i'm have a really hard time finding cheap domestic solenoids
>> for a similar project. they all seem to be really expensive. is there
>> a good place to purchase cheap solenoids, or somewhere to get second
>> hand ones.
>>
>> cheers.
>>
>> tom
>>
>> On 6/22/07, Roman Haefeli <[EMAIL PROTECTED]> wrote:
>>> On Thu, 2007-06-21 at 09:21 -0400, Alexandre Quessy wrote:
 Hi!
 I don't want to insist... but a task like this would be much easier
 with the http://www.arduino.cc/playground/Code/SimpleMessageSystem
 than with something not-as-flexible like Pduino.

 a
>>> yo, are talking about the task i described here:
>>>
>>> http://lists.puredata.info/pipermail/pd-list/2007-06/051211.html
>>>
>>> i certainly will have a look at SMS as well...
>>> thank you for mentioning it.
>>>
>>> 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
>>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
>   
> ___ 
> 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
> 

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 144:
"Simply a matter of work"

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


Re: [PD] arduino+solenoid concert

2007-07-23 Thread Roman Haefeli
hi tom

i bought them in an ordinary electronic store in my town for ca. 3
euros/piece. but i don't know where they got them. they still have
around 1000 pieces, iirc. 
i had the impression, that this solenoids are as ordinary things as
electro motors and resistors and thus should be available in ordinary
electronic stores. if it is really  impossible for you to get some, i
could send you some (for the price of the solenoids and shipping cost).

cheers
roman



On Mon, 2007-07-23 at 13:16 +1000, naysayer wrote:
> i roman,
> i was just revisiting this thread. could you tell me what solenoids
> you used, i'm have a really hard time finding cheap domestic solenoids
> for a similar project. they all seem to be really expensive. is there
> a good place to purchase cheap solenoids, or somewhere to get second
> hand ones.
> 
> cheers.
> 
> tom
> 
> On 6/22/07, Roman Haefeli <[EMAIL PROTECTED]> wrote:
> > On Thu, 2007-06-21 at 09:21 -0400, Alexandre Quessy wrote:
> > > Hi!
> > > I don't want to insist... but a task like this would be much easier
> > > with the http://www.arduino.cc/playground/Code/SimpleMessageSystem
> > > than with something not-as-flexible like Pduino.
> > >
> > > a
> >
> > yo, are talking about the task i described here:
> >
> > http://lists.puredata.info/pipermail/pd-list/2007-06/051211.html
> >
> > i certainly will have a look at SMS as well...
> > thank you for mentioning it.
> >
> > 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
> >
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



___ 
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] Audio Analasys

2007-07-23 Thread Chuckk Hubbard

lol
I wish it were $f6/1 (hex dollars of course)

On 7/23/07, Derek Holzer <[EMAIL PROTECTED]> wrote:


This is the thread of cryptic responses, I see ;-)

So it's:

[expr 6/$f1]

d.


IOhannes m zmoelnig wrote:
 * [expr 6/f$1]
>>> I always do this typo, ;)
>> Sorry, but ? Did I put one too many zeros or something?
>>
>
> 's|f\$|$f|g'


--
derek holzer ::: http://www.umatic.nl :::
http://blog.myspace.com/macumbista
---Oblique Strategy # 91:
"Infinitesimal gradations"

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





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


Re: [PD] Audio Analasys

2007-07-23 Thread Derek Holzer
This is the thread of cryptic responses, I see ;-)

So it's:

[expr 6/$f1]

d.


IOhannes m zmoelnig wrote:
 * [expr 6/f$1] 
>>> I always do this typo, ;)
>> Sorry, but ? Did I put one too many zeros or something?
>>
> 
> 's|f\$|$f|g'


-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 91:
"Infinitesimal gradations"

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


Re: [PD] Audio Analasys

2007-07-23 Thread IOhannes m zmoelnig
Derek Holzer wrote:
> Hi Patrice,
> 
> Patrice Colet wrote:
>> Derek Holzer a écrit :
>>
>>> * [expr 6/f$1] 
>> I always do this typo, ;)
> 
> Sorry, but ? Did I put one too many zeros or something?
> 

's|f\$|$f|g'


mfg.asdr
IOhannes

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


Re: [PD] Audio Analasys

2007-07-23 Thread Derek Holzer
Hi Patrice,

Patrice Colet wrote:
> Derek Holzer a écrit :
> 
>> * [expr 6/f$1] 
> I always do this typo, ;)

Sorry, but ? Did I put one too many zeros or something?

d.

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 22:
"Be less critical more often"

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


Re: [PD] GEM installation OS 10.3.9 "how do I do it?"

2007-07-23 Thread IOhannes m zmoelnig
Daniel Zajicek wrote:
> I have downloaded PD, and have been trying to get GEM to work for most
> of today. I have downloaded
> Pd-0.39.2-extended-rc4-macosx104-powerpc.dmg from Han's site
> (http://at.or.at/hans/pd/installers.html), but I continually get
> errors saying:
> 
> 
> iemabs: can't load library
> iemmatrix: can't load library
> liblist: can't load library
> 
> pdp_text : severe error : could not load default font : no rendering !!!
> pdp_qtext : severe error : could not load default font : no rendering !!!

well, these are not errors related to installing Gem, are they?
you are missing _other_ externals.

> 
>  In addition, I was unable to create objects, and instead pd would
> create a box with a dashed line around it (is this a comment box?).

this does not say much. it would be good ti know _which_ objects you
want to create: for instance i repeatedly fail to create the object
[flabbergast] but [pack] works just fine :-)

> 
> So, thwarted by that, I downloaded Miller's most current version of pd
> 40-2, and thought I might just put GEM on there myself, but I can't
> figure out how to do it. This is my first time working with a program
> like pd, and I could used some assistance either installing GEM, or
> getting pd-extended to work.
> 
> If it helps, I am running OS 10.3.9, on an G4 powerbook.

there are loads of way to load a library and many of them are described
in the Pd-manual (which is a good read anyhow).

basically, just drop the Gem.pd_darwin into the extra/Gem folder (you
probably want to create that folder) of your installation.
this can be a bit tricky on os-x, as your os would like you to stay out
of certain directories (and think they are really "applications")

another solution is to put your Gem.pd_darwin wherever you like and add
the path of it to pd's startup paths so it can find it when it searches
for Gem.


mfg.asdr
IOhannes

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