Re: [PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Angelo Arcadi
Hi Miller,
thanks.  I had to create the object "declare -stdpath
/Applications/Pd-0.47-1-64bit.app/Contents/Resources/extra"
in order to load them.

Best

Angelo

On Mon, Aug 29, 2016 at 4:43 PM, Miller Puckette  wrote:

> It should be included in vanilla, in "Pd.app/Contenrs/Resources/extra".
> It should be automatically found by Pd as long as "use standard
> extensions" is
> checked in the "path" preferences dialog (which it normally should be by
> default).
>
> cheers
> Miller
>
> On Mon, Aug 29, 2016 at 04:32:03PM -0400, Angelo Arcadi wrote:
> > Hello,
> > when I was using pd-extended I used to use the objects complex-mod~ and
> > hilbert~.
> >
> > Now on Vanilla I don't find them, nor I am able to find them with Deken.
> > Which package they belong to? If I am not wrong they should come with
> > vanillla however, pd says "couldn't create" for both of them.
> > I am on a mac osx 10.11.5, using pd 64 bit version 0.47.1.
> >
> > Does anyone know where the sources of these can be found?
> >
> > Thanks in advance
> >
> > Best
> >
> > Angelo
>
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Angelo Arcadi
Hello,
when I was using pd-extended I used to use the objects complex-mod~ and
hilbert~.

Now on Vanilla I don't find them, nor I am able to find them with Deken.
Which package they belong to? If I am not wrong they should come with
vanillla however, pd says "couldn't create" for both of them.
I am on a mac osx 10.11.5, using pd 64 bit version 0.47.1.

Does anyone know where the sources of these can be found?

Thanks in advance

Best

Angelo
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] /extra/ folder loading and path setting issues on pd for Mac

2016-08-19 Thread Angelo Arcadi
Dear list,
I am not able to load the externals placed by deken in the folder
/Applications/Pd-0.47-1-64bit.app/Contents/Resources/extra
when running pd 0.47.1 for mac.

When I try to load such folder from Preferences->Path, pd does not allow
me to select it.

How can I load the externals therein?

Why they are not automatically loaded since they are in /extra/?

Thanks in advance

Best

Angelo
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] External libraries not found via declare object or startup flags (pd 0.47.1, linux)

2016-08-10 Thread Angelo Arcadi
Dear Iohannes,
thanks for your valuable answers as always.

I will follow your indications but at the moment I found another
workaround: I don't use any declare
object and I add in Preferences->Path  all the paths of the folders I
intend to use. They are all inside
/usr/lib/pd/extra (e.g. cyclone). Why Pd does not allow to load recursively
also the subfolders of a
folder indicated in the Preferences->Path?
It would be great since one could just add the path /usr/lib/pd/extra...
actually this should also
be automatically loaded, without the need for the user to setup the Path in
the Preferences,
since deken automatically places the externals there.


I was wondering, is there a chance to solve the bug? If yes, when more or
less?

Best

Angelo


On Wed, Aug 10, 2016 at 6:10 PM, IOhannes m zmölnig  wrote:

