Re: [PD] Availability of ELSE v.1.0-0_rc8 external for Raspberry Pi 400 (ARM)

2023-08-01 Thread Alexandre Torres Porres
Em ter., 1 de ago. de 2023 às 13:59, Linux ROUEN Normandie <
linux.ro...@free.fr> escreveu:

> * Regarding armv6 (32-bit), armv7(32-bit) and armv8 (64-bit), you should
> discuss it with the developers having the right knowledge about them.
>

Where are the wizards in the room?



>
> With RPi OS 11 32-bit, Pd Vanilla 0.54.0 / Deken 0.9.4 / Else gives today
> the same result for both:
> -User defined platform: Linux-armv7-32
>
> http://puredata.info/Members/porres/software/else/1.0-0_rc6-with_live_electronics_tutorial/else%5Bv1.0-0_rc6-with_live_electronics_tutorial%5D(Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv6-32)(Linux-armv7-32)(Windows-amd64-32).dek
> i.e. else 1.0-0_rc6-with_live_electronics_tutorial 2023-05-12 20:17:02
> - Platform by defaut: Linux-armv6-32
>
> http://puredata.info/Members/porres/software/else/1.0-0_rc6-with_live_electronics_tutorial/else%5Bv1.0-0_rc6-with_live_electronics_tutorial%5D(Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv6-32)(Linux-armv7-32)(Windows-amd64-32).dek
> i.e. else 1.0-0_rc6-with_live_electronics_tutorial 2023-05-12 20:17:02
>


I think I only have armv6 binaries and they may also come up for
armv7




>
> * The use of the RPi OS 11 64-bit (armv8) will gain in popularity over the
> years as the following machines are 64-bit compatible: RPi Zero 2, RPi 3,
> RPi 4/4B (up to 8 GB RAM) and RPi 400 (4 GB RAM).
> So, I think if Else Arm 64-bit is different from Arm 32-bit, yes you could
> / should take care about it.
>

I thought many were using/needing this, but maybe I should just care about
offering the "best" one in deken...



>
> Thanks.
> 
> Best, Joseph
> 
>
> Le 01/08/2023 à 01:22, Alexandre Torres Porres a écrit :
>
> Em seg., 31 de jul. de 2023 às 13:29, Linux Rouen Normandie <
> linux.ro...@free.fr> escreveu:
>
>> Well, but I need at least [else/midi] & [else/sfont~].
>>
>
> Those 2 haven't really changed since version rc6, so you're good with
> that, right?
>
> Nonetheless, I'm really confused with what I have to distribute now, and I
> think I'm offering "wrong" versions of sfont~ for the pi...
>
> Note-1: With Pd/Deken I had to define the User platform as
>> "Linux-armv7-32" to be able to have access to all my needed externals.\
>>
> The default platform is declared as "Linux-armv6-32" which is not relevant
>> for many externals when the "Hide the other architectures" box is checked.
>>
>
> You see, I don't think I'm offering "Linux-armv7-32" . I have armv6
> (32bit) and armv8 (64bit). So how does it show up for you?
>
> And does the armv6 (32bit) binary work for you as well? I thought so...
>
> Should I offer armv7 instead of armv6? Should I offer both?
>
>
>> Note-2: The production RPi OS 11 64-bit (armv8) is too young for being
>> largely deployed on the Raspberry Pi machines which are compatible with it.
>> So 32-bit externals will be still needed for a while.
>>
>
> Should I not bother with this one at all?
>
>
>> I will have one more time a look at your compilation instructions and
>> will see what I can achieve or not...
>
>
> All I know is that you gotta have 'cmake' installed, and other than that I
> have ZERO experience with Raspberry Pis and Linux in general...
>
> cheers
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Building ELSE for Pd Vanilla (here RPi OS 11 32-bit)

2023-08-01 Thread Alexandre Torres Porres
cool, just try the current master, as I think I solved some issues for
building these objects there and I'm still adding new features and will
release the final update with them anyway...

Em ter., 1 de ago. de 2023 às 19:32, Linux ROUEN Normandie <
linux.ro...@free.fr> escreveu:

