Re: [PD] Connection with UDP transport protocol using [netsend] or [udpsend]

2009-02-02 Thread Jack
In fact with TCP, everything works fine (that the aim of this  
protocol) with [until].
If it works with TCP, it should work with UDP (or i'm wrong).
However, i can't try your suggestion now, because i haven't the same  
configuration today. I will try tomorrow.
++

Jack


Le 30 janv. 09 à 23:32, Oded Ben-Tal a écrit :


 Another shot in the dark: what happens when you use [metro 50]  
 instead of until? could it be that the network manager is too slow  
 to handle things and looses the first ~50 numbers?


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


Re: [PD] Connection with UDP transport protocol using [netsend] or [udpsend]

2009-02-02 Thread Frank Barknecht
Hallo,
Jack hat gesagt: // Jack wrote:

 In fact with TCP, everything works fine (that the aim of this  
 protocol) with [until].
 If it works with TCP, it should work with UDP (or i'm wrong).

You are a little bit wrong: The possibility to lose messages (i.e.
packets) is one of the advantages of UDP over TCP. See
http://en.wikipedia.org/wiki/User_Datagram_Protocol#Difference_between_TCP_and_UDP

Ciao
-- 
Frank

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


[PD] creating patterns with iteration in gem

2009-02-02 Thread punchik punchik
hello, can anybody please tell me how can i make this little script in Gem?
this script is made in Mel , the maya embedded language, the idea to use the 
remainder operation or module %  to create repetition at variable distances, 
we can use this to create rhythm or patterns
thanks in advance

for ($x= 0; $x40; $x++){
if($x%5==0) continue;
Sphere 2;
translateXYZ ($x*2) 0 0;
}



Other question which other ways do there are to create patterns with module? 
thanks

pun.





  

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


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread cyrille henry
hello,

i don't know what this script is doing, but you can certainly user repeat 
(until) / separator and everything that is describe in gem help in section 
02.advence.
i thin of patch 19 to 21.

Cyrille


punchik punchik a écrit :
 hello, can anybody please tell me how can i make this little script in Gem?
 this script is made in Mel , the maya embedded language, the idea to use the 
 remainder operation or module %  to create repetition at variable 
 distances, we can use this to create rhythm or patterns
 thanks in advance
 
 for ($x= 0; $x40; $x++){
 if($x%5==0) continue;
 Sphere 2;
 translateXYZ ($x*2) 0 0;
 }
 
 
 
 Other question which other ways do there are to create patterns with module? 
 thanks
 
 pun.
 
 
 
 
 
   
 
 ___
 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] creating patterns with iteration in gem

2009-02-02 Thread Jack

hello,
Something like this ?
++

Jack



exemple.pd
Description: Binary data


Le 2 févr. 09 à 17:40, punchik punchik a écrit :

hello, can anybody please tell me how can i make this little script  
in Gem?
this script is made in Mel , the maya embedded language, the idea  
to use the remainder operation or module %  to create repetition  
at variable distances, we can use this to create rhythm or  
patterns

thanks in advance

for ($x= 0; $x40; $x++){
if($x%5==0) continue;
Sphere 2;
translateXYZ ($x*2) 0 0;
}



Other question which other ways do there are to create patterns  
with module? thanks


pun.







___
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] Crasher bug found...

2009-02-02 Thread Miller Puckette
Lovely... kaboom!

I'll check this out - I've had a couple of wierd moving crashes before and
it's largely as Mathieu says, switching stuff around and using some intition.

cheers
Miller

On Sun, Feb 01, 2009 at 12:43:48AM -0800, Luke Iannini wrote:
 Well, I'll let you all confirm that before I truly say so : ).
 
 But, by sheer luck, I'm hoping I've found the memory-corruption bug
 causing my pd abstractions to be so unstable (as I've lamented quite a
 few times).
 
 Hopefully this is narrowed down enough to be useful Miller! (I'm happy
 to pare it down further if there are too many extraneous objects)
 
 Basically, open ds-slider-o-help.pd (which contains 10 copies of the
 GOP ds-slider-o.pd abstraction) and click the [CLICK TO CRASH( message
 which is connected to a [send] object with no destination.
 
 Assigning a destination prevents the crash.
 
 This would certainly make sense for my issues, as I use a ton of [s ]
 objects without arguments and it's likely that somewhere, one of them
 isn't being set properly.
 
 I attached one of the crashlogs as well, which starts at 0 pd
 0x00039cbe pd_typedmess + 142 (m_class.c:696), but note that I also
 saw the 0   ??? ... style crash as well that I'm assuming is
 indicative of corrupted memory?
 
 I've tested this in Pd-extended 0.40 and in the latest Pd 0.42-3.
 
 Best
 Luke

 Process: pd [25140]
 Path:
 /Applications/Pd-extended.app/Contents/Resources/Scripts/../bin/pd
 Identifier:  pd
 Version: ??? (???)
 Code Type:   X86 (Native)
 Parent Process:  Pd-extended [25139]
 
 Date/Time:   2009-02-01 00:26:38.233 -0800
 OS Version:  Mac OS X 10.5.6 (9G55)
 Report Version:  6
 
 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x6573552f
 Crashed Thread:  0
 
 Thread 0 Crashed:
 0   pd0x00039cbe pd_typedmess + 142 
 (m_class.c:696)
 1   pd0x00038c0a bindlist_anything + 49 
 (m_pd.c:107)
 2   pd0x00039f64 pd_typedmess + 820 
 (m_class.c:805)
 3   pd0x00039f64 pd_typedmess + 820 
 (m_class.c:805)
 4   pd0x0003b50e outlet_anything + 78 
 (m_obj.c:438)
 5   pd0x00039f64 pd_typedmess + 820 
 (m_class.c:805)
 6   pd0x0003d7df binbuf_eval + 1043 
 (m_binbuf.c:677)
 7   pd0x9b22 message_float + 55 
 (g_text.c:309)
 8   pd0x9dd6 message_click + 33 
 (g_text.c:391)
 9   pd0xb4b9 text_click + 209 
 (g_text.c:1091)
 10  pd0x0001ff20 canvas_doclick + 555 
 (g_editor.c:1094)
 11  pd0x000208a2 canvas_mousedown + 61 
 (g_editor.c:1257)
 12  pd0x0003a02a pd_typedmess + 1018 
 (m_class.c:779)
 13  pd0x00039f64 pd_typedmess + 820 
 (m_class.c:805)
 14  pd0x0003d7df binbuf_eval + 1043 
 (m_binbuf.c:677)
 15  pd0x000448ca socketreceiver_read + 1016 
 (s_inter.c:553)
 16  pd0x00043983 sys_domicrosleep + 367 
 (s_inter.c:193)
 17  pd0x000439e8 sys_microsleep + 19 
 (s_inter.c:216)
 18  pd0x0004185e m_scheduler + 658 
 (m_sched.c:492)
 19  pd0x00043770 sys_main + 1524 
 (s_main.c:320)
 20  pd0x21ae _start + 216
 21  pd0x20d5 start + 41
 
 Thread 1:
 0   libSystem.B.dylib 0x92df71c6 mach_msg_trap + 10
 1   libSystem.B.dylib 0x92dfe9bc mach_msg + 72
 2   com.apple.audio.midi.CoreMIDI 0x00625f0f 
 XServerMachPort::ReceiveMessage(int, void*, int) + 101
 3   com.apple.audio.midi.CoreMIDI 0x00618477 MIDIInPortThread::Run() + 111
 4   com.apple.audio.midi.CoreMIDI 0x0061c07d XThread::RunHelper(void*) + 
 17
 5   com.apple.audio.midi.CoreMIDI 0x006269ee CAPThread::Entry(CAPThread*) 
 + 96
 6   libSystem.B.dylib 0x92e28095 _pthread_start + 321
 7   libSystem.B.dylib 0x92e27f52 thread_start + 34
 
 Thread 2:
 0   libSystem.B.dylib 0x92dfe3ae __semwait_signal + 10
 1   libSystem.B.dylib 0x92e28d0d pthread_cond_wait$UNIX2003 + 
 73
 2   libGLProgrammability.dylib0x93e3ab32 glvmDoWork + 162
 3   libSystem.B.dylib 0x92e28095 _pthread_start + 321
 4   libSystem.B.dylib 0x92e27f52 thread_start + 34
 
 Thread 3:
 0   libSystem.B.dylib 0x92df720e semaphore_wait_signal_trap + 
 10
 1   libSystem.B.dylib 0x92e29206 _pthread_cond_wait + 1267
 2   libSystem.B.dylib 0x92e6e539 pthread_cond_wait + 48
 3   py.pd_darwin 

[PD] problems with pd-streaming-giss

2009-02-02 Thread Ricardo Brazileiro
re all,
maybe my pd has a problem with streaming.
i used a giss.tv v4l2 patch [attached]
my software is pd-extended 0.40.3-intrepid6.

when i started the streaming, pd returned this:

*** buffer overflow detected ***: pd terminated
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7da4558]
/lib/tls/i686/cmov/libc.so.6[0xb7da2680]
/lib/tls/i686/cmov/libc.so.6[0xb7da1d68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7d17a18]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x3733)[0xb7ced0c3]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0xb7da1e17]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb7da1d5d]
/usr/lib/pd/extra/pidip.pd_linux[0xb6e5802f]
[0xa0c1e98]


