[PD] Inlet Data types

Jonathan Wilkes jancsika at yahoo.com
Wed Sep 1 23:58:26 CEST 2010


Hi Leandro,
     After you get the error, have you tried going to the "Find" menu and choose "Find last 
error"?  It should highlight the object in question, then you can connect a [print] object 
to the outlet of the object that feeds into it and see what you're sending it.

-Jonathan

--- On Wed, 9/1/10, Leandro da Mota Damasceno <lemota at gmail.com> wrote:

From: Leandro da Mota Damasceno <lemota at gmail.com>
Subject: Re: [PD] Inlet Data types
To: jack at rybn.org
Cc: pd-list at iem.at
Date: Wednesday, September 1, 2010, 10:19 PM

Ok, so it still complains of the error and I'm not getting the output I wanted... 
That is the point... I was precisely complaining abou that error with that specific list. in fact, that list should be as big as 1 2 2 1 3 1 3 3  2 1 3 or something like that. Tell me why am I get getting this... I don't see elements that expect floats that are getting lists...


On Wed, Sep 1, 2010 at 10:10 PM,  <jack at rybn.org> wrote:

Have a look in the patch, where there are comments. As you can see there

is a list [1 2(. when this list is sent, there is an error.

Open the both patches and follow the comment.

++



Jack







> Yes, I do. That is kind of the whole point of it. The list is the numbers

> of

> the samples I want to be played, in order. The difference is, if I get an

> "analyze" in the beginning, I want it to play the sample AND analyze if

> the

> gestures being played by the user (which will be detect through another

> software) correspond to the sample being played. The user will have

> trained

> the system before, of course. Right now, I'm not focusing on the analysis,

> but rather just making the damn thing play :P

>

> On Wed, Sep 1, 2010 at 9:53 PM, Jack <jack at rybn.org> wrote:

>

>> That depend, do you need the first (1) or the second (2) float of your

>> list ? (the list is in 'Gesture_Analysis', it is [1 2( before [MusExp])

>> ++

>>

>> Jack

>>

>>

>>

>> Le mercredi 01 septembre 2010 à 21:43 +0200, Leandro da Mota Damasceno a

>> écrit :

>> > SampleNoOut was supposed to be a float. why you're telling me it's a

>> > list, so I can fix it?

>> >

>> >

>> > (sorry to send again. forgot to reply to all.)

>> >

>> > On Wed, Sep 1, 2010 at 9:34 PM, Jack <jack at rybn.org> wrote:

>> >         In your abstraction 'MusExp', you have a [s SampleNoOut]

>> >         sending a list.

>> >         Therefore, you have a problem in your main patch (near

>> >         'Input_Song_control' where you receive (by [r SampleNoOut])

>> >         the list in

>> >         a [pack] ([pack s f]).

>> >         So you need to receive a float in the second inlet but you get

>> >         a list.

>> >         There is the same problem with your other [r SampleNoOut]

>> >         follow by [sel

>> >         1 2 3]. [sel] need a float here !

>> >         ++

>> >

>> >         Jack

>> >

>> >

>> >

>> >         Le mercredi 01 septembre 2010 à 21:00 +0200, Leandro da Mota

>> >         Damasceno a

>> >

>> >         écrit :

>> >         > Oh, sorry! I thought it was going to the whole list

>> >         already...

>> >         >

>> >         >

>> >         > here's the main patch...

>> >         >

>> >         >

>> >         > On Wed, Sep 1, 2010 at 8:49 PM, ypatios <ypatios at gmail.com>

>> >         wrote:

>> >         >         and please "reply to all"! :)

>> >         >

>> >         >

>> >         >

>> >         >         On 1 September 2010 21:40, Jack <jack at rybn.org>

>> >         wrote:

>> >         >                 Can you send us the main patch too ?

>> >         >                 Because it is not possible to detect the

>> >         problem with

>> >         >                 the subpatch.

>> >         >                 ++

>> >         >

>> >         >                 Jack

>> >         >

>> >         >

>> >         >

>> >         >                 Le mercredi 01 septembre 2010 à 20:26 +0200,

>> >         Leandro

>> >         >                 da Mota Damasceno a

>> >         >                 écrit :

>> >         >                 > It's still quiet buggy and childish...

>> >         >                 >

>> >         >                 >

>> >         >                 > Ok, here's the thing: I want a patch that

>> >         gets a

>> >         >                 list that is a

>> >         >                 > sequence of numbers. each number is set to

>> >         play a

>> >         >                 different sample

>> >         >                 > that has been loaded. I'm still fixing the

>> >         "play"

>> >         >                 part.

>> >         >                 >

>> >         >                 >

>> >         >                 > I'm sending it attached so you can tell me

>> >         what to

>> >         >                 do.

>> >         >

>> >         >                 >

>> >         >                 > On Wed, Sep 1, 2010 at 8:21 PM, Jack

>> >         <jack at rybn.org>

>> >         >                 wrote:

>> >         >                 >         Send us your patch.

>> >         >                 >         You can send list (and anything)

>> >         to subpatch

>> >         >                 without problem.

>> >         >                 >         I guess you have an object in your

>> >         subpatch

>> >         >                 that doesn't

>> >         >                 >         accept list but

>> >         >                 >         float.

>> >         >                 >         ++

>> >         >                 >

>> >         >                 >         Jack

>> >         >                 >

>> >         >                 >

>> >         >                 >         Le mercredi 01 septembre 2010 à

>> >         20:01 +0200,

>> >         >                 Leandro da Mota

>> >         >                 >         Damasceno a

>> >         >                 >         écrit :

>> >         >                 >

>> >         >                 >         > Hi guys,

>> >         >                 >         >

>> >         >                 >         >

>> >         >                 >         > this is a very newbie question,

>> >         but I'm

>> >         >                 trying to send a

>> >         >                 >         list to the

>> >         >                 >         > inlet of a subpatch i just made

>> >         and PD is

>> >         >                 complaining it

>> >         >                 >         expected

>> >         >                 >         > float. Does that mean I cannot

>> >         send list

>> >         >                 to an inlet by

>> >         >                 >         default? is

>> >         >                 >         > there a walk around?

>> >         >                 >         >

>> >         >                 >         >

>> >         >                 >         > Leandro

>> >         >                 >

>> >         >                 >         >

>> >         >

>> >         _______________________________________________

>> >         >                 >         > Pd-list at iem.at mailing list

>> >         >                 >         > UNSUBSCRIBE and

>> >         account-management ->

>> >         >                 >

>> >         http://lists.puredata.info/listinfo/pd-list

>> >         >                 >

>> >         >                 >

>> >         >                 >

>> >         >                 >

>> >         >

>> >         >

>> >         >

>> >         >

>> >         _______________________________________________

>> >         >                 Pd-list at iem.at mailing list

>> >         >                 UNSUBSCRIBE and account-management ->

>> >         >                 http://lists.puredata.info/listinfo/pd-list

>> >         >

>> >         >

>> >         >

>> >         >

>> >         >

>> >         >         --

>> >         >         ypatios

>> >         >

>> >         >

>> >         > _______________________________________________

>> >         > Pd-list at iem.at mailing list

>> >         > UNSUBSCRIBE and account-management ->

>> >         http://lists.puredata.info/listinfo/pd-list

>> >

>> >

>> >

>> >

>> >

>>

>>

>>

>




-----Inline Attachment Follows-----

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100901/1efea565/attachment-0001.htm>


More information about the Pd-list mailing list