#Creating Pure Data Externals in C (2016)
##with Rafael Hernandez
###How to use the project files
- Setup your development environment so it will compile Pure Data externals
- Remember to import the
m_pd.h
file from the "src" folder in the Pure Data repository; - See the videos below on setting up your development environment or compiler in Xcode, Code::Blocks, or Linux
- Remember to import the
- Download the corresponding project file according to the table below
- Copy the contents of the file and paste into your working c file
###Table of Contents
Lesson | Source code |
---|---|
00. Introduction | N/A |
01. Configuring Xcode for development | N/A |
02. Writing setup and initializer code | 02-setup-initialize.polybang.c |
03. Initializing arguments | 03-initialize-arguments.polybang.c |
04. Responding to bangs | 04-responding-bangs.polybang.c |
05. Creating outlets | 05-creating-outlets.polybang.c |
06. Creating additional inlets | 06-creating-inlets.polybang.c |
07. Responding to messages and lists | 07-messages-lists.polybang.c |
08. Writing the logic for counting bangs | 08-writing-logic.polybang.c |
09. Linking the "-help" patch | 09-linking-helper.polybang.c |
10. Configuring Code::Blocks (PC) | polybang.c |
11. Compiling with pd-lib-builder (Linux) | polybang.c |
###Pd Patch
The final main.pd
and polybang-help.pd
patches are in the test-pd
folder. As well, you'll find builds [polybang]
like so:
Platform | File |
---|---|
OS X | polybang.pd_darwin |
Windows | polybang.dll |
Linux | polybang.pd_linux |
###License
See LICENSE.txt in this folder.