[PD] how to set variable types

AshK ashk at azylum.net
Mon Jul 31 00:10:32 CEST 2006


Yes! exactly what I was thinking, I was trying to understand which one 
is more efficient, I could see a very little difference if no difference 
at all with cpu time. By the way I'm going to need the same abstraction 
for ctlout and I'm going to do it right away.

Chuckk Hubbard wrote:
> Glad to hear it.
> Actually, I'm not sure, it might be more efficient to just have one
> ctlin, outside of the abstraction, and send the messages to all the
> filters.  I don't know enough about how MIDI works.
> 
> 
> On 7/30/06, AshK <ashk at azylum.net> wrote:
>> wow it works and it's simple and it's a better idea to use ctlin without
>> arguments! thanks a lot Chuckk and everybody. Your advices are pretty
>> efficient too, I'm regaining faith in PD  :)
>> Well I got some MIDI channels to map now, bye!
>>
>> Chuckk Hubbard wrote:
>> > Here's a way to do the same thing without any arguments for ctlin.
>> > ctlbox.pd is the shell, ctlabst.pd is what is doing the work.  As far
>> > as I can tell it does exactly what you were looking for.
>> >
>> > If you are going to create a whole bunch of abstractions or objects
>> > with different arguments, may I suggest you:
>> > 1. Put one abstraction/object down
>> > 2. Highlight it
>> > 3. Press Ctl-D to duplicate it as many times as you need
>> > 4. Move the clones wherever you need them to be able to see
>> > 5. Save and open the patch in a text editor and change the arguments
>> > that way, where they are all listed one after another.  Less clicking
>> > that way.
>> >
>> > You should be able to see what I'm talking about if you don't know.
>> > It's a good thing to understand if you want to be effective with Pd.
>> > But I think the abstraction I attached does it too.
>> >
>> > -Chuckk
>> >
>> >
>> > On 7/29/06, AshK <ashk at azylum.net> wrote:
>> >> I forgot one thing, in my patch ctlin.pd with the [+] object the 
>> bang is
>> >> not necessary, it even adds some wrong numbers, I just swaped the the
>> >> incoming parameters and it makes what I want but a dedicated inlet for
>> >> the bang would be more user friendly... to me.
>> >> But I give up trying to create the dynamic stuff, it is way too
>> >> complicated for me to add a simple variable to an object, I'll do the
>> >> math myself as you suggested Derek, it's going to take a long time but
>> >> not as long as what I spent today on this stuff. And doing a long and
>> >> repetitive task by hand is not really what I thought pd was about.
>> >>
>> >> thanks for your help
>>
> 
> 




More information about the Pd-list mailing list