any sugestion?

grettings.
-- 
Ricardo Brazileiro
^ ~ http://rbrazileiro.info


giss-pdp-v4l2.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Optimisation - Max PD

2009-02-02 Thread Michal Seta
Hello,

Since you're on XP and you can run Max4.6, Max5 and Pd, benchmark the
3 with some kind of identical code and make your decision...  In
general I found pd more efficient and more reliable than Max but I
usually run it on Linux (and Max doesn't even run on Linux) but the
last time I run such benchmark was about 8 years ago.  FWIW, last year
I was involved in a project for which Max was employed and it took a
lot of jumping through various hoops to get a reliable timing.   But
on the other hand, I would be jumping through different set of hoops
in order to achieve something else in another part of the code if I
were doing it in pd.

That said, there are certain features of Max that make programming a
little more pleasant and possibly a little higher-level but comparing
Pd and Max based on user experience is highly subjective and
possibly irrelevant.

My demo versions of Max have expired long ago so I cannot do any
benchmark patching but if anyone cares to develop some benchmark I
will gladly run it on Max5 runtime, Max4.6 runtime, Max 4.5.5 runtime
(note that runtimes are usually slightly more efficient, in my
experience) and pd in windows XP and pd in linux (ubuntu 8.10 or even
pure:dyne). All this on the same machine: 1.8GHz Intel Core Duo.

However, all this boils down to the fact that essentially any project
can be done with either.  It's just that certain programming problems
are easier or more difficult to deal with using one or the other.  I
do not think that you will find major differences in performance (and
yes, Max GUI also eats up CPU if overused!) it is just a matter of
preferring one set of quirks to the other in addition to matter such
as price tags and philosophical and or social affiliation which are
relevant to some people these days.

Cheers

./MiS

On Fri, Jan 30, 2009 at 7:48 AM, Daniel Bennett
pavementsa...@googlemail.com wrote:
 There's been a lot of talk here of late about PD not being terribly well
 optimised in lots of ways - GUI drawing, and potentially other areas. I'd
 always assumed (naively) that being less impressive to look at, PD was
 probably quicker (in equivalent circumstances) than MAX.

 As such, (and not having much cash for high powered PCs or software) when I
 came to pick between MAX and PD, I picked PD.
 Was I wrong in assuming that PD runs more efficiently than MAX (specifically
 on XP)? I'm not sure I can afford MAX anyway, so the question is pretty much
 academic, but I'm interested to know peoples' thoughts on the matter.
 Especially as I've recently come up against PD's issues with Midi inputs on
 XP (screws my shutdown every time I try to use midi inputs).
 Ta
 Dan
 --
 Geometer Magazine
 http://geometer.org.uk


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





-- 
./MiS
514-344-0726
http://www.creazone.ca

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


Re: [PD] Crasher bug found...

2009-02-02 Thread Mathieu Bouchard

On Mon, 2 Feb 2009, Miller Puckette wrote:

I'll check this out - I've had a couple of wierd moving crashes before 
and it's largely as Mathieu says, switching stuff around and using some 
intition.


I don't know whether you use Valgrind, but I would very much recommend it. 
It runs your programme in a sort of emulator that checks all memory 
accesses. It can help you find a lot more bugs than gdb can. It can tell 
you whether it's an uninitialised pointer, dangling pointer, double 
free, buffer overflow, etc., and give you both a backtrace of the problem 
and a backtrace of the related malloc (!!!).


The main downside is that there can be a lot of false positives, so you 
have to learn to recognise those as such and perhaps have to make yourself 
a suppression file to hide them.


The other main downside is that it can't find most stack-related problems 
because that would require the collaboration of the compiler. But most of 
the trickiest bugs tend to be malloc-related rather than stack-related.


Of course you can't debug everything with valgrind and this is why I also 
use gdb.


I wish gdb were more customisable, so that for example it could print a 
t_symbol * like:


  gensym(hello)

for example. it could save a lot of time.

 _ _ __ ___ _  _ _ ...
| 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] pdp_ieee1394l problem

2009-02-02 Thread el jay
hello people..
 i have a small problem with the the pdp_iee1394l external.
 i have been using this external for some time (sine its release :-) ) but
all of a sudden it stopped working..
   one i open |/dev/dv1394/0  the verbose says DV4L: Successfully opened,
but  i just recive a blank screen on pdp_xv ..
 i am using Pd version 0.40.3-extended-20080612  for a hardy.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] converting a regular message to an internal message?

2009-02-02 Thread cyrille henry


