[PD] how to set variable types

AshK ashk at azylum.net
Sun Jul 30 14:13:32 CEST 2006


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