<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Greg Surges &#187; PD Externals</title>
	<atom:link href="http://gregsurges.com/tag/pd-externals/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregsurges.com</link>
	<description>Computer Musician, Programmer, Hardware Hacker</description>
	<lastBuildDate>Mon, 14 May 2012 19:59:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Write your own Pure Data external! (Part 1)</title>
		<link>http://gregsurges.com/uncategorized/write-your-own-pure-data-external-part-1/</link>
		<comments>http://gregsurges.com/uncategorized/write-your-own-pure-data-external-part-1/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 14:23:27 +0000</pubDate>
		<dc:creator>Greg Surges</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Pure Data]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[PD Externals]]></category>

		<guid isPermaLink="false">http://gregsurges.com/?p=212</guid>
		<description><![CDATA[This document will (hopefully) serve as an easy to read and understand introduction to the process of writing an external for Pure Data. Pure Data, or PD, is a visual programming environment designed for real-time computer music applications. PD is open-source software, under the BSD license, and expansion of the software in the form of [...]]]></description>
			<content:encoded><![CDATA[<p>This document will (hopefully) serve as an easy to read and understand introduction to the process of writing an external for Pure Data. Pure Data, or PD, is a visual programming environment designed for real-time computer music applications. PD is open-source software, under the BSD license, and expansion of the software in the form of externals is strongly encouraged.</p>
<p>PD and its externals are written in the C programming language. When PD is running an external, it makes no distinction between the ‘core’ functionality and the external code. There are hundreds of user-written externals freely available for use and study. As you learn to write externals yourself, I strongly encourage studying other people’s code. For example, I learned about timing issues from studying the “pipe” object.</p>
<p>To get started coding an external, you’ll need a text editor. I use <a href="http://www.barebones.com/products/TextWrangler/">Textwrangler</a>, but there are a few good, free editors out there. Get one with syntax highlighting. You&#8217;ll also need to install GCC, the Gnu C Compiler, and Make. If you&#8217;re on OS X, you can just install Apple&#8217;s XCode Developer Tools, and you&#8217;ll have both of these programs installed. I&#8217;m going to assume some knowledge of using the command line here, so I won&#8217;t explain how to use GCC or run Make. (Hint: type &#8220;make&#8221;.) You&#8217;ll also need an installation of PD, so that you can link and run your externals.</p>
<p>In the next post, I&#8217;ll talk about the basic concepts and chunks of code that you&#8217;ll need to write your external.</p>
]]></content:encoded>
			<wfw:commentRss>http://gregsurges.com/uncategorized/write-your-own-pure-data-external-part-1/feed/</wfw:commentRss>
		<slash:comments>172</slash:comments>
		</item>
	</channel>
</rss>