> On 08/10/2016 10:39 PM, Angelo Arcadi wrote:
>
>> Dear Iohannes, list,
>> first of all I noticed that in my previous message I
>> wrote /usr/lib/extra while instead I was loading
>> /usr/lib/pd/extra of course.
>>
>> Secondly, I enabled the verbose option as Iohannes suggested and I
>> noticed the following:
>>
>> 1- creating the objects "declare -stdpath cyclone" or  "declare -path
>> cyclone" does not work, one
>> need to create the objects "declare -sdtpath /usr/lib/pd/extra/cyclone"
>> or  "declare -path /usr/lib/pd/extra/cyclone".
>>
>
> there seems to be indeed a bug here:
> - [declare -path] adds the new path *only* to the current directory.
> - [declare -stdpath] tries adding the new path *only* to the
> standard-paths (those searched without you passing '-path' on the cmdline).
>
> since you must add "-path /usr/lib/pd/extra" to Pd's search-paths
> somewhere, there is currently no way to tell Pd to also use this path :-(
>
> like always, the fix should be simple: but first it needs to be decided
> what the desired behaviour should actually be...
>
>
>> Any suggestion?
>>
>>
> here's a workaround for now:
>
> TL;DR: use [declare -path cyclone -stdpath cyclone -lib cyclone] together
> with "libdir".
>
> "libdir" is a library-loader object that loads directories-as-libraries if
> they conform to the libdir format (like cyclone; generally all the
> libraries that have a -meta.pd patch).
>
> - add '/usr/lib/pd/extra' to your general search paths (in Pd's
> preferences)
> - add 'libdir' to the automatically loaded libraries  (in Pd's
> preferences) - pd-libdir is available via apt.
> this will work, because the libdir library will install itself into
> /usr/lib/pd/extra/libdir/libdir.pd_linux, and when loading "libdir", Pd
> will search (among other things) for libdir/libdir.pd_linux in (among other
> paths) /usr/lib/pd/extra/
>
> - use [declare -path cyclone -stdpath cyclone -lib cyclone] to declare the
> dependency on cyclone.
> the "-path" and "-stdpath" portions are unused in your setup (but might
> work for people with more straight-forward setups).
> the "-lib" portion will trigger the libdir loading mechanis, which will
> search all the paths (among them /usr/lib/pd/extra/) for
> cyclone/cyclone-meta.pd, and will eventually find it as
> /usr/lib/pd/extra/cyclone/cyclone-meta.pd - and then it will add
> /usr/lib/pd/extra/cyclone/ to the (canvas-local) search path.
>
>
> i know that [declare -path cyclone -stdpath cyclone -lib cyclone] looks
> like a joke (while you are there, add "-stdlib cyclone" as well, that
> should be fool-proof)
>
> fmasdr
>
> IOhannes
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> stinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] External libraries not found via declare object or startup flags (pd 0.47.1, linux)

2016-08-10 Thread Angelo Arcadi
Dear Iohannes, list,
first of all I noticed that in my previous message I wrote /usr/lib/extra
while instead I was loading
/usr/lib/pd/extra of course.

Secondly, I enabled the verbose option as Iohannes suggested and I noticed
the following:

1- creating the objects "declare -stdpath cyclone" or  "declare -path
cyclone" does not work, one
need to create the objects "declare -sdtpath /usr/lib/pd/extra/cyclone" or
 "declare -path /usr/lib/pd/extra/cyclone".

2- HOWEVER, if I do the following:

- I created a patch "loadlib" with inside the object "declare -stdpath
/usr/lib/pd/extra/cyclone" (or  "declare -path /usr/lib/pd/extra/cyclone")
- I placed the patch "loadlib" in the main patch where the gate object is
present (the subpatch is in the same folder of the main patch).

Result: gate can't be created. It seems to me that the problem is that pd
loads only at the very last the
subpatch "loadlib", after having searched all other possibilities for
creating the object gate.

Why does this happen?
Is there a way to force pd to search first for the "loadlib" subpatch?


Here the Verbose so you can notice:



