Re: [PD] more features for [file] (Get directory of current patch)

2022-03-25 Thread IOhannes m zmölnig


On 3/25/22 17:31, Alexandre Torres Porres wrote:

Em qui., 24 de mar. de 2022 às 06:48, Antoine Rousseau 
escreveu:


[list split] would accept negative indices (counting from the end)




+10!



yeah, that's great. I have a n external that does that [slice]



yeah. and zexy has [niagara] that does this.
my git history only reaches back to 2002, and it was there back then.

but i was really talking about [list split] here.




yup, this is the issue, when splitting a file with a space, like
*Users/porres/Desktop/rename\
copy.pd*

I get:

  list / Users porres Desktop *list\ rename\ copy.pd*

so for the file name I actually get *symbol list\ rename\ copy.pd*


not for me.
could you please provide a patch that shows this problem (without also 
requiring a copy of your harddisk; that is: the filename-with-space 
should be stored in the patch), and attach it to your bug-report.


gfmds
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


Re: [PD] Compiling cyclone for Darwin-arm6

2022-03-25 Thread Christof Ressi

Ah, yes. Cyclone is a bit special.

At least with the CMake build system you can configure with 
"-DBUILD_SINGLE_LIBRARY=ON" and that will build Cyclone as a single 
binary. I can't see anything equivalent in the pd-lib-builder build 
system, though. You could open a feature request: 
https://github.com/porres/pd-cyclone


Christof

On 26.03.2022 01:40, Philip Stone via Pd-list wrote:


Thanks again, Christof. Trying that, I’m getting this result:

➜  pd-cyclone-master make make-lib-executable=yes arch="arm64 x86_64"

 info: using Makefile.pdlibbuilder version 0.6.0

 info: using Pd API 
/Applications/Pd-0.52-1-arm64.app/Contents/Resources/src/m_pd.h


 info: making target all in lib cyclone

pd-lib-builder/Makefile.pdlibbuilder:815: *** Can not build library 
blob because lib.setup.sources is undefined.  Stop.


I’ve searched for any mention of ‘lib.setup.sources’ and come up 
empty. Can anybody tell me how to set that correctly?


Thanks for your patience, all!

Phil Stone

UC Davis

P.S. My system is up and running on an M1 MacBook, and it is, by my 
very rough estimate, around 3X faster than my system running on x86-64 
Pd. That is, setups which ate nearly all the processor available for 
audio, now don’t go above 33%. I’m **very** happy, and thinking up 
ways to use up this bandwidth bonanza.


Date: Fri, 25 Mar 2022 01:17:02 +0100
From: Christof Ressi >

To:pd-list@lists.iem.at 
Subject: Re: [PD] (no subject)
Message-ID: <98e3752a-6ac1-2a05-abe1-c79375703...@christofressi.com 
>


> Is there a way, using pd-lib-builder, to build the ?unified? library
> for Cyclone?

Do you mean building everything as a single binary (instead of separate
binaries per object)? This can be done with:

$ make make-lib-executable=yes

Christof

> I?m currently working well enough for my own needs, but I?d like to
> supply a deployable library for Deken for cyclone-darwin (including
> arm64), and am not sure how to do that.
>
> Best,
>
> Phil Stone
>
> UC Davis
>
> IOhannes wrote:
>
> >On 3/24/22 15:44, Philip Stone via Pd-list wrote:
>
> >>/Thank you for the pointers. Running ?make? on its own does indeed
> build cyclone, and since I?m doing it on an M1 macbook, it generates
> arm64 executables, and ?install? puts them in ~/lib/cyclone. (? - Is
> that right?), and they actually work!/
>
> >>//
>
> >>/However, I was hoping to generate fat, single-library binaries for
> Deken, and I thought CMake might make that easier. >> I will look into
> the necessary flags for doing it with ?make?./
>
> //
>
> >```
>
> >make arch="arm64 x86_64 i386 ppc"
>
> >```
>
> >leave out the architectures you do not want or know (and those that the
>
> >compiler is not able to produce, which most likely includes all but the
>
> >first two)
>
> >mdfgasd
>
> >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] Compiling cyclone for Darwin-arm6

2022-03-25 Thread Philip Stone via Pd-list
Thanks again, Christof. Trying that, I’m getting this result:

➜  pd-cyclone-master make make-lib-executable=yes arch="arm64 x86_64"
 info: using Makefile.pdlibbuilder version 0.6.0
 info: using Pd API 
/Applications/Pd-0.52-1-arm64.app/Contents/Resources/src/m_pd.h
 info: making target all in lib cyclone
pd-lib-builder/Makefile.pdlibbuilder:815: *** Can not build library blob 
because lib.setup.sources is undefined.  Stop.

