I answer back on the list...

I think I did not compile it in the last 10 years, but A.villeret did and he 
use github magic to compile it on various platform.

code is here :
https://github.com/ch-nry/pd_shmem

updating this file will certainly do the job for a mac arm64, but I don't have 
time to look at it for now:
https://github.com/ch-nry/pd_shmem/blob/main/.github/workflows/build-pd-externals.yml

cheers
C


-------- Message transféré --------
Sujet :         Re: [PD] Shared memory for [pd~] processes
Date :  Wed, 1 Feb 2023 18:13:31 +0000
De :    Phil Stone <pksmu...@gmail.com>
Pour :  cyrille henry <c...@chnry.net>



Hi Cyrille,

Sorry to bother you again, but am I correct that shmem is not available for Mac 
arm64?

May I be of use in compiling it for that architecture, and if so, could you 
point me to the code repository?

Phil

*From: *Phil Stone <pksmu...@gmail.com>
*Date: *Wednesday, February 1, 2023 at 9:24 AM
*To: *cyrille henry <c...@chnry.net>, pd-list@lists.iem.at 
<Pd-list@lists.iem.at>
*Subject: *Re: [PD] Shared memory for [pd~] processes

Oh, that’s fantastic. Thanks, Cyrille (and William)!

Phil

*From: *Pd-list <pd-list-boun...@lists.iem.at> on behalf of cyrille henry 
<c...@chnry.net>
*Date: *Wednesday, February 1, 2023 at 9:18 AM
*To: *pd-list@lists.iem.at <Pd-list@lists.iem.at>
*Subject: *Re: [PD] Shared memory for [pd~] processes

Hello Phil,

shmem have been develop for this purpose, and it still works great for this 
purpose...

I think you can install it from deken.

Cheers
C


Le 01/02/2023 à 17:56, Phil Stone a écrit :
Hello everyone,

I’ve converted my old ‘polywavesynth’ to being able to spawn a new [pd~] 
process for its voice management, and that’s working really well. I can see the 
load spread to other cores for multiple synthesizers, and after working out 
some bugs, I’m really happy  with this new capability.

I have another old synthesizer, ‘polygrainsynth’ I’d like to modify similarly. 
It has a large array which is displayed (and can be edited) in the top-level 
process. The array is used by the individual voices, which would be in a 
subprocess. Is there a way  to share that array between the parent process and 
the sub-[pd~] process?

I searched the archives and found mention of ‘share-mem’ by Cyrille Henry back in 2012:  
https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html> 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html 
<https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html>> but I can’t find 
any other mention of it.

Best,

Phil

Phil Stone

Davis, California USA


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list 
<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 
<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

Reply via email to