tried /home/odroid/Desktop/prove_pd/gate_loadlibrary.pd and succeeded
tried /home/odroid/Desktop/prove_pd/gate.so and failed
tried /home/odroid/Desktop/prove_pd/gate.pd_linux and failed
tried /home/odroid/Desktop/prove_pd/gate/gate.so and failed
tried /home/odroid/Desktop/prove_pd/gate/gate.pd_linux and failed
tried /home/odroid/Desktop/prove_pd/gate.pd and failed
tried /home/odroid/Desktop/prove_pd/gate.pat and failed
tried /home/odroid/Desktop/prove_pd/gate/gate.pd and failed
tried /usr/lib/pd/extra/gate.so and failed
tried /usr/lib/pd/extra/gate.pd_linux and failed
tried /usr/lib/pd/extra/gate/gate.so and failed
tried /usr/lib/pd/extra/gate/gate.pd_linux and failed
tried /usr/lib/pd/extra/gate.pd and failed
tried /usr/lib/pd/extra/gate.pat and failed
tried /usr/lib/pd/extra/gate/gate.pd and failed
tried /home/odroid/.local/lib/pd/extra/gate.so and failed
tried /home/odroid/.local/lib/pd/extra/gate.pd_linux and failed
tried /home/odroid/.local/lib/pd/extra/gate/gate.so and failed
tried /home/odroid/.local/lib/pd/extra/gate/gate.pd_linux and failed
tried /home/odroid/.local/lib/pd/extra/gate.pd and failed
tried /home/odroid/.local/lib/pd/extra/gate.pat and failed
tried /home/odroid/.local/lib/pd/extra/gate/gate.pd and failed
tried /home/odroid/pd-externals/gate.so and failed
tried /home/odroid/pd-externals/gate.pd_linux and failed
tried /home/odroid/pd-externals/gate/gate.so and failed
tried /home/odroid/pd-externals/gate/gate.pd_linux and failed
tried /home/odroid/pd-externals/gate.pd and failed
tried /home/odroid/pd-externals/gate.pat and failed
tried /home/odroid/pd-externals/gate/gate.pd and failed
tried /usr/local/lib/pd-externals/gate.so and failed
tried /usr/local/lib/pd-externals/gate.pd_linux and failed
tried /usr/local/lib/pd-externals/gate/gate.so and failed
tried /usr/local/lib/pd-externals/gate/gate.pd_linux and failed
tried /usr/local/lib/pd-externals/gate.pd and failed
tried /usr/local/lib/pd-externals/gate.pat and failed
tried /usr/local/lib/pd-externals/gate/gate.pd and failed
tried /usr/local/lib/pd/extra/gate.so and failed
tried /usr/local/lib/pd/extra/gate.pd_linux and failed
tried /usr/local/lib/pd/extra/gate/gate.so and failed
tried /usr/local/lib/pd/extra/gate/gate.pd_linux and failed
tried /usr/local/lib/pd/extra/gate.pd and failed
tried /usr/local/lib/pd/extra/gate.pat and failed
tried /usr/local/lib/pd/extra/gate/gate.pd and failed
 gate
... couldn't create
tried /home/odroid/Desktop/prove_pd/load_usrlibpdextracyclone.so and failed
tried /home/odroid/Desktop/prove_pd/load_usrlibpdextracyclone.pd_linux and
failed
tried
/home/odroid/Desktop/prove_pd/load_usrlibpdextracyclone/load_usrlibpdextracyclone.so
and failed
tried
/home/odroid/Desktop/prove_pd/load_usrlibpdextracyclone/load_usrlibpdextracyclone.pd_linux
and failed
tried /home/odroid/Desktop/prove_pd/load_usrlibpdextracyclone.pd and
succeeded
tried /home/odroid/Desktop/prove_pd/load_usrlibpdextracyclone.pd and
succeeded
opened 0 MIDI input device(s) and 0 MIDI output device(s).



Any suggestion?













On Wed, Aug 10, 2016 at 3:19 PM, IOhannes m zmölnig  wrote:

> On 08/10/2016 09:12 PM, Angelo Arcadi wrote:
> > still I am having troubles in loading the externals so I suspect that
> > either I have not understood something
>
> start Pd in verbose mode and watch the Pd-console how and where it
> searches for the object.
> make conclusions.
>
> gfmards
> IOhannes
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] External libraries not found via declare object or startup flags (pd 0.47.1, linux)

2016-08-10 Thread Angelo Arcadi
Dear list,
still I am having troubles in loading the externals so I suspect that
either I have not understood something
fundamental or there is a bug or something needed to be done during
configuring/building pd.
Just to remind you, I am using an odroid C2 board running ubuntu 16.04, and
I built the last version of pd 0.47.1.

These are the trials I did.
In each trial I Inserted in the preferences the path /usr/lib/extra (where
the externals are present).
For the sake of sempilicity I refer to the library cyclone and its object
gate


Trial 1:
- I create the object "cyclone/gate" , without having created the object
"declare".
Result: it works


Trial 2:
- I created an object "declare -stdpath cyclone"
Result: error couldn't create gate

