Hi all,
I am searching for a Pd implementation of a doppler effect as realistic as
possible.
Any recommendations?
Any patch/external already made and well tested?
Cheers
FJ
You missed the discussion because it took place in libpd-land: https://github.com/libpd/libpd/issues/336 <https://github.com/libpd/libpd/issues/336>
It was not a decision taken lightly, but it's necessary as Pd's previous "error()" could conflict with libc "error()". The replacement already existed for sometime, so changing calls to "error(...)" with "pd_error(0, ...)" should be equivalent and not break the external in old versions of Pd.
> On Apr 29, 2022, at 12:00 PM, pd-dev-request(a)lists.iem.at wrote:
>
> Message: 2
> Date: Fri, 29 Apr 2022 09:51:48 +0200
> From: Roman Haefeli <reduzent(a)gmail.com <mailto:reduzent@gmail.com>>
> To: pd-dev(a)lists.iem.at <mailto:pd-dev@lists.iem.at>
> Subject: [PD-dev] error missing in Pd 0.52
> Message-ID: <96224f3ab47171eff50b17d1507974c6d8b13fd5.camel(a)gmail.com <mailto:96224f3ab47171eff50b17d1507974c6d8b13fd5.camel@gmail.com>>
> Content-Type: text/plain; charset="utf-8"
>
> Hey all
>
> Since 0.52, compiling of some externals fails with an error like:
>
> ~~
> binfile.c:103:9: error: implicit declaration of function 'error' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
> error("binfile: Could not create...");
> ~~~
>
> In 0.51-4, the error function was still defined in m_pd.h. Was 'error'
> deprecated in favor of pd_error?
>
> Sorry, if I missed the related discussions, but I feel introducing
> breaking changes in Pd is generally not done lightly. And I found
> similar issues in active developments like aoo, so I'm probably not the
> only one having missed this.
>
> Roman
--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
I just compiled universal Pd on catalina
I had to add the correct -isysroot Cflagshere are the commands I have saved to configure (I'm not sure they're the exact ones I used):
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/./configure CFLAGS="-arch x86_64 -arch arm64 -isysroot $SDKROOT -mmacosx-version-min=10.6" --host aarch64-apple-darwin"
hope it helps-seb
------------------------------
Date: Sat, 30 Apr 2022 21:50:51 -0300
From: Alexandre Torres Porres <porres(a)gmail.com>
To: Dan Wilcox <danomatika(a)gmail.com>
Cc: pd-dev <pd-dev(a)lists.iem.at>
Subject: Re: [PD-dev] [PD] how to compile externals for apple silicon?
Message-ID:
<CAEAsFmhzsxKuUxRrUXrf0Z6xc=JaJ6wrcwQ7AEQhhLL8X9J-zA(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Em qui., 10 de mar. de 2022 ?s 19:57, Dan Wilcox <danomatika(a)gmail.com>
escreveu:
> I have a fork of pd-lib-builder which supports arm64 & universal builds on
> macOS. The PR has been sitting for some time but we have been using it
> successfully for a few projects for some time now:
>
> https://github.com/pure-data/pd-lib-builder/pull/69
>
> To build for arm64, you need a new enough Xcode (12.2 I believe) and
> that's it. You can cross-compile on an x86_64 machine for arm64 and
> vice-versa.
>
So, I now have a partition with Catalina (10.15.7) and Xcode 12.4, which is
the last version catalina accepts.
According to https://developer.apple.com/pt/support/xcode/ I believe 12.1
could have been possible already. 12.5 needs Big Sur. Here's a table from
the link
Vers?o do XcodeSistema operacional m?nimo necess?rioSDKArquiteturaDestinos
de implanta??oSimuladorSwift
Xcode 12.4 macOS Catalina 10.15.4 (Mac com processador Intel)
macOS Big Sur 11
(Mac com Apple Silicon) iOS 14.4
macOS 11.1
tvOS 14.3
watchOS 7.2
DriverKit 20.2 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 9-14.4
iPadOS 13-14.4
macOS 10.9-11.1
tvOS 9-14.3
watchOS 2-7.2
DriverKit 19-20.2
It says it can build for 'arm64' alright, but I tried creating a fat binary
for both intel and M1 as I was doing in my monterey partition and didn't
succeed. I'm using pd-lib-builder, verdsion 6.0, so I did:
make install objectsdir=../ arch="i386 x86_64" extension=d_fat and that
works just fine
but...
make install objectsdir=../ arch="arm64 x86_64" extension=d_fat fails
miserably, this is what I get
*/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2:
**error: **Unsupported architecture*
#error Unsupported architecture
What should I do?
My attempt here is to be able to build a binary for fluidsynth~ that works
for a wide range of OSes
thanks
cheers
> On Mar 10, 2022, at 11:30 PM, pd-dev-request(a)lists.iem.at wrote:
>
> Message: 2
> Date: Thu, 10 Mar 2022 17:57:23 -0300
> From: Alexandre Torres Porres <porres(a)gmail.com>
> To: Sebastian Shader <sebfumaster(a)aol.com>
> Cc: "pd-dev(a)lists.iem.at" <pd-dev(a)lists.iem.at>
> Subject: Re: [PD-dev] [PD] how to compile externals for apple silicon?
> Message-ID:
> <CAEAsFmiUpgiieWwpvM11eyY6kE6bdGiWFqFa8pbvPBjtuaoc4w(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I guess I can install catalina on a partition, but I was hoping to use
> pdlibbuilder in an easy way, is it possible?
>
>
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com
> robotcowboy.com
>
>
>
>