> Thanks for your clarifications. It's clearer and my understanding has
> increased a bit.
> Now I will make my home work, including the 3 [~] objects, hoping I will
> not face to an unbreakable wall.
> Let's see. I will keep you posted...
>
> 
> Best, Joseph
> 
>
> Le 01/08/2023 à 01:41, Alexandre Torres Porres a écrit :
>
> Em seg., 31 de jul. de 2023 às 16:47, Linux Rouen Normandie <
> linux.ro...@free.fr> escreveu:
>
>> Hello Alexandre,
>> Well, I'm back with 5 basic (-questions-) for "dummies" embedded into
>> your here below Building instructions...
>>
>
> Maybe not the best place to discuss this, but then I could actually use
> some help form others, as, like I just said in the other subject/thread, my
> experience with linux and raspberry pi is limited.
>
> I have a VM in a mac that runs ubuntu and I'm able to cross compile in it
> for raspberry pis thanks to a friend who set it up for me, but I was never
> able to use it to compile these new three objects that need more steps.
>
> Anyway, thanks for your interest and help, let's dig in...
>
>
>> => So I installed pd-lib-builder-0.6.0-1 from Add/Remove Software (RPi OS
>> 11 32-bit / RPi 400), done.
>>
>
> I do provide pd-lib-builder in a subfolder of the ELSE source code, so
> you don't really need to bother installing it yourself.
>
>
>
>> 1. Installing with pdlibbuilder
>> Go to the pd-else folder *(-Which folder? The decompressed downloaded
>> source code file?-)*
>>
>
> Yup. If you're cloning from github you should have this "pd-else" folder.
> If you download the source from the github site you get something like
> "pd-else-master" or "pd-else-1.0-rc9-pre-test" (preferred for what you
> want, which is building this release). Just just go to this directory on
> your terminal to run the make code.
>
>
>> and use "objectsdir" to set an *absolute* path for your build, something
>> like:
>> make install objectsdir=~/else-build
>> Then move it (-What?-)
>>
>
> move the built and generated folder. In this case it would be a folder
> called "else" created inside a "else-build" subfolder in the source code
> of ELSE.
>
> I actually do "objectsdir=../" and look for the 'else' folder in the same
> folder as the source code of ELSE...
>
> So, when you're done generating your folder, move it to install it as any
> external library into your preferred externals folder.
>
>
>> from there to your preferred install folder for Pd *(-What do you mean
>> by 'your Preferred install folder for Pd'?-)*
>>
>
> Wherever you like. I use the ~/Documents/Pd/externals folder.
>
>
>> and add it to the path *(-How and to which one?-)*.
>>
>
> Add the else folder (wherever it is) to the user added search paths, that
> you can set under preferences ==> path
>
>
>
>> 2. Installing sfont~, sfz~ and plaits~
>> (...)
>> To install them with the rest of ELSE you can build from the toplevel
>> source directory *(-?-)*
>>
>
> That is the same directory for the regular build, like "pd-else".
>
>
>> using the special 'sfont', 'sfz' and 'plaits' targets:
>> make sfont sfz plaits pdincludepath=~/pd-0.54-0/src/
>> make sfont-install sfz-install plaits-install objectsdir=~/else-build
>>
>
> I don't really use 'pdincludepath'... pdlibbuilder finds it if you have
> it. But you gotta have pd-0.54-0 installed, preferably just this version.
>
> Like I said in the other thread, you need to have 'cmake' installed, which
> may be something that comes out of the box in raspberry pi?
>
> Anyway, that's all I know, that's what I need to do to build it in my mac,
> but I have no idea if it'll run smoothly in a raspberry pi and I'm afraid I
> won't know what to do if you hit a wall :)
>
> Hope it works, let us know
>
> thanks
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Building ELSE for Pd Vanilla (here RPi OS 11 32-bit)

2023-08-01 Thread Linux ROUEN Normandie
Thanks for your clarifications. It's clearer and my understanding has 
increased a bit.
Now I will make my home work, including the 3 [~] objects, hoping I will 
not face to an unbreakable wall.

Let's see. I will keep you posted...


Best, Joseph


Le 01/08/2023 à 01:41, Alexandre Torres Porres a écrit :
Em seg., 31 de jul. de 2023 às 16:47, Linux Rouen Normandie 
 escreveu:


Hello Alexandre,
Well, I'm back with 5 basic (-questions-) for "dummies" embedded
into your here below Building instructions...


Maybe not the best place to discuss this, but then I could actually 
use some help form others, as, like I just said in the other 
subject/thread, my experience with linux and raspberry pi is limited.


I have a VM in a mac that runs ubuntu and I'm able to cross compile in 
it for raspberry pis thanks to a friend who set it up for me, but I 
was never able to use it to compile these new three objects that need 
more steps.


Anyway, thanks for your interest and help, let's dig in...

