Re: [PD] Berlin Pure Data Meetings

2008-10-14 Thread João Pais
Unfortunately I'm out this month, or I would gladly try to do something.  
Is this a time-limited event, or you're staying for a while? (will be back  
around end of November)

for something about me, you can read a fresh article in  
http://cec.concordia.ca/econtact/10_4/bernal_pais_endphase.html

João Pais


 Hallo Berliner!

 Since now many of the pd-graz people are living in Berlin (or at least
 Michi Pinter and me for now ;), it would be nice to meet some Berlin pd
 people (or similar).

 I heard that there was a pd stammtisch here, but I guess it is not
 active anymore ?
 So if anyone is interested - let me know !
 (We also plan to make a workshop at some other time - if someone wants
 to contribute or attend she/he is of course very welcome!)

 OK, I am happy for any reply,
 LG
 Georg

 PS:
 As I am new here - has maybe someone tips which things are good to go to
 here in Berlin ?
 Maybe some locations/mailinglists/websites with nice events or
 communities ? - Thanks for any hints !

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



-- 
Friedenstr. 58
10249 Berlin
Deutschland
Tel +49 30 42020091
Mob +49 162 6843570
[EMAIL PROTECTED]
skype: jmmmpjmmmp
http://www.puredata.org/Members/jmmmp
IBM Thinkpad R51, XP, Ubuntu GG
Pd-Ext-0.39-2-t5, Pd Van 0.40-t2

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


Re: [PD] Sending Textures

2008-10-14 Thread IOhannes m zmoelnig
Joseph Barrows wrote:
 Hi Hans,
 thanks - it does work! what had changed was that pix_texture wouldn't do
 anything untill it was in a gem chain (which it didn't need in .39, but was
 probably an accidental 'feature')

i would call it a bug.
all gem-objects should only do anything (graphic wise) when connected 
correctly to the gemchain.

fmasdr
IOhannes

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


Re: [PD] Testing for empty creation args?

