[PD] send recieve efficientcy
amodiuslonodium at yahoo.com
Fri Dec 26 16:51:39 CET 2003
I am trying to work out better effeciency for this
patch. It is a sequencer based off of the simple
logic of being able to store a number in a certain
location and sequentially call that number back up.
right now it is only 16 steps however I would like to
make it 64. I am using a keyboard toggle/canvas sub
patch that someone made, so many thanks to them who
ever they are, although I did have to go in and
reset/edit all the variables, and values.
I will attach the patch so you can open it up and
better see where I want to make the improvements.
also Thomas and I have sent some messages back and
forth copy below.
The more efficient areas that I would like to have are
in the recieve sections. such as in [pd toggles]
where there are recieves $0-step1 through $0-step16
and also where the notes are recieved at $0-n48
through $0-n84 in [pd notes]. I was wondering if
there was a way to recieve all the revieves at one
location that could carry a variable signifier or some
kind of range. this is mainly to eliminate the need
for me to connect 40 recieve boxes to one inlet..., in
the future I may want to do something with over 100
recieves and connecting all those boxes seems like it
could be done a better way.
Thomas had the suggestion of using nqpoly abstractoin
(see below) however I am not familiar with how to use
that to do what I want.
amodiuslonodium at yahoo.com
i don't know why you want to do that because you can
always have to
respective logic in the sender (to send to a specific
clear that in the sense of modularity this may be
A way would be to use the nqpoly abstraction or my
dyn~ object to
dynamically create a range of number-coded
receivers... i expect this
provide what you want.
PS. If you would subscribe to the pd-list others could
----- Original Message -----
From: "Bradon Webb" <bradonwebb at yahoo.com>
To: "Thomas Grill" <t.grill at gmx.net>
Sent: Monday, December 22, 2003 3:13 PM
Subject: Thanks: Re: PD Help!
> Thanks a lot Thomas,
> I don't know why I didn't think of that earlier,
> your solution works perfect. I was able to shorten
> everything by eliminating a router and replaceing a
> bunch of send objects with the one variable send.
> other good thing is I can expand the patch to
> more variables without modifying the patch. I just
> wonder now if the reverse of this can be done
> Is there a way to recieve a varible number of sends,
> or a range of sends in one location. Something like
> [r nX] where X is the varibale, This doesn't make
> sense to me though because... say the first number
> the recieve would be the variable, and then the
> number would be the actual message to send, the
> recieve would have to be defined before it recieved
> the message variable to tell it what to be defined
> unless you could set an the value of X through
> inlet, which there is only one on the recieve....
> maybe something like this is possible [r (n1 -
> where the recieve is defined but it will accept
> multiple sends. What I have currently been using is
> having a bunch of seperate recieve objects and then
> connecting them all together i.e. [r n1], [r n2], [r
> n3].... kind of gets tireing after wireing 40 or so
> of these together.
> --- Thomas Grill <t.grill at gmx.net> wrote:
> > Hi Bradon,
> > it would be easier to use variable numbers for the
> > names of receivers than
> > letters, since only these can be passed with $xx
> > arguments to a message.
> > Sending to variable receivers can be done with a
> > message like
> > [ ; $1-recv $2 (
> > with no object afterwards, where $1-recv is the
> > receiver and $2 the message.
> > You can feed it with a [pack 0 0] or the likes.
> > i hope this helps, best greeting,
> > Thomas
> > ----- Original Message -----
> > From: "Bradon Webb" <bradonwebb at yahoo.com>
> > To: <t.grill at gmx.net>
> > Sent: Thursday, December 18, 2003 11:09 PM
> > Subject: PD Help!
> > > hello thomas,
> > >
> > > i got your name from the PD list, I was a happy
> > > subscriber to until just recently my e-acess was
> > lost.
> > > i had a quick question about a post you made in
> > > response to variable send objects. I did not
> > the
> > > attatched patch for download off the list? I am
> > > trying to use one send object and have it
> > dynamically
> > > set to send to a number of recieveable objects.
> > the
> > > send would also have to have a $0 in it as it
> > be
> > > used as an abstraction for multiple uses. This
> > will
> > > be for a keyboard type of aplication. i would
> > like
> > > something like [s $0-"C1"] where the C1 could be
> > > changed to a D1, E1, B2 etc. any help at all
> > be
> > > great, I am kind of stuck in a puddle of mud
> > I
> > > figure this one out.
> > >
> > > thanks,
> > > Bradon
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Pd-list