Frank Barknecht a écrit :
 Hallo,
 Rory Walsh hat gesagt: // Rory Walsh wrote:
 
 Following on from my earlier post, I want to build an internal message
 by prepending a semicolon to a regular message which I've dynamically
 created. My question is how to change this

 | obj_rec16 color 12 22 22 (

 to this

 |; obj_rec16 color 12 22 22 (

 I'm guessing it's pretty easy but so far I can't seem to find a
 solution. And advise is much appreciated.

you can also simply create a message : | color 12 22 22 (
and connect it to a [send obj_rec16] object ...

Cyrille

 
 Send an addsemi message to the message box. Also see the helpp-patch
 for message boxes, it documents some of these new features added with
 0.40 or so (maybe later)
 
 Ciao

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


[PD] 5.1 Surround Sound, vbap.

2009-02-02 Thread narbino
Hello-

I am doing an installation with a reactable that I am building. The only
difference is that I am making the glass table top spin. Depending on
which way the table spins the noise will travel through 5.1 surround sound
accordingly. Ex. if the table spins to the right the music will spin
through the speakers to the right and if it spins to the left, music will
also spin to the left.

My question is: does anyone have a working 5.1 surround sound patch that I
could look at? Someone suggested vbap. I also heard there is an object
called pix_fiducialtrack or something similar? Does anyone know anything
about this?

I would really appreciate some information. Thank you

-Natalie Arbino

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


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread punchik punchik
cool thanks, it works fine, but i get 40 times this message:

error: [gemlist]: you should not bang the gemlist now

why is that?

and other question this is the first time i see that gemlist object, is there 
any benefit of using gemlist with until instead of repeat?


thanksss

pun.


--- On Mon, 2/2/09, cyrille henry cyrille.he...@la-kitchen.fr wrote:

 From: cyrille henry cyrille.he...@la-kitchen.fr
 Subject: Re: [PD] creating patterns with iteration in gem
 To: punch...@yahoo.com
 Cc: pd-list@iem.at
 Date: Monday, February 2, 2009, 3:28 PM
 punchik punchik a écrit :
  hi, i just uploaded a pic of what the code is supposed
 to do.
  
  http://www.hypermilk.net/imagenes/cubespattern.jpg
  
  
  
  
  --- On Mon, 2/2/09, punchik punchik
 punch...@yahoo.com wrote:
  
  From: punchik punchik punch...@yahoo.com
  Subject: Re: [PD] creating patterns with iteration
 in gem
  To: pd-list@iem.at
  Date: Monday, February 2, 2009, 2:25 PM
  hi i think theres something wrong with your patch,
 when i
  create the window i see a white sphere and when i
 click to
  40, everything does black, am i doing something
 wrong?
 
 
 
  --- On Mon, 2/2/09, Jack j...@rybn.org
 wrote:
 
  From: Jack j...@rybn.org
  Subject: Re: [PD] creating patterns with
 iteration in
  gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2, 2009, 11:59 AM
  hello,
  Something like this ?
  ++
 
  Jack
 
 
  Le 2 févr. 09 à 17:40, punchik punchik a
 écrit :
 
  hello, can anybody please tell me how can
 i make
  this
  little script in Gem?
  this script is made in Mel , the maya
 embedded
  language, the idea to use the remainder
 operation or
  module
  %  to create repetition at
 variable
  distances,
  we can use this to create rhythm or
 patterns
  thanks in advance
 
  for ($x= 0; $x40; $x++){
  if($x%5==0) continue;
  Sphere 2;
  translateXYZ ($x*2) 0 0;
  }
 
 
 
  Other question which other ways do there
 are to
  create
  patterns with module? thanks
  pun.
 
 
 
 
 
 
 
 
 ___
  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
  
 #N canvas 586 244 435 344 10;
 #X obj 33 96 gemwin;
 #X msg 48 34 create \, 1;
 #X msg 55 64 destroy;
 #X obj 168 30 gemhead;
 #X obj 168 142 gemlist;
 #X msg 168 96 40;
 #X obj 168 118 until;
 #X obj 168 164 t a b;
 #X obj 168 74 t b a b;
 #X obj 217 194 f;
 #X obj 250 195 + 1;
 #X obj 217 216 % 5;
 #X msg 235 168 0;
 #X obj 168 266 spigot;
 #X obj 168 246 translateXYZ 1 0 0;
 #X obj 168 288 sphere 0.2;
 #X obj 168 53 scaleXYZ 0.1;
 #X connect 1 0 0 0;
 #X connect 2 0 0 0;
 #X connect 3 0 16 0;
 #X connect 4 0 7 0;
 #X connect 5 0 6 0;
 #X connect 6 0 4 0;
 #X connect 7 0 14 0;
 #X connect 7 1 9 0;
 #X connect 8 0 5 0;
 #X connect 8 1 4 1;
 #X connect 8 2 12 0;
 #X connect 9 0 10 0;
 #X connect 9 0 11 0;
 #X connect 10 0 9 1;
 #X connect 11 0 13 1;
 #X connect 12 0 9 1;
 #X connect 13 0 15 0;
 #X connect 14 0 13 0;
 #X connect 16 0 8 0;


  

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


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread cyrille henry



punchik punchik a écrit :

cool thanks, it works fine, but i get 40 times this message:

error: [gemlist]: you should not bang the gemlist now

why is that?

gemhead deos not send only gemlist, but alos a 0/1 when start/stop rendering.

this patch should solve this pb.




and other question this is the first time i see that gemlist object, is there 
any benefit of using gemlist with until instead of repeat?


repeat is an external.
until is a pd object, gemlist is a gem object.
i usually try to reduce to a strict minimum the externls i use.
(basically Gem,pmpd + few mandatory objects)

cyrille





thanksss

pun.


--- On Mon, 2/2/09, cyrille henry cyrille.he...@la-kitchen.fr wrote:


From: cyrille henry cyrille.he...@la-kitchen.fr
Subject: Re: [PD] creating patterns with iteration in gem
To: punch...@yahoo.com
Cc: pd-list@iem.at
Date: Monday, February 2, 2009, 3:28 PM
punchik punchik a écrit :

hi, i just uploaded a pic of what the code is supposed

to do.

http://www.hypermilk.net/imagenes/cubespattern.jpg




--- On Mon, 2/2/09, punchik punchik

punch...@yahoo.com wrote:

From: punchik punchik punch...@yahoo.com
Subject: Re: [PD] creating patterns with iteration

in gem

To: pd-list@iem.at
Date: Monday, February 2, 2009, 2:25 PM
hi i think theres something wrong with your patch,

when i

create the window i see a white sphere and when i

click to

40, everything does black, am i doing something

wrong?



--- On Mon, 2/2/09, Jack j...@rybn.org

wrote:

From: Jack j...@rybn.org
Subject: Re: [PD] creating patterns with

iteration in

gem

To: punch...@yahoo.com
Cc: pd-list@iem.at
Date: Monday, February 2, 2009, 11:59 AM
hello,
Something like this ?
++

Jack


Le 2 févr. 09 à 17:40, punchik punchik a

écrit :

hello, can anybody please tell me how can

i make

this

little script in Gem?

this script is made in Mel , the maya

embedded

language, the idea to use the remainder

operation or

module

%  to create repetition at

variable

distances,

we can use this to create rhythm or

patterns

thanks in advance

for ($x= 0; $x40; $x++){
if($x%5==0) continue;
Sphere 2;
translateXYZ ($x*2) 0 0;
}



Other question which other ways do there

are to

create

patterns with module? thanks

pun.









___

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
#N canvas 586 244 435 344 10;
#X obj 33 96 gemwin;
#X msg 48 34 create \, 1;
#X msg 55 64 destroy;
#X obj 168 30 gemhead;
#X obj 168 142 gemlist;
#X msg 168 96 40;
#X obj 168 118 until;
#X obj 168 164 t a b;
#X obj 168 74 t b a b;
#X obj 217 194 f;
#X obj 250 195 + 1;
#X obj 217 216 % 5;
#X msg 235 168 0;
#X obj 168 266 spigot;
#X obj 168 246 translateXYZ 1 0 0;
#X obj 168 288 sphere 0.2;
#X obj 168 53 scaleXYZ 0.1;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 16 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 7 0 14 0;
#X connect 7 1 9 0;
#X connect 8 0 5 0;
#X connect 8 1 4 1;
#X connect 8 2 12 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 9 1;
#X connect 11 0 13 1;
#X connect 12 0 9 1;
#X connect 13 0 15 0;
#X connect 14 0 13 0;
#X connect 16 0 8 0;



  

#N canvas 586 244 494 408 10;
#X obj 33 96 gemwin;
#X msg 48 34 create \, 1;
#X msg 55 64 destroy;
#X obj 168 30 gemhead;
#X obj 242 176 gemlist;
#X msg 242 130 40;
#X obj 242 152 until;
#X obj 242 198 t a b;
#X obj 168 74 t b a b;
#X obj 291 228 f;
#X obj 324 229 + 1;
#X obj 291 250 % 5;
#X msg 309 202 0;
#X obj 242 300 spigot;
#X obj 242 280 translateXYZ 1 0 0;
#X obj 242 322 sphere 0.2;
#X obj 168 53 scaleXYZ 0.1;
#X obj 168 96 route float;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 16 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 7 0 14 0;
#X connect 7 1 9 0;
#X connect 8 0 17 0;
#X connect 8 1 4 1;
#X connect 8 2 12 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 9 1;
#X connect 11 0 13 1;
#X connect 12 0 9 1;
#X connect 13 0 15 0;
#X connect 14 0 13 0;
#X connect 16 0 8 0;
#X connect 17 1 5 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread punchik punchik

it does not solve it , im getting the same problem

thanks

--- On Mon, 2/2/09, cyrille henry cyrille.he...@la-kitchen.fr wrote:

 From: cyrille henry cyrille.he...@la-kitchen.fr
 Subject: Re: [PD] creating patterns with iteration in gem
 To: punch...@yahoo.com
 Cc: pd-list@iem.at
 Date: Monday, February 2, 2009, 5:04 PM
 punchik punchik a écrit :
  cool thanks, it works fine, but i get 40 times this
 message:
  
  error: [gemlist]: you should not bang the gemlist now
  
  why is that?
 gemhead deos not send only gemlist, but alos a 0/1 when
 start/stop rendering.
 
 this patch should solve this pb.
 
 
  
  and other question this is the first time i see that
 gemlist object, is there any benefit of using gemlist with
 until instead of repeat?
  
 repeat is an external.
 until is a pd object, gemlist is a gem object.
 i usually try to reduce to a strict minimum the externls i
 use.
 (basically Gem,pmpd + few mandatory objects)
 
 cyrille
 
 
 
  
  thanksss
  
  pun.
  
  
  --- On Mon, 2/2/09, cyrille henry
 cyrille.he...@la-kitchen.fr wrote:
  
  From: cyrille henry
 cyrille.he...@la-kitchen.fr
  Subject: Re: [PD] creating patterns with iteration
 in gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2, 2009, 3:28 PM
  punchik punchik a écrit :
  hi, i just uploaded a pic of what the code is
 supposed
  to do.
 
 http://www.hypermilk.net/imagenes/cubespattern.jpg
 
 
 
 
  --- On Mon, 2/2/09, punchik punchik
  punch...@yahoo.com wrote:
  From: punchik punchik
 punch...@yahoo.com
  Subject: Re: [PD] creating patterns with
 iteration
  in gem
  To: pd-list@iem.at
  Date: Monday, February 2, 2009, 2:25 PM
  hi i think theres something wrong with
 your patch,
  when i
  create the window i see a white sphere and
 when i
  click to
  40, everything does black, am i doing
 something
  wrong?
 
 
  --- On Mon, 2/2/09, Jack
 j...@rybn.org
  wrote:
  From: Jack j...@rybn.org
  Subject: Re: [PD] creating patterns
 with
  iteration in
  gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2, 2009, 11:59
 AM
  hello,
  Something like this ?
  ++
 
  Jack
 
 
  Le 2 févr. 09 à 17:40, punchik
 punchik a
  écrit :
  hello, can anybody please tell me
 how can
  i make
  this
  little script in Gem?
  this script is made in Mel , the
 maya
  embedded
  language, the idea to use the
 remainder
  operation or
  module
  %  to create repetition at
  variable
  distances,
  we can use this to create rhythm or
  patterns
  thanks in advance
 
  for ($x= 0; $x40; $x++){
  if($x%5==0) continue;
  Sphere 2;
  translateXYZ ($x*2) 0 0;
  }
 
 
 
  Other question which other ways do
 there
  are to
  create
  patterns with module? thanks
  pun.
 
 
 
 
 
 
 
 
  ___
  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
  #N canvas 586 244 435 344 10;
  #X obj 33 96 gemwin;
  #X msg 48 34 create \, 1;
  #X msg 55 64 destroy;
  #X obj 168 30 gemhead;
  #X obj 168 142 gemlist;
  #X msg 168 96 40;
  #X obj 168 118 until;
  #X obj 168 164 t a b;
  #X obj 168 74 t b a b;
  #X obj 217 194 f;
  #X obj 250 195 + 1;
  #X obj 217 216 % 5;
  #X msg 235 168 0;
  #X obj 168 266 spigot;
  #X obj 168 246 translateXYZ 1 0 0;
  #X obj 168 288 sphere 0.2;
  #X obj 168 53 scaleXYZ 0.1;
  #X connect 1 0 0 0;
  #X connect 2 0 0 0;
  #X connect 3 0 16 0;
  #X connect 4 0 7 0;
  #X connect 5 0 6 0;
  #X connect 6 0 4 0;
  #X connect 7 0 14 0;
  #X connect 7 1 9 0;
  #X connect 8 0 5 0;
  #X connect 8 1 4 1;
  #X connect 8 2 12 0;
  #X connect 9 0 10 0;
  #X connect 9 0 11 0;
  #X connect 10 0 9 1;
  #X connect 11 0 13 1;
  #X connect 12 0 9 1;
  #X connect 13 0 15 0;
  #X connect 14 0 13 0;
  #X connect 16 0 8 0;
  
  

  
 #N canvas 586 244 494 408 10;
 #X obj 33 96 gemwin;
 #X msg 48 34 create \, 1;
 #X msg 55 64 destroy;
 #X obj 168 30 gemhead;
 #X obj 242 176 gemlist;
 #X msg 242 130 40;
 #X obj 242 152 until;
 #X obj 242 198 t a b;
 #X obj 168 74 t b a b;
 #X obj 291 228 f;
 #X obj 324 229 + 1;
 #X obj 291 250 % 5;
 #X msg 309 202 0;
 #X obj 242 300 spigot;
 #X obj 242 280 translateXYZ 1 0 0;
 #X obj 242 322 sphere 0.2;
 #X obj 168 53 scaleXYZ 0.1;
 #X obj 168 96 route float;
 #X connect 1 0 0 0;
 #X connect 2 0 0 0;
 #X connect 3 0 16 0;
 #X connect 4 0 7 0;
 #X connect 5 0 6 0;
 #X connect 6 0 4 0;
 #X connect 7 0 14 0;
 #X connect 7 1 9 0;
 #X connect 8 0 17 0;
 #X connect 8 1 4 1;
 #X connect 8 2 12 0;
 #X connect 9 0 10 0;
 #X connect 9 0 11 0;
 #X connect 10 0 9 1;
 #X connect 11 0 13 1;
 #X connect 12 0 9 1;
 #X 

Re: [PD] Connection with UDP transport protocol using [netsend] or [udpsend]

2009-02-02 Thread Jack
Hello Frank,

You haven't read my previous mail ;)
Yep, i know with UDP protocol, you can loose TPDU. This is the risk  
with it. You needn't any aknowledgement, any error detection/ 
correction or flow detection, etc.
My problem is :

I have a problem to understand  a behaviour with the UDP transport
protocol.
When i connect to computer together using :

Host A - 802.3 - Router with bridge fonction - 802.11 - Host B

On Host A :

[100(
|
[until]
|
[f  ]x[+ 1]
|
[send $1(
|
[netsend 1] or [udpsend]

On Host B :

[netreceive 1] or [udpreceive]
|
[print]

1)
When i click on [100(, [netreceive 1] or [udpreceive]  receive only
numbers between 48 and 69, so there is 78 number drop ! I know this a
UDP protocol but my network is very simple (and i think there is not
a lot of perturbations on it). It is normal ?

2)
The other problem is strange for me :
Why it is only numbers between 48 and 69 that arrive on the host B
and not numbers between 34 and 56 or something else ? It's always the
same TPDU that are lost ? Strange no ?

Thanx.
++

Jack


Le 2 févr. 09 à 17:13, Frank Barknecht a écrit :

 Hallo,
 Jack hat gesagt: // Jack wrote:

 In fact with TCP, everything works fine (that the aim of this
 protocol) with [until].
 If it works with TCP, it should work with UDP (or i'm wrong).

 You are a little bit wrong: The possibility to lose messages (i.e.
 packets) is one of the advantages of UDP over TCP. See
 http://en.wikipedia.org/wiki/ 
 User_Datagram_Protocol#Difference_between_TCP_and_UDP

 Ciao
 -- 
 Frank

 ___
 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] creating patterns with iteration in gem

2009-02-02 Thread cyrille henry



punchik punchik a écrit :

it does not solve it , im getting the same problem

oups sorry.
this will certainly be better.
(this message is not printed anymore on latest Gem)

Cyrille



thanks

--- On Mon, 2/2/09, cyrille henry cyrille.he...@la-kitchen.fr wrote:


From: cyrille henry cyrille.he...@la-kitchen.fr
Subject: Re: [PD] creating patterns with iteration in gem
To: punch...@yahoo.com
Cc: pd-list@iem.at
Date: Monday, February 2, 2009, 5:04 PM
punchik punchik a écrit :

cool thanks, it works fine, but i get 40 times this

message:

error: [gemlist]: you should not bang the gemlist now

why is that?

gemhead deos not send only gemlist, but alos a 0/1 when
start/stop rendering.

this patch should solve this pb.



and other question this is the first time i see that

gemlist object, is there any benefit of using gemlist with
until instead of repeat?
repeat is an external.
until is a pd object, gemlist is a gem object.
i usually try to reduce to a strict minimum the externls i
use.
(basically Gem,pmpd + few mandatory objects)

cyrille




thanksss

pun.


--- On Mon, 2/2/09, cyrille henry

cyrille.he...@la-kitchen.fr wrote:

From: cyrille henry

cyrille.he...@la-kitchen.fr

Subject: Re: [PD] creating patterns with iteration

in gem

To: punch...@yahoo.com
Cc: pd-list@iem.at
Date: Monday, February 2, 2009, 3:28 PM
punchik punchik a écrit :

hi, i just uploaded a pic of what the code is

supposed

to do.

http://www.hypermilk.net/imagenes/cubespattern.jpg




--- On Mon, 2/2/09, punchik punchik

punch...@yahoo.com wrote:

From: punchik punchik

punch...@yahoo.com

Subject: Re: [PD] creating patterns with

iteration

in gem

To: pd-list@iem.at
Date: Monday, February 2, 2009, 2:25 PM
hi i think theres something wrong with

your patch,

when i

create the window i see a white sphere and

when i

click to

40, everything does black, am i doing

something

wrong?


--- On Mon, 2/2/09, Jack

j...@rybn.org

wrote:

From: Jack j...@rybn.org
Subject: Re: [PD] creating patterns

with

iteration in

gem

To: punch...@yahoo.com
Cc: pd-list@iem.at
Date: Monday, February 2, 2009, 11:59

AM

hello,
Something like this ?
++

Jack


Le 2 févr. 09 à 17:40, punchik

punchik a

écrit :

hello, can anybody please tell me

how can

i make

this

little script in Gem?

this script is made in Mel , the

maya

embedded

language, the idea to use the

remainder

operation or

module

%  to create repetition at

variable

distances,

we can use this to create rhythm or

patterns

thanks in advance

for ($x= 0; $x40; $x++){
if($x%5==0) continue;
Sphere 2;
translateXYZ ($x*2) 0 0;
}



Other question which other ways do

there

are to

create

patterns with module? thanks

pun.









___

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
#N canvas 586 244 435 344 10;
#X obj 33 96 gemwin;
#X msg 48 34 create \, 1;
#X msg 55 64 destroy;
#X obj 168 30 gemhead;
#X obj 168 142 gemlist;
#X msg 168 96 40;
#X obj 168 118 until;
#X obj 168 164 t a b;
#X obj 168 74 t b a b;
#X obj 217 194 f;
#X obj 250 195 + 1;
#X obj 217 216 % 5;
#X msg 235 168 0;
#X obj 168 266 spigot;
#X obj 168 246 translateXYZ 1 0 0;
#X obj 168 288 sphere 0.2;
#X obj 168 53 scaleXYZ 0.1;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 16 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 7 0 14 0;
#X connect 7 1 9 0;
#X connect 8 0 5 0;
#X connect 8 1 4 1;
#X connect 8 2 12 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 9 1;
#X connect 11 0 13 1;
#X connect 12 0 9 1;
#X connect 13 0 15 0;
#X connect 14 0 13 0;
#X connect 16 0 8 0;


  


#N canvas 586 244 494 408 10;
#X obj 33 96 gemwin;
#X msg 48 34 create \, 1;
#X msg 55 64 destroy;
#X obj 168 30 gemhead;
#X obj 242 176 gemlist;
#X msg 242 130 40;
#X obj 242 152 until;
#X obj 242 198 t a b;
#X obj 168 74 t b a b;
#X obj 291 228 f;
#X obj 324 229 + 1;
#X obj 291 250 % 5;
#X msg 309 202 0;
#X obj 242 300 spigot;
#X obj 242 280 translateXYZ 1 0 0;
#X obj 242 322 sphere 0.2;
#X obj 168 53 scaleXYZ 0.1;
#X obj 168 96 route float;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 16 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 7 0 14 0;
#X connect 7 1 9 0;
#X connect 8 0 17 0;
#X connect 8 1 4 1;
#X connect 8 2 12 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 9 1;
#X connect 11 0 13 1;
#X connect 12 0 9 1;
#X connect 13 0 15 0;
#X connect 14 0 13 0;
#X connect 16 0 8 0;
#X connect 17 1 5 0;



  

#N canvas 564 74 494 408 10;
#X obj 33 96 gemwin;
#X msg 48 34 

Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread punchik punchik
hi i think theres something wrong with your patch, when i create the window i 
see a white sphere and when i click to 40, everything does black, am i doing 
something wrong?



--- On Mon, 2/2/09, Jack j...@rybn.org wrote:

 From: Jack j...@rybn.org
 Subject: Re: [PD] creating patterns with iteration in gem
 To: punch...@yahoo.com
 Cc: pd-list@iem.at
 Date: Monday, February 2, 2009, 11:59 AM
 hello,
 Something like this ?
 ++
 
 Jack
 
 
 Le 2 févr. 09 à 17:40, punchik punchik a écrit :
 
  hello, can anybody please tell me how can i make this
 little script in Gem?
  this script is made in Mel , the maya embedded
 language, the idea to use the remainder operation or module
 %  to create repetition at variable distances,
 we can use this to create rhythm or patterns
  thanks in advance
  
  for ($x= 0; $x40; $x++){
  if($x%5==0) continue;
  Sphere 2;
  translateXYZ ($x*2) 0 0;
  }
  
  
  
  Other question which other ways do there are to create
 patterns with module? thanks
  
  pun.
  
  
  
  
  
  
  
  ___
  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] seq24 + pd

2009-02-02 Thread info
On Sun, 2009-02-01 at 20:30 +0100, danomatika wrote:

  On Fri, Jan 30, 2009 at 8:16 AM, danomatika danomatika at gmail.com
 wrote:
 
 
  In regards to the whole Ableton vs/compared to Ardour+pd+etc, I find I
  like using seq24 to do sequencing
  outside of pd and pd to make all audio.  It is simple and does the job
  without getting in my way and trying to
  do too much for me.
 
  A few weeks ago I added midi song export to seq4 as a branch on
 Launchpadhttps://code.launchpad.net/%7Edanomatika/seq24/midi-export.
  Now I can make a song in
  seq24 and then load and play it in pd using the mrpeach midifile object.
 
  Anyone else using seq24+pd may find this ability useful.  Please message
  the seq24 devs on Launchpad to
  get them to test and merge my changes to the main branch so it will go
  into the next version of Ubuntu.
  (that would be nice)
 

 looks like a nice approach, so I tried it today.
 unfortunately i got the same result as similar things I tried
before and
 which involve midi sent over alsa or jack to/from pd: poor timing
 (irregular)
 I uploaded this little test file so you can hear what I mean:
 
 http://www.archive.org/download/TestTimingJackSeq24Pd/test_jack_timing_seq24_pd.ogg
 I connected seq24 to pd by selecting the 'midi bus' for the
sequences.
 I ran pd -jack and qjackctl, but i did not make any midi
connections in
 qjackctl itself, so I'm not sure if jack even has anything to do
with
 it...
 I did this on ubuntustudio (hardy)
 do you get better results ?

 Tim

 I've never noticed this before because I don't do any super
strict/fast sequencing.  Mainly I'm planning
 on using seq24 to create the midi control sequences that are read and
played in pd using the
 midifile object at show time.  Basically I want the flexibility of the
interface for composing as opposed to
 my gop toggle/slider sequence objects but with the same playback
directly within pd for live performance.
 I do not use seq24 on my wearable, the patches should just read the midi
songfiles to control whatever
 is in the patch.

 hi again,
 I did a second test, this time in pure:dyne.
 I took an even simpler pattern and switch between [metro 60] and
the 32nd
 notes coming from [notein] to make the difference more apparent:
 
 http://www.archive.org/download/TestTimingJackSeq24Pd2/test_timing_pd_seq24_2.ogg
 gr,
 Tim
 So thats about 166.6 bpm with streams of 32nd notes?  I did the
same test and the seq24 noteons seem to
 roll.  The devs are working on adding jack midi to seq24 which is
sample accurate so that should help wait
 a bit I believe, otherwise jump in and add it.

 It seems this is a common problem with alsa-based midi anywho.


I tried it without jack, and now the timing is a lot better...
apparently having jack running has a bad influence on alsa-midi timing.
gr,
Tim




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


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread punchik punchik

hi, i just uploaded a pic of what the code is supposed to do.

http://www.hypermilk.net/imagenes/cubespattern.jpg




--- On Mon, 2/2/09, punchik punchik punch...@yahoo.com wrote:

 From: punchik punchik punch...@yahoo.com
 Subject: Re: [PD] creating patterns with iteration in gem
 To: pd-list@iem.at
 Date: Monday, February 2, 2009, 2:25 PM
 hi i think theres something wrong with your patch, when i
 create the window i see a white sphere and when i click to
 40, everything does black, am i doing something wrong?
 
 
 
 --- On Mon, 2/2/09, Jack j...@rybn.org wrote:
 
  From: Jack j...@rybn.org
  Subject: Re: [PD] creating patterns with iteration in
 gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2, 2009, 11:59 AM
  hello,
  Something like this ?
  ++
  
  Jack
  
  
  Le 2 févr. 09 à 17:40, punchik punchik a écrit :
  
   hello, can anybody please tell me how can i make
 this
  little script in Gem?
   this script is made in Mel , the maya embedded
  language, the idea to use the remainder operation or
 module
  %  to create repetition at variable
 distances,
  we can use this to create rhythm or patterns
   thanks in advance
   
   for ($x= 0; $x40; $x++){
   if($x%5==0) continue;
   Sphere 2;
   translateXYZ ($x*2) 0 0;
   }
   
   
   
   Other question which other ways do there are to
 create
  patterns with module? thanks
   
   pun.
   
   
   
   
   
   
   
   ___
   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] creating patterns with iteration in gem

2009-02-02 Thread punchik punchik

thanks !

--- On Mon, 2/2/09, cyrille henry cyrille.he...@la-kitchen.fr wrote:

 From: cyrille henry cyrille.he...@la-kitchen.fr
 Subject: Re: [PD] creating patterns with iteration in gem
 To: punch...@yahoo.com
 Cc: pd-list@iem.at
 Date: Monday, February 2, 2009, 5:18 PM
 punchik punchik a écrit :
  it does not solve it , im getting the same problem
 oups sorry.
 this will certainly be better.
 (this message is not printed anymore on latest Gem)
 
 Cyrille
 
  
  thanks
  
  --- On Mon, 2/2/09, cyrille henry
 cyrille.he...@la-kitchen.fr wrote:
  
  From: cyrille henry
 cyrille.he...@la-kitchen.fr
  Subject: Re: [PD] creating patterns with iteration
 in gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2, 2009, 5:04 PM
  punchik punchik a écrit :
  cool thanks, it works fine, but i get 40 times
 this
  message:
  error: [gemlist]: you should not bang the
 gemlist now
 
  why is that?
  gemhead deos not send only gemlist, but alos a 0/1
 when
  start/stop rendering.
 
  this patch should solve this pb.
 
 
  and other question this is the first time i
 see that
  gemlist object, is there any benefit of using
 gemlist with
  until instead of repeat?
  repeat is an external.
  until is a pd object, gemlist is a gem object.
  i usually try to reduce to a strict minimum the
 externls i
  use.
  (basically Gem,pmpd + few mandatory objects)
 
  cyrille
 
 
 
  thanksss
 
  pun.
 
 
  --- On Mon, 2/2/09, cyrille henry
  cyrille.he...@la-kitchen.fr wrote:
  From: cyrille henry
  cyrille.he...@la-kitchen.fr
  Subject: Re: [PD] creating patterns with
 iteration
  in gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2, 2009, 3:28 PM
  punchik punchik a écrit :
  hi, i just uploaded a pic of what the
 code is
  supposed
  to do.
  http://www.hypermilk.net/imagenes/cubespattern.jpg
 
 
 
  --- On Mon, 2/2/09, punchik punchik
  punch...@yahoo.com wrote:
  From: punchik punchik
  punch...@yahoo.com
  Subject: Re: [PD] creating
 patterns with
  iteration
  in gem
  To: pd-list@iem.at
  Date: Monday, February 2, 2009,
 2:25 PM
  hi i think theres something wrong
 with
  your patch,
  when i
  create the window i see a white
 sphere and
  when i
  click to
  40, everything does black, am i
 doing
  something
  wrong?
 
  --- On Mon, 2/2/09, Jack
  j...@rybn.org
  wrote:
  From: Jack
 j...@rybn.org
  Subject: Re: [PD] creating
 patterns
  with
  iteration in
  gem
  To: punch...@yahoo.com
  Cc: pd-list@iem.at
  Date: Monday, February 2,
 2009, 11:59
  AM
  hello,
  Something like this ?
  ++
 
  Jack
 
 
  Le 2 févr. 09 à 17:40,
 punchik
  punchik a
  écrit :
  hello, can anybody please
 tell me
  how can
  i make
  this
  little script in Gem?
  this script is made in Mel
 , the
  maya
  embedded
  language, the idea to use the
  remainder
  operation or
  module
  %  to create
 repetition at
  variable
  distances,
  we can use this to create
 rhythm or
  patterns
  thanks in advance
 
  for ($x= 0; $x40;
 $x++){
  if($x%5==0) continue;
  Sphere 2;
  translateXYZ ($x*2) 0
 0;
  }
 
 
 
  Other question which other
 ways do
  there
  are to
  create
  patterns with module? thanks
  pun.
 
 
 
 
 
 
 
 
 
 ___
  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
  #N canvas 586 244 435 344 10;
  #X obj 33 96 gemwin;
  #X msg 48 34 create \, 1;
  #X msg 55 64 destroy;
  #X obj 168 30 gemhead;
  #X obj 168 142 gemlist;
  #X msg 168 96 40;
  #X obj 168 118 until;
  #X obj 168 164 t a b;
  #X obj 168 74 t b a b;
  #X obj 217 194 f;
  #X obj 250 195 + 1;
  #X obj 217 216 % 5;
  #X msg 235 168 0;
  #X obj 168 266 spigot;
  #X obj 168 246 translateXYZ 1 0 0;
  #X obj 168 288 sphere 0.2;
  #X obj 168 53 scaleXYZ 0.1;
  #X connect 1 0 0 0;
  #X connect 2 0 0 0;
  #X connect 3 0 16 0;
  #X connect 4 0 7 0;
  #X connect 5 0 6 0;
  #X connect 6 0 4 0;
  #X connect 7 0 14 0;
  #X connect 7 1 9 0;
  #X connect 8 0 5 0;
  #X connect 8 1 4 1;
  #X connect 8 2 12 0;
  #X connect 9 0 10 0;
  #X connect 9 0 11 0;
  #X connect 10 0 9 1;
  #X connect 11 0 13 1;
  #X connect 12 0 9 1;
  #X connect 13 0 15 0;
  #X connect 14 0 13 0;
  #X connect 16 0 8 0;
 

 
  #N canvas 586 244 494 408 10;
  #X obj 33 96 gemwin;
  #X msg 48 34 create \, 1;
  #X msg 55 64 destroy;
  #X obj 168 30 gemhead;
  #X obj 242 176 gemlist;
  #X msg 242 130 40;
  #X obj 242 152 until;
  #X obj 242 198 t a b;
  #X obj 168 74 t b a b;
  #X obj 291 228 f;
  #X obj 324 229 + 1;
  #X obj 291 250 % 5;
  #X msg 309 202 0;
  #X obj 242 300 

Re: [PD] Connection with UDP transport protocol using [netsend] or [udpsend]

2009-02-02 Thread Jack
Hello Frank,

You haven't read my previous mail ;)
Yep, i know with UDP protocol, you can loose TPDU. This is the risk  
with it. You needn't any aknowledgement, any error detection/ 
correction or flow detection, etc.
My problem is :

I have a problem to understand  a behaviour with the UDP transport
protocol.
When i connect to computer together using :

Host A - 802.3 - Router with bridge fonction - 802.11 - Host B

On Host A :

[100(
|
[until]
|
[f  ]x[+ 1]
|
[send $1(
|
[netsend 1] or [udpsend]

On Host B :

[netreceive 1] or [udpreceive]
|
[print]

1)
When i click on [100(, [netreceive 1] or [udpreceive]  receive only
numbers between 48 and 69, so there is 78 number drop ! I know this a
UDP protocol but my network is very simple (and i think there is not
a lot of perturbations on it). It is normal ?

2)
The other problem is strange for me :
Why it is only numbers between 48 and 69 that arrive on the host B
and not numbers between 34 and 56 or something else ? It's always the
same TPDU that are lost ? Strange no ?

Thanx.
++

Jack


Le 2 févr. 09 à 17:13, Frank Barknecht a écrit :

 Hallo,
 Jack hat gesagt: // Jack wrote:

 In fact with TCP, everything works fine (that the aim of this
 protocol) with [until].
 If it works with TCP, it should work with UDP (or i'm wrong).

 You are a little bit wrong: The possibility to lose messages (i.e.
 packets) is one of the advantages of UDP over TCP. See
 http://en.wikipedia.org/wiki/ 
 User_Datagram_Protocol#Difference_between_TCP_and_UDP

 Ciao
 -- 
 Frank

 ___
 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] converting a regular message to an internal message?

2009-02-02 Thread Frank Barknecht
Hallo,
Rory Walsh hat gesagt: // Rory Walsh wrote:

 Following on from my earlier post, I want to build an internal message
 by prepending a semicolon to a regular message which I've dynamically
 created. My question is how to change this
 
 | obj_rec16 color 12 22 22 (
 
 to this
 
 |; obj_rec16 color 12 22 22 (
 
 I'm guessing it's pretty easy but so far I can't seem to find a
 solution. And advise is much appreciated.

Send an addsemi message to the message box. Also see the helpp-patch
for message boxes, it documents some of these new features added with
0.40 or so (maybe later)

Ciao
-- 
Frank

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


Re: [PD] 5.1 Surround Sound, vbap.

2009-02-02 Thread Hans-Christoph Steiner

I use VBAP a lot, its very easy to use.  You can download the code for  
my project Swirler, which uses it, but it is not very simple.  It  
would probably be easier to just try VBAP straight.  Basically you  
configure the speakers, then you use vbap to generate the volume  
levels for each speaker.

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

pix_fiducialtrack would ttrack the reacTable fiducial ID tags that  
they use, otherwise known as reactivision.

.hc


On Feb 2, 2009, at 2:45 PM, narb...@ucsd.edu wrote:

 Hello-

 I am doing an installation with a reactable that I am building. The  
 only
 difference is that I am making the glass table top spin. Depending on
 which way the table spins the noise will travel through 5.1 surround  
 sound
 accordingly. Ex. if the table spins to the right the music will spin
 through the speakers to the right and if it spins to the left, music  
 will
 also spin to the left.

 My question is: does anyone have a working 5.1 surround sound patch  
 that I
 could look at? Someone suggested vbap. I also heard there is an object
 called pix_fiducialtrack or something similar? Does anyone know  
 anything
 about this?

 I would really appreciate some information. Thank you

 -Natalie Arbino

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





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] converting a regular message to an internal message?

2009-02-02 Thread Frank Barknecht
Hallo,
cyrille henry hat gesagt: // cyrille henry wrote:

 Frank Barknecht a écrit :
  Hallo,
  Rory Walsh hat gesagt: // Rory Walsh wrote:
  
  Following on from my earlier post, I want to build an internal message
  by prepending a semicolon to a regular message which I've dynamically
  created. My question is how to change this
 
  | obj_rec16 color 12 22 22 (
 
  to this
 
  |; obj_rec16 color 12 22 22 (
 
  I'm guessing it's pretty easy but so far I can't seem to find a
  solution. And advise is much appreciated.
 
 you can also simply create a message : | color 12 22 22 (
 and connect it to a [send obj_rec16] object ...

I also much prefer this approach. But the addsemi is useful if you want
to dynamically create messages to use as loadbang'd messages later for
patch initialisation.

That's about the only case where personally I use semicolon messages.
(and ; pd dsp 1)

Also still I don't use settable sends very often. I prefer to use only a
handful of fixed senders and feed these with tagged messages that get
[route]d to their destination. So there's maybe one global send like
[receive SETTINGS], that's followed by a [route freq vol] or so. 

Ciao
-- 
Frank

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


Re: [PD] dynamically altering GUI send/receive symbols

2009-02-02 Thread João Pais
yes, just like every other properties. look at the help file of each  
object (although they all follow the same method, I think).

you can also look at jmmmp/gui-edit, if you have pd-ext.


 Quick question: is it possible to dynamically alter the send/receive
 symbols for GUI objects? I know that one can change most attributes
 through various messages but is it possible to alter their
 send/receive symbols?

 Rory.

 p.s. It's been a few years since I posted any messages here. I hope
 everyone is keeping well!

 ___
 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
jmmmp...@googlemail.com | skype: jmmmpjmmmp

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


[PD] pix_image and pix_texture alpha

2009-02-02 Thread Garrett Lynch

Hi

Can anyone tell me how I use an image with transparency in pix_image  
going through a pix_texture to a rectangle in a gemwin?  I'm loading  
a png which has an alpha channel, is this the way to do it?  Thanks  
in advance.


a+
gar
_
garr...@asquare.org
http://www.asquare.org/
http://www.asquare.org/networkresearch/


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


Re: [PD] Connection with UDP transport protocol using [netsend] or [udpsend]

2009-02-02 Thread Roman Haefeli
On Mon, 2009-02-02 at 17:13 +0100, Frank Barknecht wrote:
 Hallo,
 Jack hat gesagt: // Jack wrote:
 
  In fact with TCP, everything works fine (that the aim of this  
  protocol) with [until].
  If it works with TCP, it should work with UDP (or i'm wrong).
 
 You are a little bit wrong: The possibility to lose messages (i.e.
 packets) is one of the advantages of UDP over TCP. See
 http://en.wikipedia.org/wiki/User_Datagram_Protocol#Difference_between_TCP_and_UDP
 

yeah, you're right. anyway, i think, that the problems jack is reporting
are a bit suspcicious, at least. when creating a socket on localhost, i
don't see, why so many messages should be dropped. this usually doesn't
happen on a not-too-busy network, even when using udp.

i'll check here too, in order to see, if i get similar results.

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] converting a regular message to an internal message?

2009-02-02 Thread Rory Walsh
Following on from my earlier post, I want to build an internal message
by prepending a semicolon to a regular message which I've dynamically
created. My question is how to change this

| obj_rec16 color 12 22 22 (

to this

|; obj_rec16 color 12 22 22 (

I'm guessing it's pretty easy but so far I can't seem to find a
solution. And advise is much appreciated.

Rory.

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


[PD] Manipulating Gem objects color with notein

2009-02-02 Thread simone-www.io-lab.org
After a few months without PD it seems like i forgot the basics and
got stuck with something rather simple:
I am using the NOTEIN object to track 16 coming from a sequencer, what
i want to achieve is to toogle 2 different colors on 16 GEM objects
ie:
Note On - Note 60 = object 60 turns blue
Note Off - Note 60 = object 60 turns white

Note On - Note 61 = object 61 turns blue
Note Off - Note 61 = object 61 turns white

etc etc

Any hint is very welcome, thanks
Simone

-- 
.wmv , .wma , .pps along with all proprietary Windows formats won t be
accepted and/or viewed

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


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread jack
 hi i think theres something wrong with your patch, when i create the
 window i see a white sphere and when i click to 40, everything does black,
 am i doing something wrong?
No, all is ok !
Every five bangs, the sphere move ten units on the right.
So this is normal that the shere move out from the view.
Using [/ 2] instead of [* 2] should be different.
++

Jack





 --- On Mon, 2/2/09, Jack j...@rybn.org wrote:

 From: Jack j...@rybn.org
 Subject: Re: [PD] creating patterns with iteration in gem
 To: punch...@yahoo.com
 Cc: pd-list@iem.at
 Date: Monday, February 2, 2009, 11:59 AM
 hello,
 Something like this ?
 ++

 Jack


 Le 2 févr. 09 à 17:40, punchik punchik a écrit :

  hello, can anybody please tell me how can i make this
 little script in Gem?
  this script is made in Mel , the maya embedded
 language, the idea to use the remainder operation or module
 %  to create repetition at variable distances,
 we can use this to create rhythm or patterns
  thanks in advance
 
  for ($x= 0; $x40; $x++){
  if($x%5==0) continue;
  Sphere 2;
  translateXYZ ($x*2) 0 0;
  }
 
 
 
  Other question which other ways do there are to create
 patterns with module? thanks
 
  pun.
 
 
 
 
 
 
 
  ___
  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] Crasher bug found...

2009-02-02 Thread Miller Puckette
Thanks -- that was just what I needed to find it... here's a patch that
should fix it.  I'll be puttint up a new bugfix release after I manage to
clean up another couple of problems.

Miller

diff --git a/src/g_template.c b/src/g_template.c
index 34541c0..f216b10 100644
--- a/src/g_template.c
+++ b/src/g_template.c
@@ -106,7 +106,7 @@ t_template *template_new(t_symbol *templatesym, int argc, t_
 bad: 
 argc -= 2; argv += 2;
 }
-if (templatesym-s_name)
+if (*templatesym-s_name)
 {
 x-t_sym = templatesym;
 pd_bind(x-t_pdobj, x-t_sym);


On Sun, Feb 01, 2009 at 12:43:48AM -0800, Luke Iannini wrote:
 Well, I'll let you all confirm that before I truly say so : ).
 
 But, by sheer luck, I'm hoping I've found the memory-corruption bug
 causing my pd abstractions to be so unstable (as I've lamented quite a
 few times).
 
 Hopefully this is narrowed down enough to be useful Miller! (I'm happy
 to pare it down further if there are too many extraneous objects)
 
 Basically, open ds-slider-o-help.pd (which contains 10 copies of the
 GOP ds-slider-o.pd abstraction) and click the [CLICK TO CRASH( message
 which is connected to a [send] object with no destination.
 
 Assigning a destination prevents the crash.
 
[...]

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


Re: [PD] creating patterns with iteration in gem

2009-02-02 Thread Jack

Ah, ok, i just see your exemple :)
Here a new patch with an other approach with [repeat].
The cyrille patch is full Pd and GEM.
With [repeat] you also need Zexy.
++

Jack


exemple.pd
Description: Binary data



Le 3 févr. 09 à 02:28, j...@rybn.org a écrit :


hi i think theres something wrong with your patch, when i create the
window i see a white sphere and when i click to 40, everything  
does black,

am i doing something wrong?

No, all is ok !
Every five bangs, the sphere move ten units on the right.
So this is normal that the shere move out from the view.
Using [/ 2] instead of [* 2] should be different.
++

Jack






--- On Mon, 2/2/09, Jack j...@rybn.org wrote:


From: Jack j...@rybn.org
Subject: Re: [PD] creating patterns with iteration in gem
To: punch...@yahoo.com
Cc: pd-list@iem.at
Date: Monday, February 2, 2009, 11:59 AM
hello,
Something like this ?
++

Jack


Le 2 févr. 09 à 17:40, punchik punchik a écrit :


hello, can anybody please tell me how can i make this

little script in Gem?

this script is made in Mel , the maya embedded

language, the idea to use the remainder operation or module
%  to create repetition at variable distances,
we can use this to create rhythm or patterns

thanks in advance

for ($x= 0; $x40; $x++){
if($x%5==0) continue;
Sphere 2;
translateXYZ ($x*2) 0 0;
}



Other question which other ways do there are to create

patterns with module? thanks


pun.







___
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