Ha ha - good question. I thought I'd post this to list as well 'cos I've been on a bit or a learning curve myself the past couple of days writing these two objects and I could have done with these links:
First of all read:
http://www.music.mcgill.ca/~theo/html/audio/audio.htm http://iem.kug.ac.at/pd/externals-HOWTO/ and the Max/Msp externals manual from the SDK - available from Cycling74 (free download).
Then your next best bet is the source code - the PD source is full of objects that are pretty clear and use most of the features.
The last resort if that don't help is this list I guess - Miller has been very helpful answering my questions.
The best way to build is to copy a makefile - use mine and open it in VC6 - open workspace, change the file selector to all files and open the makefile - you can build it in VC6 but you have to edit it as a file rather than using the VC6 environment. You can still add files etc. though. I got my makefile by editing the PD one.
Jump right in though -I built both these objects today and only spent yesterday afternoon learning stuff - its not as hard as it might seem at first.
Although PD externs are built in C they are built using a very object oriented approach.
anymore questions give us a shout
cheers
mark
-----Original Message----- From: joge . [mailto:gboy@nycap.rr.com] Sent: 29 January 2002 17:55 To: mark@junklight.com Subject: Re: [PD] New Externs
hi ,
i saw your post on the pd list and thought you might know where i can find some information about how to compile externals on a windows machine for pd . i have knowledge of programming, though i am not that familiar with pds "externals" architecture . i have read that externals for pd is similar as those for max/msp, however i dont have a mac .
thanks .
joge .
----- Original Message ----- From: "mark" mark@junklight.com To: pd-list@iem.kug.ac.at Sent: Tuesday, January 29, 2002 12:30 PM Subject: [PD] New Externs
I have been making some objects that I wanted and thought I would make them available. You can get the library here - there
is a readme
inside. I will put a proper webpage up for it very soon.
www.junklight.com/january02/pd/mjLib.zip
There are currently two objects:
pin~ - randomly delivers the input signal to either the
right or left
outlet with a given probability metroplus - allows complex timing bangs to be delivered
It should compile under linux with minimal work (just
#ifdef'ing includes I
reckon) but I haven't got a linux box with a build environment on it to hand right now.
More objects comming soon.
cheers
mark