2008-10-14 Thread Frank Barknecht
Hallo,
Bill Gribble hat gesagt: // Bill Gribble wrote:

 I am doing something like this:
 
 |loadbang|
 |
 |symbol $1|
 |
 |readfile $1 cr, rewind(
 |
 |textfile|
 
 There's also an interface to set the filename later.

Use this instead: 

  [list append $1]
  |
  [select 0]
  |\
  [nofile(  [s $0-FILENAME]
  |
  [s $0-FILENAME]

Ciao
-- 
Frank

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


Re: [PD] expr modulo negative

2008-10-14 Thread Frank Barknecht
Hallo,
Hans Roels hat gesagt: // Hans Roels wrote:

 Hello,
 
 If you want to calculate the modulo of a negative number, you get a 
 different result if you use the 'mod' object or 'expr' with %.
 
 -1  4
 ||
 mod
 |
 3
 
 -1 4
 |   |
 expr $f1 % $f2
 |
 -1
 
 I guess this is a bug in expr ?

Not really: Pd also has a builting [% ] object, which behaves like the
% in expr. 

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] expr modulo negative

2008-10-14 Thread IOhannes m zmoelnig
Hans Roels wrote:
 Hello,
 
 If you want to calculate the modulo of a negative number, you get a 
 different result if you use the 'mod' object or 'expr' with %.
 
 -1  4
 ||
 mod
 |
 3
 
 -1 4
 |   |
 expr $f1 % $f2
 |
 -1
 
 I guess this is a bug in expr ?


you also get a different result if you use [mod] or [%].
it's a feature.

fgmasdr
IOhannes



 
 Hans r
 
 
 ___
 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 modulo negative

2008-10-14 Thread cyrille henry
you can use pd [mod] object or [%] object.
it's not the same for negative umber.

expr % is the same than pd %.
so i don't see any bug.

Cyrille


Hans Roels a écrit :
 Hello,
 
 If you want to calculate the modulo of a negative number, you get a 
 different result if you use the 'mod' object or 'expr' with %.
 
 -1  4
 ||
 mod
 |
 3
 
 -1 4
 |   |
 expr $f1 % $f2
 |
 -1
 
 I guess this is a bug in expr ?
 
 Hans r
 
 
 ___
 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 modulo negative

2008-10-14 Thread Andy Farnell

[%] and [mod] treat the sign differently. [mod] is monotonic 
but [%] is symmetrical about zero.

On Tue, 14 Oct 2008 13:45:50 +0100
Hans Roels [EMAIL PROTECTED] wrote:

 Hello,
 
 If you want to calculate the modulo of a negative number, you get a 
 different result if you use the 'mod' object or 'expr' with %.
 
 -1  4
 ||
 mod
 |
 3
 
 -1 4
 |   |
 expr $f1 % $f2
 |
 -1
 
 I guess this is a bug in expr ?
 
 Hans r
 
 
 ___
 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


[PD] 'argument number out of range' error in Miller Puckette's example patches

2008-10-14 Thread Lao Yu
Hi,

I can't resolve this - in the example patch folder 2.control.examples  
the example 10.more.messages has to the lower right a message

;
number9 $1;
9bis $2

which generates the above message when activated. the other examples  
with $1 and $2 in the same patch, for instance just before the  
[print] object work fine. I wouldn't see anything wrong in the example.
The same error is generated in example 13.locality in the same folder  
(upon opening the example). I'm aware that this example is a  
different case because the $ sign is used in an object whereas in the  
previous example it is in a message box. However it may be the same  
error?

Best
Jurgen



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


Re: [PD] pyext compile ubuntu

2008-10-14 Thread Vincent Rioux
hi Thomas and Patco,
i had the same errors as you Patco
but i finally managed to compile pyext on hardy, python2.5 this way:
get sources from

svn co https://svn.g.org/ext/trunk/flext
svn co https://svn.g.org/ext/trunk/py

compile flext
compile py:
cd py

bash ../flext/build.sh pd gcc
edit config.txt
# what is the base prefix of the Python installation?
PYTHONPREFIX=/usr

# which Python version do you want to compile against?
PYTHONVERSION=2.5

# uncomment if numpy/numarray/numeric support should be compiled in
# for info see http://numeric.scipy.org
# PY_NUMPY=1
PY_NUMARRAY=1
# PY_NUMERIC=1

# use thread-safe GIL functionality (do this for python version = 2.3!)
# PY_USE_GIL=1

# use inofficial (pure data) functionality
# PY_USE_INOFFICIAL=1



best regards,
vincent


Thomas Grill a écrit :
 Hi,
 i just realized that you have numeric (and not numpy) installed.
 While py/pyext supports all three flavors of Python array packages  
 (numarray, numeric and numpy) methinks that numpy is the only  
 canonical choice at this time, while the others are outdated.  
 Therefore, the py/pyext build system is geared to numpy.
 gr~~~

 Am 25.09.2008 um 22:06 schrieb patco:

   
 hello, I've got py working but it wasn't easy:

 py/pyext 0.2.1pre - python script objects
 (C)2002-2008 Thomas Grill - http://g.org/ext

 using Python 2.5.2 (r252:60911, Jul 31 2008, 17:44:49)
 [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

 Python array support enabled



 attached is a very dirty patch of file that misses Numeric path,
 sorry I don't know enough c++ to do something better.


 Le jeudi 25 septembre 2008 à 18:28 +0200, Thomas Grill a écrit :
 
 Ooops, sorry i missed the $ locate command.
 If adjusting things in config.txt doesn't work check out the scripts
 in the build folder that are relevant for your platform.
 gr~~~

 Am 25.09.2008 um 17:30 schrieb Thomas Grill:

   
 Hi,
 with the poor remainders of my knowledge of the french language i
 would suppose that you don't have numerical Python (numpy)
 installed.
 You can
 a) Install it and adjust the paths in config.txt
 b) comment out NUMPY=1 or whatever indicates usage of numpy in
 config.txt

 gr~~~

 Am 25.09.2008 um 15:59 schrieb patco:

 
 Hello,

 I've rebuilt flext with sources from https://svn.g.org/ext/ 
 trunk

 and py with both sources from puredata svn and g svn gives this
 error:


 source/pybuffer.cpp:36:33: erreur: numpy/arrayobject.h : Aucun
 fichier
 ou dossier de ce type

 $ locate arrayobject.h
 /usr/include/python2.4/Numeric/arrayobject.h
 /usr/include/python2.5/Numeric/arrayobject.h

 thanks for answers



 Le jeudi 25 septembre 2008 à 15:15 +0200, Thomas Grill a écrit :
   
 Hi,
 from which svn did you download?
 The pd svn is outdated and not the authoritative source. Please
 follow the links on http://puredata.info/Members/thomas/
 gr~~~

 Am 24.09.2008 um 16:42 schrieb patco:

 
 hi,

 I've just downloaded flext and py sources from svn, and tried  
 with
 both
 python 2.4 and 2.5, same errors:


 $ bash ../flext/build.sh pd gcc build
 make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd
 COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt
 BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-
 gcc.inc
 TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
 make[1]: entrant dans le répertoire « /home/patco/Bureau/pd- 
 devel/
 py »
 mkdir -p pd-linux/release-multi
 mkdir -p pd-linux/release-multi/
 g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4   -
 pthread
 -fPIC -DPY_EXPORTS -DPY_NUMPY -DPY_USE_GIL -DNDEBUG - 
 DFLEXT_THREADS
 -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5
 -I/home/patco/Bureau/pd-devel/pd/src -I/usr/include/stk
 -I/usr/include/sndobj -I/usr/include/flext source/main.cpp -o
 pd-linux/release-multi/main.opp
 In file included from source/pybase.h:16,
  from source/main.cpp:13:
 source/main.h:34: erreur: expected class-name before «{» token
 In file included from source/main.cpp:13:
 /usr/include/flext/flcontainers.h: In member function «void
 TypedFifoT::Put(T*) [with T = FifoEl]»:
 source/pybase.h:181:   instantiated from here
 /usr/include/flext/flcontainers.h:456: erreur: no matching  
 function
 for
 call to «TypedFifoFifoEl::Put(FifoEl*)»
 /usr/include/flext/flcontainers.h:405: note: candidats sont: void
 Fifo::Put(Lifo::Cell*)
 /usr/include/flext/flcontainers.h: In member function «T*
 TypedLifoT::Pop() [with T = FifoEl]»:
 /usr/include/flext/flcontainers.h:466:   instantiated from «T*
 PooledFifoT, M, O::New() [with T = FifoEl, int M = 2, int O  
 = 1]»
 source/pybase.h:179:   instantiated from here
 /usr/include/flext/flcontainers.h:380: erreur: invalid  
 static_cast
 from
 type «Lifo::Cell*» to type «FifoEl*»
 make[1]: *** [pd-linux/release-multi/main.opp] Erreur 1
 make[1]: quittant le répertoire « /home/patco/Bureau/pd-devel/ 
 py »
 make: *** [build-release-multi] Erreur 2



 

Re: [PD] live distro with pd extended

2008-10-14 Thread Roman Haefeli
On Tue, 2008-10-14 at 17:07 +0200, Luigi Rensinghoff wrote:
 Hi List
 
 Well maybe it was discussed before
 
 I am looking for a live distro like puredyne , that i can start  
 from a CD, with my patches on an usb stick.
 
 Since i have to usse a foreign computer for a performance.
 
 I tried with puredyne but i am missing many externals from pd- 
 extended
 
 Is there anything like a debian-live cd with the complete and full pd- 
 extended ??
 
i'm no expert in live distro area, but why don't you simply add the
missing externals to the pure:dyne usb installation? i guess, it is
easier to adapt the pd inside the distro than to adapt the distro around
pd-extended.

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] live distro with pd extended

2008-10-14 Thread Luigi Rensinghoff
Hi List

Well maybe it was discussed before

I am looking for a live distro like puredyne , that i can start  
from a CD, with my patches on an usb stick.

Since i have to usse a foreign computer for a performance.

I tried with puredyne but i am missing many externals from pd- 
extended

Is there anything like a debian-live cd with the complete and full pd- 
extended ??


Thanks luigi

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


Re: [PD] live distro with pd extended

2008-10-14 Thread Roman Haefeli
On Tue, 2008-10-14 at 17:50 +0200, Luigi Rensinghoff wrote:
 
 On Oct 14, 2008, at 5:21 PM, Roman Haefeli wrote:
   Hi List
   Well maybe it was discussed before
   I am looking for a live distro like puredyne , that i can start

   from a CD, with my patches on an usb stick.
   Since i have to usse a foreign computer for a performance.
   I tried with puredyne but i am missing many externals from pd- 
   extended
   Is there anything like a debian-live cd with the complete and full
   pd- 
   extended ??

  i'm no expert in live distro area, but why don't you simply add the
  missing externals to the pure:dyne usb installation? i guess, it is
  easier to adapt the pd inside the distro than to adapt the distro
  around
  pd-extended.
 
  roman
  
 
 
 I didnt manage tocompile them...due to.c compiler missing i
 think .
 and the repository  - thing with apt-get didnt work as i expected
 it

 hm

first check, what frank suggested. then, if you still are missing
something, you could try to simply copy the missing libraries from a
pd-extended archive's /extra do the pd-install/extra on your
pure:dyne. 

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] RjDj hits TechCrunch