I’ve searched for any mention of ‘lib.setup.sources’ and come up empty. Can 
anybody tell me how to set that correctly?

Thanks for your patience, all!


Phil Stone
UC Davis


P.S. My system is up and running on an M1 MacBook, and it is, by my very rough 
estimate, around 3X faster than my system running on x86-64 Pd. That is, setups 
which ate nearly all the processor available for audio, now don’t go above 33%. 
I’m *very* happy, and thinking up ways to use up this bandwidth bonanza.



Date: Fri, 25 Mar 2022 01:17:02 +0100
From: Christof Ressi mailto:i...@christofressi.com>>
To: pd-list@lists.iem.at
Subject: Re: [PD] (no subject)
Message-ID: 
<98e3752a-6ac1-2a05-abe1-c79375703...@christofressi.com>

> Is there a way, using pd-lib-builder, to build the ?unified? library
> for Cyclone?

Do you mean building everything as a single binary (instead of separate
binaries per object)? This can be done with:

$ make make-lib-executable=yes

Christof

> I?m currently working well enough for my own needs, but I?d like to
> supply a deployable library for Deken for cyclone-darwin (including
> arm64), and am not sure how to do that.
>
> Best,
>
> Phil Stone
>
> UC Davis
>
> IOhannes wrote:
>
> >On 3/24/22 15:44, Philip Stone via Pd-list wrote:
>
> >>/Thank you for the pointers. Running ?make? on its own does indeed
> build cyclone, and since I?m doing it on an M1 macbook, it generates
> arm64 executables, and ?install? puts them in ~/lib/cyclone. (? - Is
> that right?), and they actually work!/
>
> >>//
>
> >>/However, I was hoping to generate fat, single-library binaries for
> Deken, and I thought CMake might make that easier. >> I will look into
> the necessary flags for doing it with ?make?./
>
> //
>
> >```
>
> >make arch="arm64 x86_64 i386 ppc"
>
> >```
>
> >leave out the architectures you do not want or know (and those that the
>
> >compiler is not able to produce, which most likely includes all but the
>
> >first two)
>
> >mdfgasd
>
> >IOhannes

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


[PD] [PD-announce] pd 0.52-2 test version 1 released

2022-03-25 Thread Miller Puckette via Pd-announce
To Pd-announce:

Pd version 0.52-2test1 is available from http://msp.ucsd.edu/software.htm
or (source only) via github: https://github.com/pure-data/pure-data

cheers
Miller



___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce

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


Re: [PD] more features for [file] (Get directory of current patch)

2022-03-25 Thread Alexandre Torres Porres
Em qui., 24 de mar. de 2022 às 06:48, Antoine Rousseau 
escreveu:

> [list split] would accept negative indices (counting from the end)
>>
>
> +10!
>

yeah, that's great. I have a n external that does that [slice] and would
gladly remove it for a vanilla solution.


> Le jeu. 24 mars 2022 à 08:16, IOhannes m zmoelnig  a
> écrit :
>
>> i'm not sure i can follow.
>> [file split] always outputs a list, regardless of spaces.
>> ifa filename contains spaces, i here get something like:
>> [list foo\ bar.pd(
>> (that's a "list"-message with a single symbol-atom "foo bar.pd")
>>
>
yeah that's not the issue


> however, i noticed that my unit-tests (that are automatically run on
>> linux, windows and macOS) do not cover splitting files with spaces.
>> so i might have missed some cross-platform thing.
>>
>
yup, this is the issue, when splitting a file with a space, like
*Users/porres/Desktop/rename\
copy.pd*

I get:

 list / Users porres Desktop *list\ rename\ copy.pd*

so for the file name I actually get *symbol list\ rename\ copy.pd*

that seems very high-level to me.
>>
>
I'll insist and say I think it'd be really nice if we could have a [file
seek] object that browses through files in a directory. But anyway, I can
keep using [else/dir] for that.

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


[PD] Fwd: [Baltimore + NYC] 2 workshop opportunities

2022-03-25 Thread Pierre Alexandre Tremblay
Dear all
Sorry for cross-posting. There are two upcoming [free or suggested
donation] workshops on Machine Listening and Machine Learning for Musicking
using the FluCoMa  Toolkit.
Baltimore The Red Room (part of High Zero Foundation) April 5, 2022 6:30pm The
Red Room Room is at Normals Books and Records, 425 E 31st Street,
Baltimore, MD 21218 USA
http://redroom.org/machine-listening-machine-learning-for-music-making-with-flucoma/
New York City Harvestworks Digital Media Arts
April 9 & 10, 2022 Noon-6pm both days Harvestworks is at 596 Broadway Suite
602, New York, NY 10012 USA
https://www.harvestworks.org/april-9-10machine-listening-machine-learning-for-music-making-with-flucoma/
Come along!
p
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list