[PD] Abstractions search path hirarchy (was: pduino-arduino trouble)

Hans-Christoph Steiner hans at eds.org
Sun Jun 15 15:16:21 CEST 2008


It should do that already.  I don't remember why it didn't in this case.

.hc

On Jun 15, 2008, at 9:55 AM, Max Neupert wrote:

> i don't konw if that's related. i was using the release candidate:  
> Pd version 0.40.3-extended-20080603.
> my question:
> wouldn't it make sense if Pd would search first in the same  
> directory as the patch is for abstractions?
>
> m.
>
> Am 2008-06-14 um 23:05 schrieb Hans-Christoph Steiner:
>
>>
>> Yeah, that was my mistake, I removed hardware/arduino.pd from the  
>> nightly builds since it shouldn't be there.  Sorry about that...
>>
>> .hc
>>
>> On Jun 14, 2008, at 11:59 AM, Max Neupert wrote:
>>
>>> hi list,
>>>
>>> i found the source of my problem here.
>>> the patch was using the [arduino] abstraction.
>>> i had it located in the same path than my patch (version 0.3), but
>>> another one (version 0.4) is located in
>>> /Applications/Pd-extended.app/Contents/Resources/extra/hardware/
>>>
>>> i've always assumed that pd searches for abstractions first in the
>>> same directory than the patch is found. that doesn't seem to be the
>>> case.
>>>
>>> for some reason pd sometimes choose to prefer the 0.4 version which
>>> has a different, non working bitrate set.
>>> i've deleted the abstraction and use it now in a subpatch  
>>> instead, so
>>> i am sure no other version is loaded instead.
>>>
>>> max
>>>
>>>
>>> Am 2008-06-13 um 18:54 schrieb Claude Heiland-Allen:
>>>
>>>> Max Neupert wrote:
>>>>> this is the output when it does work:
>>>>
>>>>> set_baudrate baudbits: 57600
>>>>
>>>>> this is the output when it doesn't:
>>>>
>>>>> set_baudrate baudbits: 115200
>>>>
>>>>> anyone has a clue what's going on?
>>>>
>>>> I'm guessing the baudbits has something to do with it.  Maybe
>>>> something along the connection between pd and arduino doesn't
>>>> support the higher speed.
>>>>
>>>> Never used arduino or any other serial devices though.
>>>>
>>>>
>>>> Claude
>>>> -- 
>>>> http://claudiusmaximus.goto10.org
>>>
>>>
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>>> listinfo/pd-list
>>
>>
>>
>> --------------------------------------------------------------------- 
>> -------
>>
>> The arc of history bends towards justice.     - Dr. Martin Luther  
>> King, Jr.
>>
>


------------------------------------------------------------------------ 
----

Access to computers should be unlimited and total.  - the hacker ethic






More information about the Pd-list mailing list