However, if I create the object "cyclone/gate" it still works. Notably, if
I then create an object "gate" (not "cyclone/gate")
the object can be created without errors.


Trial 3:
- I created an object "declare -path cyclone"
Result: error couldn't create gate


Trial 4:
- I created an object "declare -lib cyclone"
Result: error couldn't create gate


Trial 5:
- I created an object "declare -lib /usr/lib/extra/cyclone"
Result: error couldn't create gate


Trial 6:
- In the Preferences I added the startup flag "-path cyclone"
Result: error couldn't create gate


Trial 7:
- In the Preferences I added the startup flag "-path
/usr/lib/extra/cyclone"
Result: error couldn't create gate


Trial 8:
- In the Preferences I added the startup flag "-lib cyclone"
Result: error couldn't create gate


Trial 9:
- In the Preferences I added the startup flag "-lib /usr/lib/extra/cyclone"
Result: error couldn't create gate


Can anyone suggest how can I solve this problem? I would like to avoid to
place cyclone in front
of every object gate, etc.

Thanks in advance

Best

Angelo




On Fri, Aug 5, 2016 at 7:30 PM, Lucas Cordiviola 
wrote:

> I`m not a Linux user so not sure:
>
> *I want to avoid using the name of the package before each external I need
> to *
>
> *use. So I created an object with "declare -stdpath
> /usr/lib/pd/extra/osc".*
>
>
> Isn't this [declare -stdpath osc] ?
>
> *So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but
> when I *
>
> *launch pd I get "can't load library"*
>
>
> Sure on this, Osc is not a lib. Libs are Gem and Zexy 2.2.6svn …
>
> try:
>
> -path /usr/lib/pd/extra/osc
>
> But probably with the above [declare] you got it.
>
>
> Mensaje telepatico asistido por maquinas.
>
>
> --
> *From:* Pd-list  on behalf of Angelo Arcadi
> 
> *Sent:* Friday, August 5, 2016 11:01 PM
> *To:* pd-list@lists.iem.at
> *Subject:* [PD] External libraries not found via declare object or
> startup flags (pd 0.47.1, linux)
>
> Dear list,
> I get an unwanted beheaviour with the location of the externals libraries
> installed on pd 0.47.1. Pd was compiled from sources, on ubuntu 16.04 linux
> running on the odroid-c2 board (armv8-64)
>
> I installed the externals I needed via apt-get install pd-name_package.
> The package got installed in /usr/lib/pd/extra. I have added such folder
> in the
> search path.
>
> Now in pd I want to use some of those externals, let's say "packOSC".
> At this stage If I create an object with "osc/packOSC" it works.
>
>
> I want to avoid using the name of the package before each external I need
> to
> use. So I created an object with "declare -stdpath /usr/lib/pd/extra/osc".
>
> The problem is that pd seems to ignore that command, or the analog ones
> with -path and -lib.
>
> So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but
> when I
> launch pd I get "can't load library"
>
> Any suggestion or workaround? Is there maybe a bug?
>
> Thanks in advance
>
> Best
>
> Angelo
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] External libraries not found via declare object or startup flags (pd 0.47.1, linux)

2016-08-05 Thread Angelo Arcadi
Dear list,
I get an unwanted beheaviour with the location of the externals libraries
installed on pd 0.47.1. Pd was compiled from sources, on ubuntu 16.04 linux
running on the odroid-c2 board (armv8-64)

I installed the externals I needed via apt-get install pd-name_package.
The package got installed in /usr/lib/pd/extra. I have added such folder in
the
search path.

Now in pd I want to use some of those externals, let's say "packOSC".
At this stage If I create an object with "osc/packOSC" it works.


I want to avoid using the name of the package before each external I need
to
use. So I created an object with "declare -stdpath /usr/lib/pd/extra/osc".

The problem is that pd seems to ignore that command, or the analog ones
with -path and -lib.

So I tried to set the startup flags e.g. -lib /usr/lib/pd/extra/osc but
when I
launch pd I get "can't load library"

Any suggestion or workaround? Is there maybe a bug?

Thanks in advance

Best

Angelo
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list