2008-10-14 Thread Jamie Bullock

I've been off the list for a while so I missed the buzz around RjDj. It
seems it's hit TechCrunch, which is pretty mainstream coverage for a
Pd-based app:

http://www.techcrunch.com/2008/10/13/rjdj-generates-an-awesome-trippy-soundtrack-for-your-life/

Great work!

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


[PD] Help with compressor/limiter abstraction

2008-10-14 Thread Frank Barknecht
Hallo,

I'm trying to build a pure-Pd compressor/limiter effect. I followed a
chapter in the Csound book a bit (by Marc Resibois), but somehow it's
still a bit strange. I would appreciate if someone could test out the
attachemend and maybe even enhance it? 

Ciao
-- 
 Frank Barknecht _ __footils.org__


compress~-help.pd
Description: application/puredata


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


Re: [PD] Testing for empty creation args?

2008-10-14 Thread Hans-Christoph Steiner

On Oct 14, 2008, at 7:56 AM, IOhannes m zmoelnig wrote:

 Frank Barknecht wrote:
 Hallo,
 Bill Gribble hat gesagt: // Bill Gribble wrote:
 I am doing something like this:

 |loadbang|
 |
 |symbol $1|
 |
 |readfile $1 cr, rewind(
 |
 |textfile|

 There's also an interface to set the filename later.
 Use this instead:   [list append $1]
   |
   [select 0]
   |\
   [nofile(  [s $0-FILENAME]
   |  [s $0-FILENAME]


 since this does not differentiate between no args and 0, i prefer  
 the attached version (too complicated for ascii art)

 fmgasdr
 IOhannes


Wow, that is a crazy hack, I don't quite get how it works.  I guess  
if there are no args, then Pd doesn't do the replacement at all?   
Then the 0 comes from things being inited to 0?

That would be awesome to have as a reusable abstraction, but that  
sounds tough.

.hc



 Ciao

 #N canvas 351 18 450 490 10;
 #X obj 187 246 list append \$1;
 #X msg 138 131 bang;
 #X obj 134 202 select s;
 #X obj 134 152 t b b;
 #X obj 242 179 makefilename $%d-test;
 #X obj 134 179 symbol \$1-test;
 #X msg 242 159 1;
 #X obj 187 224 t b;
 #X obj 8 292 t b;
 #X text 15 312 no arg given;
 #X text 217 225 this is \$1;
 #X obj 8 332 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
 #X obj 187 279 print arg1;
 #X connect 0 0 12 0;
 #X connect 1 0 3 0;
 #X connect 2 0 8 0;
 #X connect 2 1 7 0;
 #X connect 3 0 5 0;
 #X connect 3 1 6 0;
 #X connect 4 0 2 1;
 #X connect 5 0 2 0;
 #X connect 6 0 4 0;
 #X connect 7 0 0 0;
 #X connect 8 0 11 0;
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
 listinfo/pd-list





 


Free software means you control what your computer does. Non-free  
software means someone else controls that, and to some extent  
controls you. - Richard M. Stallman



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


[PD] [PD-announce] PDa package for OpenMoko Freerunner GTA02

2008-10-14 Thread Hans-Christoph Steiner

Hey,

I just uploaded a test build of PDa for OpenMoko Freerunner GTA02.  I  
haven't had a chance to test it yet, so give it a shot and post back  
about your experiences with it.

http://sourceforge.net/project/showfiles.php? 
group_id=236704package_id=287575

There are also Tcl/Tk packages in case OpenMoko doesn't provide any:

http://sourceforge.net/project/showfiles.php? 
group_id=236704package_id=295064

.hc

 


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



___
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] Testing for empty creation args?

2008-10-14 Thread Roman Haefeli
On Tue, 2008-10-14 at 13:56 +0200, IOhannes m zmoelnig wrote:
 since this does not differentiate between no args and 0, i prefer the 
 attached version (too complicated for ascii art)
 
 fmgasdr
 IOhannes


wow! this is smart. how often could i have used that! i wonder now, if
there are other uses as well of using a dollar argument this way.

thanks for sharing!

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] expr modulo negative

2008-10-14 Thread Max
maybe someone could explain _what_ the difference is?
that would be enlightening vor everybody.

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


Re: [PD] Testing for empty creation args?

2008-10-14 Thread Frank Barknecht
Hallo,
IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
 since this does not differentiate between no args and 0, i prefer the 
 attached version (too complicated for ascii art)

That's neat! I've never tought of this approach, thanks for posting.

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] expr modulo negative

