Im looking to create some pure data externals for a number of platforms, including mac/windows/linux (arm,x86_32 ,x86_64)… including bela, rPI etc.
Ive created max externals before so hopefully not too painful
but I’m a bit confused about the projects setup. with Max, Cycling provide a template, but for PD, Im seeing that there seem to be multiple template projects for building
these include:
as i say, my aim is for something cross-platform and currently ‘supported’/used by PD projects…
seems to me pd-lib-builder is the most current?
I guess, Id also like to be able to perhaps push to deken later… but currently I don’t know much about that.
also how do i supports multiple arch… e.g. i see some are naming linux externals as ext~.pd_linux, but thats not going to work with when i have 64/32 x86 and arm linux binaries, similarly, are macOS externals always universal binaries?
thanks for any pointers…
btw: in an external (C/C++) , whats the simplest way to get the sample rate?
EDIT:
for now I’m going pd-lib-builder, which ive also forked to add ‘bela’ detection for. (I’ll submit a PR once complete)
sample rate, easy t_signal.s_sr = sample rate. (m_pd.h has lots of useful stuff in it ;))
so now got my first external running on both macOS and Bela.
… its pretty similar to the max external api, so once I worked got over by PD issues (Im a total newbie at PD) , was pretty straightforward.