=> So I installed pd-lib-builder-0.6.0-1 from Add/Remove Software
(RPi OS 11 32-bit / RPi 400), done.


I do provide pd-lib-builder in a subfolder of the ELSE source code, so 
you don't really need to bother installing it yourself.


1. Installing with pdlibbuilder
Go to the pd-else folder /(-Which folder? The decompressed
downloaded source code file?-)/


Yup. If you're cloning from github you should have this "pd-else" 
folder. If you download the source from the github site you get 
something like  "pd-else-master" or "pd-else-1.0-rc9-pre-test" 
(preferred for what you want, which is building this release). Just 
just go to this directory on your terminal to run the make code.


and use "objectsdir" to set an /absolute/ path for your build,
something like:
    make install objectsdir=~/else-build
Then move it (-What?-)


move the built and generated folder. In this case it would be a folder 
called "else" created inside a "else-build" subfolder in the source 
code of ELSE.


I actually do "objectsdir=../" and look for the 'else' folder in the 
same folder as the source code of ELSE...


So, when you're done generating your folder, move it to install it as 
any external library into your preferred externals folder.


from there to your preferred install folder for Pd /(-What do you
mean by 'your Preferred install folder for Pd'?-)/


Wherever you like. I use the ~/Documents/Pd/externals folder.

and add it to the path /(-How and to which one?-)/.


Add the else folder (wherever it is) to the user added search paths, 
that you can set under preferences ==> path


2. Installing sfont~, sfz~ and plaits~
(...)
To install them with the rest of ELSE you can build from the
toplevel source directory /(-?-)/


That is the same directory for the regular build, like "pd-else".

using the special 'sfont', 'sfz' and 'plaits' targets:
    make sfont sfz plaits pdincludepath=~/pd-0.54-0/src/
    make sfont-install sfz-install plaits-install
objectsdir=~/else-build


I don't really use 'pdincludepath'... pdlibbuilder finds it if you 
have it. But you gotta have pd-0.54-0 installed, preferably just this 
version.


Like I said in the other thread, you need to have 'cmake' installed, 
which may be something that comes out of the box in raspberry pi?


Anyway, that's all I know, that's what I need to do to build it in my 
mac, but I have no idea if it'll run smoothly in a raspberry pi and 
I'm afraid I won't know what to do if you hit a wall :)


Hope it works, let us know

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


Re: [PD] Availability of ELSE v.1.0-0_rc8 external for Raspberry Pi 400 (ARM)

2023-08-01 Thread Linux ROUEN Normandie
* I have forgotten but I also use [else/keyboard], so at least Else rc8, 
where some bugs have been fixed, is needed.


* Regarding armv6 (32-bit), armv7(32-bit) and armv8 (64-bit), you should 
discuss it with the developers having the right knowledge about them.


With RPi OS 11 32-bit, Pd Vanilla 0.54.0 / Deken 0.9.4 / Else gives 
today the same result for both:

-User defined platform: Linux-armv7-32
http://puredata.info/Members/porres/software/else/1.0-0_rc6-with_live_electronics_tutorial/else%5Bv1.0-0_rc6-with_live_electronics_tutorial%5D(Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv6-32)(Linux-armv7-32)(Windows-amd64-32).dek
    i.e. else 1.0-0_rc6-with_live_electronics_tutorial 2023-05-12 20:17:02
- Platform by defaut: Linux-armv6-32
http://puredata.info/Members/porres/software/else/1.0-0_rc6-with_live_electronics_tutorial/else%5Bv1.0-0_rc6-with_live_electronics_tutorial%5D(Darwin-amd64-32)(Darwin-arm64-32)(Linux-amd64-32)(Linux-arm64-32)(Linux-armv6-32)(Linux-armv7-32)(Windows-amd64-32).dek
    i.e. else 1.0-0_rc6-with_live_electronics_tutorial 2023-05-12 20:17:02

* The use of the RPi OS 11 64-bit (armv8) will gain in popularity over 
the years as the following machines are 64-bit compatible: RPi Zero 2, 
RPi 3, RPi 4/4B (up to 8 GB RAM) and RPi 400 (4 GB RAM).
So, I think if Else Arm 64-bit is different from Arm 32-bit, yes you 
could / should take care about it.


Thanks.

Best, Joseph


Le 01/08/2023 à 01:22, Alexandre Torres Porres a écrit :
Em seg., 31 de jul. de 2023 às 13:29, Linux Rouen Normandie 
 escreveu:


Well, but I need at least [else/midi] & [else/sfont~].


Those 2 haven't really changed since version rc6, so you're good with 
that, right?


Nonetheless, I'm really confused with what I have to distribute now, 
and I think I'm offering "wrong" versions of sfont~ for the pi...


Note-1: With Pd/Deken I had to define the User platform as
"Linux-armv7-32" to be able to have access to all my needed
externals.\

The default platform is declared as "Linux-armv6-32" which is not
relevant for many externals when the "Hide the other
architectures" box is checked.


You see, I don't think I'm offering "Linux-armv7-32" . I have armv6 
(32bit) and armv8 (64bit). So how does it show up for you?


And does the armv6 (32bit) binary work for you as well? I thought so...

Should I offer armv7 instead of armv6? Should I offer both?

Note-2: The production RPi OS 11 64-bit (armv8) is too young for
being largely deployed on the Raspberry Pi machines which are
compatible with it. So 32-bit externals will be still needed for a
while.


Should I not bother with this one at all?

I will have one more time a look at your compilation instructions
and will see what I can achieve or not...


All I know is that you gotta have 'cmake' installed, and other than 
that I have ZERO experience with Raspberry Pis and Linux in general...


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


Re: [PD] [PD-announce] New Externals for the SoundScape Renderer + ASDF external

2023-08-01 Thread Matthias Geier
Thanks IOhannes!

I also got the hint about flext/Makefile at the issue
https://github.com/SoundScapeRenderer/ssr/issues/374
I should have searched in our own code base. I was searching in
pd-lib-builder and I was wondering why I didn't find anything. Now I
know.

I have downgraded to 10.9 again in
https://github.com/SoundScapeRenderer/ssr/pull/375

The thing about the dependencies might be a problem, though.

@Alexandre: could you please try the built externals from
https://github.com/SoundScapeRenderer/ssr/actions/runs/5726195519?pr=375
?

cheers,
Matthias

On Tue, Aug 1, 2023 at 1:24 PM IOhannes m zmoelnig  wrote:
>
> On 8/1/23 09:43, Matthias Geier wrote:
>
> > However, I have just noticed that for some reason
> > "-mmacosx-version-min=10.15" gets added to the compiler invocation as well.
>
>
> like that?
> 
>
> also: i think you need the entire dependency chain to be build with the
> proper -mmacosx-version-min.
> that is: if you use dependencies that require a higher
> macosx-version-min, you might be out of luck anyhow:
>  > ld: warning: dylib (/usr/local/lib/libfftw3f.dylib) was built for
> newer macOS version (12.0) than being linked (10.15)
>  > ld: warning: dylib (/usr/local/lib/libsndfile.dylib) was built for
> newer macOS version (12.0) than being linked (10.15)
>  > ld: warning: dylib (/usr/local/lib/libmysofa.dylib) was built for
> newer macOS version (12.0) than being linked (10.15)
>  > ld: warning: dylib (/usr/local/lib/libmpg123.0.dylib) was built for
> newer macOS version (12.0) than being linked (10.15)
>  > ld: warning: dylib (/usr/local/lib/libmp3lame.0.dylib) was built for
> newer macOS version (12.0) than being linked (10.15)
>
> gamsdrf
> 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] [PD-announce] New Externals for the SoundScape Renderer + ASDF external

2023-08-01 Thread IOhannes m zmoelnig

On 8/1/23 09:43, Matthias Geier wrote:


However, I have just noticed that for some reason
"-mmacosx-version-min=10.15" gets added to the compiler invocation as well.



like that?


also: i think you need the entire dependency chain to be build with the 
proper -mmacosx-version-min.
that is: if you use dependencies that require a higher 
macosx-version-min, you might be out of luck anyhow:
> ld: warning: dylib (/usr/local/lib/libfftw3f.dylib) was built for 
newer macOS version (12.0) than being linked (10.15)
> ld: warning: dylib (/usr/local/lib/libsndfile.dylib) was built for 
newer macOS version (12.0) than being linked (10.15)
> ld: warning: dylib (/usr/local/lib/libmysofa.dylib) was built for 
newer macOS version (12.0) than being linked (10.15)
> ld: warning: dylib (/usr/local/lib/libmpg123.0.dylib) was built for 
newer macOS version (12.0) than being linked (10.15)
> ld: warning: dylib (/usr/local/lib/libmp3lame.0.dylib) was built for 
newer macOS version (12.0) than being linked (10.15)


gamsdrf
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list