2008-10-14 Thread Hans Roels
ok, so there is no expr function identical to the 'mod' object?

Hans r

At 13:09 14/10/2008, Frank Barknecht wrote:
Hallo,
Hans Roels hat gesagt: // Hans Roels wrote:

  Hello,
 
  If you want to calculate the modulo of a negative number, you get a
  different result if you use the 'mod' object or 'expr' with %.
 
  -1  4
  ||
  mod
  |
  3
 
  -1 4
  |   |
  expr $f1 % $f2
  |
  -1
 
  I guess this is a bug in expr ?

Not really: Pd also has a builting [% ] object, which behaves like the
% in expr.

Ciao
--
  Frank Barknecht _ __footils.org__

___
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] Berlin Pure Data Meetings

2008-10-14 Thread Julian Brooks
Yar, me too.

 

Shame no up north UK action.

 

Would have liked to check it.

 

Best,

 

Jb

 

From: hard off [mailto:[EMAIL PROTECTED] 
Sent: 13 October 2008 23:21
To: Julian Brooks
Subject: Re: [PD] Berlin Pure Data Meetings

 

oh sorry, should have posted to the list.  just did thurs fri sat in bristol
london brighton.  

will play in antwerp on the 17th of october at the breakcore gives me wood
party.


 

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


Re: [PD] live distro with pd extended

2008-10-14 Thread Luigi Rensinghoff


On Oct 14, 2008, at 5:21 PM, Roman Haefeli wrote:


Hi List

Well maybe it was discussed before

I am looking for a live distro like puredyne , that i can start
from a CD, with my patches on an usb stick.

Since i have to usse a foreign computer for a performance.

I tried with puredyne but i am missing many externals from pd-
extended

Is there anything like a debian-live cd with the complete and full  
pd-

extended ??


i'm no expert in live distro area, but why don't you simply add the
missing externals to the pure:dyne usb installation? i guess, it is
easier to adapt the pd inside the distro than to adapt the distro  
around

pd-extended.

roman


I didnt manage tocompile them...due to.c compiler missing i  
think .


and the repository  - thing with apt-get didnt work as i expected  
it


hm

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


[PD] Testing for empty creation args?

2008-10-14 Thread Bill Gribble
I am doing something like this:

|loadbang|
|
|symbol $1|
|
|readfile $1 cr, rewind(
|
|textfile|

There's also an interface to set the filename later.

Because of the later message processing, it would be nice not to send  
the read message if there is no creation arg. Is there a  
straightforward way to do that?

Thanks,
Bill Gribble


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


Re: [PD] 'argument number out of range' error in Miller Puckette's example patches

2008-10-14 Thread IOhannes m zmoelnig
Lao Yu wrote:
 Hi,
 
 I can't resolve this - in the example patch folder 2.control.examples  
 the example 10.more.messages has to the lower right a message
 
 ;
 number9 $1;
 9bis $2
 
 which generates the above message when activated. the other examples  
 with $1 and $2 in the same patch, for instance just before the  
 [print] object work fine. I wouldn't see anything wrong in the example.
 The same error is generated in example 13.locality in the same folder  
 (upon opening the example). I'm aware that this example is a  
 different case because the $ sign is used in an object whereas in the  
 previous example it is in a message box. However it may be the same  
 error?


there's nothing wrong with the behaviour you are experiencing.
the thing is: you shouldn't click directly on the message-box containing 
the $args, but rather click on the message-box above it.
the $1 and $2 will be magically replaced by 45, resp. 67, which is 
what the example is trying to show you.
dreictly clicking on the message-box will not provide any arguments to 
replace the $args, this is why you get the error-message.

mfg.asdr#
IOhannes

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


[PD] expr modulo negative

2008-10-14 Thread Hans Roels
Hello,

If you want to calculate the modulo of a negative number, you get a 
different result if you use the 'mod' object or 'expr' with %.

-1  4
||
mod
|
3

-1 4
|   |
expr $f1 % $f2
|
-1

I guess this is a bug in expr ?

Hans r


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


Re: [PD] Testing for empty creation args?

2008-10-14 Thread IOhannes m zmoelnig

Frank Barknecht wrote:

Hallo,
Bill Gribble hat gesagt: // Bill Gribble wrote:


I am doing something like this:

|loadbang|
|
|symbol $1|
|
|readfile $1 cr, rewind(
|
|textfile|

There's also an interface to set the filename later.


Use this instead: 


  [list append $1]
  |
  [select 0]
  |\
  [nofile(  [s $0-FILENAME]
  |
  [s $0-FILENAME]



since this does not differentiate between no args and 0, i prefer the 
attached version (too complicated for ascii art)


fmgasdr
IOhannes




Ciao


#N canvas 351 18 450 490 10;
#X obj 187 246 list append \$1;
#X msg 138 131 bang;
#X obj 134 202 select s;
#X obj 134 152 t b b;
#X obj 242 179 makefilename $%d-test;
#X obj 134 179 symbol \$1-test;
#X msg 242 159 1;
#X obj 187 224 t b;
#X obj 8 292 t b;
#X text 15 312 no arg given;
#X text 217 225 this is \$1;
#X obj 8 332 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 187 279 print arg1;
#X connect 0 0 12 0;
#X connect 1 0 3 0;
#X connect 2 0 8 0;
#X connect 2 1 7 0;
#X connect 3 0 5 0;
#X connect 3 1 6 0;
#X connect 4 0 2 1;
#X connect 5 0 2 0;
#X connect 6 0 4 0;
#X connect 7 0 0 0;
#X connect 8 0 11 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] live distro with pd extended

2008-10-14 Thread Frank Barknecht
Hallo,
Luigi Rensinghoff hat gesagt: // Luigi Rensinghoff wrote:

 I tried with puredyne but i am missing many externals from pd- 
 extended

Are they really missing? pure:dyne includes many many externals, but
doesn't use the directory layout of Pd extended, AFAIK, so you may be
able to load the objects with their original names.

Ciao
-- 
Frank

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


[PD] first Reware Pd image for Palm TX released

2008-10-14 Thread Hans-Christoph Steiner

Hey,

http://eds.org/~hans/reware-pd-PalmTX.tar.bz2

I just put up a complete image and kernel for the Palm TX.  Just  
download, untar to an SD card, stick it in your Palm TX, then click  
the Linux Penguin and voila!  It should work.

BE SURE YOU SYNC YOUR PALM FIRST!  It might corrupt things!  It  
hasn't so far for me, but it does reset the date to 1942.

This might work on other Palm Tungstens too, I haven't tried it, but  
they are relatively similar.  It might also cause problems with it, I  
don't know, do so at your own risk.

.hc

 


Looking at things from a more basic level, you can come up with a  
more direct solution... It may sound small in theory, but it in  
practice, it can change entire economies. - Amy Smith



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


Re: [PD] expr modulo negative

2008-10-14 Thread Kyle Klipowicz
I think that since Miller is a self-described math geek, the difference is
that [mod] behaves like the mathematical (mod n). [%] is the modulo operator
used by computer science.

If my memory serves me, in number theory and abstract algebra, the m (mod n)
notation is used to define a subset of the integers (called a congruence
class) which contains n-1 elements.

For example, 5 (mod 3) == 2. Likewise, -5 (mod 3) == -2 (mod 3) == 1 (mod 3)
== 1. Note that my use of == here represents congruence and not necessarily
equality.

See http://en.wikipedia.org/wiki/Modular_arithmetic for a much more informed
discussion of this topic.

~Kyle

On Tue, Oct 14, 2008 at 7:40 AM, Max [EMAIL PROTECTED] wrote:

 maybe someone could explain _what_ the difference is?
 that would be enlightening vor everybody.

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




-- 
-

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


Re: [PD] expr modulo negative

2008-10-14 Thread Max

thank you andy.
i guess it is a bug anyway, not in the objects, but in the  
documentation. both open the same helppatch with no mention about the  
difference.


max

Am 14.10.2008 um 14:32 schrieb Andy Farnell:



[%] and [mod] treat the sign differently. [mod] is monotonic
but [%] is symmetrical about zero.

On Tue, 14 Oct 2008 13:45:50 +0100
Hans Roels [EMAIL PROTECTED] wrote:


Hello,

If you want to calculate the modulo of a negative number, you get a
different result if you use the 'mod' object or 'expr' with %.

-1  4
||
mod
|
3

-1 4
|   |
expr $f1 % $f2
|
-1

I guess this is a bug in expr ?

Hans r


___
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




PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list