<?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>The Strange Agency</title>
	<atom:link href="http://thestrangeagency.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thestrangeagency.com</link>
	<description></description>
	<lastBuildDate>Mon, 01 Oct 2012 13:52:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>iOS 666</title>
		<link>http://thestrangeagency.com/ios-666/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ios-666</link>
		<comments>http://thestrangeagency.com/ios-666/#comments</comments>
		<pubDate>Mon, 01 Oct 2012 13:52:51 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=1123</guid>
		<description><![CDATA[We&#8217;ve had a most beastly revelation: iOS 6 breaks pretty much every one of our apps. If you&#8217;re using the apps in a critical context (upcoming performance anyone?), you might want to refrain from updating your device. We&#8217;re working on a fix, but it will take a moment to slog it all through Apple&#8217;s approval<a href="http://thestrangeagency.com/ios-666/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve had a most beastly revelation: iOS 6 breaks pretty much every one of our apps. If you&#8217;re using the apps in a critical context (upcoming performance anyone?), you might want to refrain from updating your device. We&#8217;re working on a fix, but it will take a moment to slog it all through Apple&#8217;s approval queue. Check back here for updates, and thanks for being patient!</p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/ios-666/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>ExtraSlice Promo Pricing Last Chance</title>
		<link>http://thestrangeagency.com/extraslice-pricing-last-chance/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=extraslice-pricing-last-chance</link>
		<comments>http://thestrangeagency.com/extraslice-pricing-last-chance/#comments</comments>
		<pubDate>Sat, 04 Aug 2012 19:12:23 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=1116</guid>
		<description><![CDATA[The $.99 special promo price for ExtraSlice is ending Monday. You&#8217;ve got through the weekend to get yours on the cheap!]]></description>
				<content:encoded><![CDATA[<p>The $.99 special promo price for <a title="ExtraSlice" href="http://thestrangeagency.com/iphone/#app-extraslice">ExtraSlice</a> is ending Monday. You&#8217;ve got through the weekend to <a title="Buy that thing!" href="http://itunes.apple.com/us/app/extraslice/id539190221?mt=8">get yours on the cheap</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/extraslice-pricing-last-chance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExtraSlice Released</title>
		<link>http://thestrangeagency.com/extraslice-released/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=extraslice-released</link>
		<comments>http://thestrangeagency.com/extraslice-released/#comments</comments>
		<pubDate>Thu, 26 Jul 2012 16:51:43 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=1110</guid>
		<description><![CDATA[We&#8217;ve been looking forward to getting this one out for a while. After a lot of massage and tweaking, ExtraSlice is finally out on the app store! It&#8217;s definitely derived from the older Slice, but it adds a lot of new techniques, so do check out this intro video to get a feel for the control scheme.<a href="http://thestrangeagency.com/extraslice-released/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve been looking forward to getting this one out for a while. After a lot of massage and tweaking, <a title="ExtraSlice" href="http://thestrangeagency.com/iphone/#app-extraslice">ExtraSlice</a> is finally out on the app store! It&#8217;s definitely derived from the older Slice, but it adds a lot of new techniques, so do <a title="ExtraSlice intro" href="http://www.youtube.com/watch?v=ff9QuglA4l0" target="_blank">check out this intro video</a> to get a feel for the control scheme.</p>
<p>Oh, and <a title="Buy! Buy! Buy! Buy! Buy!" href="http://itunes.apple.com/us/app/extraslice/id539190221?mt=8" target="_blank">it&#8217;s $.99 for the moment</a>, so get yours today!</p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/extraslice-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Strange Space for Spunk</title>
		<link>http://thestrangeagency.com/strange-space-for-spunk/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=strange-space-for-spunk</link>
		<comments>http://thestrangeagency.com/strange-space-for-spunk/#comments</comments>
		<pubDate>Sat, 30 Jun 2012 18:02:12 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Spunk]]></category>
		<category><![CDATA[Synthesizer]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=1103</guid>
		<description><![CDATA[The LA Design Festival comes to Chinatown from 6 to 9 this evening, and I&#8217;ll be showing off Spunk in our studio at 978 Chung King Road. Stop by, have a listen, play with Spunk! If you can&#8217;t make it, you can still download the beta. &#160;]]></description>
				<content:encoded><![CDATA[<p>The LA Design Festival comes to Chinatown from 6 to 9 this evening, and I&#8217;ll be showing off <a title="Spunk" href="http://thestrangeagency.com/more-free-spunk/">Spunk</a> in our studio at 978 Chung King Road. Stop by, have a listen, play with Spunk! If you can&#8217;t make it, you can still <a title="Get Spunky" href="http://thestrangeagency.com/an/app/called/Spunk-015.zip">download the beta</a>.</p>
<p><a href="http://thestrangeagency.com/wp-content/uploads/spunk.png"><img class="alignleft size-medium wp-image-1104" title="Spunk" src="http://thestrangeagency.com/wp-content/uploads/spunk-300x192.png" alt="Spunk" width="300" height="192" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/strange-space-for-spunk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MegaCurtis FREE</title>
		<link>http://thestrangeagency.com/megacurtis-free/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=megacurtis-free</link>
		<comments>http://thestrangeagency.com/megacurtis-free/#comments</comments>
		<pubDate>Fri, 04 May 2012 19:28:06 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Curtis]]></category>
		<category><![CDATA[CurtisHeavy]]></category>
		<category><![CDATA[MegaCurtis]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Synthesizer]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=936</guid>
		<description><![CDATA[They said it was only a matter of time. They were right. The Curtis saga continues with the release of MegaCurtis FREE. This version brings the MegaCurtis multi-voice, audio-paste, longer-recording, dynamic-keyboard glory to your iPhone 3GS, 4, and 4S for nothing! &#160; But wait, there&#8217;s more: Curtis Heavy has been transmogrified into MegaCurtis FREE, so<a href="http://thestrangeagency.com/megacurtis-free/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>They said it was only a matter of time. They were right. The Curtis saga continues with the release of <a href="http://itunes.apple.com/app/megacurtis-free/id317498757?mt=8" title="MegaCurtis FREE on the App Store">MegaCurtis FREE</a>. This version brings the MegaCurtis multi-voice, audio-paste, longer-recording, dynamic-keyboard glory to your iPhone 3GS, 4, and 4S for nothing! </p>
<p>&nbsp;</p>
<p>But wait, there&#8217;s more: Curtis Heavy has been transmogrified into MegaCurtis FREE, so those of you that already own Curtis Heavy need only update to get this slew of new features. (Did we mention slew? There&#8217;s now portamento in every copy!) Also, to keep change-averse Curtis Heavy customers from getting grumpy, both the free and paid versions of MegaCurtis now also get a pitch-control mode (optionally activated in the settings panel in the paid version) that mimics the horizontal-swipe-to-pitch (i.e. grain size) mapping of Curtis Heavy. We hope this makes everyone feel that they&#8217;ve only gained!</p>
<p>&nbsp;</p>
<p>Switching to the <a href="http://itunes.apple.com/us/app/megacurtis/id504331059?mt=8">paid version</a> gives you these added features:</p>
<p>&nbsp;</p>
<p>• MIDI input<br />
• Performance recording (record and share your MegaCurtis jams)<br />
• Modal Scales (cool keyboard presets)<br />
• Low-pass filter<br />
• Echo<br />
• Position modulation<br />
• Position jitter<br />
• Unique wave keyboard mode (play keys while touching the recording)<br />
• Grain jitter<br />
• Grain overlap control with modulation</p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/megacurtis-free/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Strange MIDI in HyperSpace</title>
		<link>http://thestrangeagency.com/strange-midi-in-hyperspace/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=strange-midi-in-hyperspace</link>
		<comments>http://thestrangeagency.com/strange-midi-in-hyperspace/#comments</comments>
		<pubDate>Wed, 02 May 2012 16:40:58 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[HyperSpace]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Synthesizer]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=911</guid>
		<description><![CDATA[HyperSpace 1.1 was just released, adding MIDI input and VGA output. Now you can control HyperSpace with your MIDI keyboard or DAW, and you can send just the visualization graphics to a TV or projector. It&#8217;s an instant VJ setup! Just add an Apple VGA output cable. Both MIDI and VGA support are new to<a href="http://thestrangeagency.com/strange-midi-in-hyperspace/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p><a title="HyperSpace on the AppStore" href="http://itunes.apple.com/app/hyperspace/id516000628?mt=8" target="_blank">HyperSpace 1.1</a> was just released, adding MIDI input and VGA output. Now you can control HyperSpace with your MIDI keyboard or DAW, and you can send just the visualization graphics to a TV or projector. It&#8217;s an instant VJ setup! Just add an Apple VGA output cable. Both MIDI and VGA support are new to us, so please comment away below with your feature requests and suggestions. A map of MIDI parameters can be found on the <a title="HyperSpace" href="http://thestrangeagency.com/products/hyperspace/">HyperSpace page</a>. Portamento (slew or glide to some of you) has also been added for a more smoothed-out sci-fi sound. See it in action:</p>
<br />
<iframe width="420" height="315" src="http://www.youtube.com/embed/UfE9Xo-M_nE?rel=0" frameborder="0" allowfullscreen></iframe><br />

]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/strange-midi-in-hyperspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mega Update, MegaCurtis 1.3</title>
		<link>http://thestrangeagency.com/mega-update-megacurtis-1-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mega-update-megacurtis-1-3</link>
		<comments>http://thestrangeagency.com/mega-update-megacurtis-1-3/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 16:45:29 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Curtis]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[MegaCurtis]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Synthesizer]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=859</guid>
		<description><![CDATA[The latest MegaCurtis update has gone live at the App Store. It adds a slew of new features, making the app more fun, more playable, and more strange. There are now selectable scales and modes, a fat key option for those of us with fat fingers, and there&#8217;s a new wave keyboard overlay mode that<a href="http://thestrangeagency.com/mega-update-megacurtis-1-3/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>The latest MegaCurtis update has gone live at the <a href="http://itunes.apple.com/app/megacurtis/id504331059?mt=8" title="Buy!">App Store</a>. It adds a slew of new features, making the app more fun, more playable, and more strange. There are now selectable scales and modes, a fat key option for those of us with fat fingers, and there&#8217;s a new wave keyboard overlay mode that lets you play by touching the wave, selecting pitch and granulation position simultaneously, with four-voice multi-touch. Check out the video below to see it in action!</p>
<p><br/></p>
<p><object width="320" height="240"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=39604000&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=1&amp;loop=0" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=39604000&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=1&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="320" height="240"></embed></object>
<p><a href="http://vimeo.com/39604000">MegaCurtis v 1.3</a> from <a href="http://vimeo.com/tsa">strange agency</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br/></p>
<ul>
<li>Selectable keyboard scales for easier jams</li>
<li>All new keyboard overlay mode</li>
<li>Fat keys option for easier keyboard playing</li>
<li>Fixes voice assignment glitch</li>
<li>Fixes occasional deallocation of source sound</li>
<li>Adds some default sounds</li>
<li>Activates iTunes file sharing</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/mega-update-megacurtis-1-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MegaCurtis, more Mega</title>
		<link>http://thestrangeagency.com/megacurtis-more-mega/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=megacurtis-more-mega</link>
		<comments>http://thestrangeagency.com/megacurtis-more-mega/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 02:23:55 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Audio Apps]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[MegaCurtis]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Synthesizer]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=857</guid>
		<description><![CDATA[Version 1.2 of MegaCurtis just dropped at the App Store. The previous update gave us iPhone 3GS (and iPad) compatibility as well as a vocoder-like live granulation mode. Now MegaCurtis adds new visuals and an improved control interface. A single touch will control granulation position and filter cutoff, while a second touch lets you drag<a href="http://thestrangeagency.com/megacurtis-more-mega/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>Version 1.2 of <a href="http://itunes.apple.com/app/megacurtis/id504331059?mt=8" title="MegaCurtis at the App Store">MegaCurtis</a> just dropped at the App Store. The previous update gave us iPhone 3GS (and iPad) compatibility as well as a vocoder-like live granulation mode. Now MegaCurtis adds new visuals and an improved control interface. A single touch will control granulation position and filter cutoff, while a second touch lets you drag position modulation rate and depth settings. This setup is far more expressive than that of the previous version, but do drop a note below if you&#8217;d like to see a different control scheme.</p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/megacurtis-more-mega/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Arcball rotation with GLKit</title>
		<link>http://thestrangeagency.com/arcball-rotation-with-glkit/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=arcball-rotation-with-glkit</link>
		<comments>http://thestrangeagency.com/arcball-rotation-with-glkit/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 22:49:16 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Source]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=838</guid>
		<description><![CDATA[A while back Apple finally added some basic 3d classes with GLKit. They included vectors, matrices, and even quaternions. Awesome! Time to do some arcball rotation! Well, I googled myself silly and couldn&#8217;t dig up a single sample of using these classes to do a simple object rotation. There are tons of articles about quaternions,<a href="http://thestrangeagency.com/arcball-rotation-with-glkit/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>A while back Apple finally added some basic 3d classes with GLKit. They included vectors, matrices, and even <a href="http://developer.apple.com/library/ios/#DOCUMENTATION/GLkit/Reference/GLKQuaternion/Reference/reference.html" title="GLKQuaternion Reference">quaternions</a>. Awesome! Time to do some arcball rotation! Well, I googled myself silly and couldn&#8217;t dig up a single sample of using these classes to do a simple object rotation. There are tons of articles about quaternions, gimbal lock, SLERP, and so forth, but I couldn&#8217;t locate a basic iOS arcball example. The clearest code I could find is <a href="http://www.idevgames.com/articles/quaternions" title="iDevGames">here</a>, but it&#8217;s straight C and uses its own Vector and Matrix classes. Arguably straight C can be faster, but wouldn&#8217;t it be great to get this all nice and Objective? Well, below is a simple snippet based on the above that uses GLKit. You can plug this right into the Xcode OpenGL Game template, et voila.<br />
<br/></p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">&nbsp;
<span style="color: #6e371a;">#define RADIANS_PER_PIXEL (M_PI / 320.f)</span>
&nbsp;
<span style="color: #11740a; font-style: italic;">/**
 * do this in viewDidLoad
 *
 * these are class variables:
&nbsp;
	CGPoint iniLocation;
	GLKQuaternion quarternion;
&nbsp;
 */</span>
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> initArcBall
<span style="color: #002200;">&#123;</span>
	quarternion <span style="color: #002200;">=</span> GLKQuaternionMake<span style="color: #002200;">&#40;</span><span style="color: #2400d9;">0</span>.f, <span style="color: #2400d9;">0</span>.f, <span style="color: #2400d9;">0</span>.f, <span style="color: #2400d9;">1</span>.f<span style="color: #002200;">&#41;</span>;
	iniLocation <span style="color: #002200;">=</span> CGPointMake<span style="color: #002200;">&#40;</span><span style="color: #2400d9;">0</span>.f, <span style="color: #2400d9;">0</span>.f<span style="color: #002200;">&#41;</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #11740a; font-style: italic;">/**
 * do this in update
&nbsp;
 // skip auto rotation
 //baseModelViewMatrix = GLKMatrix4Rotate(baseModelViewMatrix, _rotation, 0.0f, 1.0f, 0.0f);
&nbsp;
 // rotate with quaternion instead
 [self rotateMatrixWithArcBall:&amp;baseModelViewMatrix];
&nbsp;
 */</span>
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> rotateMatrixWithArcBall<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>GLKMatrix4 <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>matrix
<span style="color: #002200;">&#123;</span>
	GLKVector3 axis <span style="color: #002200;">=</span> GLKQuaternionAxis<span style="color: #002200;">&#40;</span>quarternion<span style="color: #002200;">&#41;</span>;
	<span style="color: #a61390;">float</span> angle <span style="color: #002200;">=</span> GLKQuaternionAngle<span style="color: #002200;">&#40;</span>quarternion<span style="color: #002200;">&#41;</span>;
	<span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span> angle <span style="color: #002200;">!=</span> <span style="color: #2400d9;">0</span>.f <span style="color: #002200;">&#41;</span>
		<span style="color: #002200;">*</span>matrix <span style="color: #002200;">=</span> GLKMatrix4Rotate<span style="color: #002200;">&#40;</span><span style="color: #002200;">*</span>matrix, angle, axis.x, axis.y, axis.z<span style="color: #002200;">&#41;</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #11740a; font-style: italic;">// ------------------------------------------------------------------------------------------</span>
&nbsp;
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> rotateQuaternionWithVector<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>CGPoint<span style="color: #002200;">&#41;</span>delta
<span style="color: #002200;">&#123;</span>
	GLKVector3 up <span style="color: #002200;">=</span> GLKVector3Make<span style="color: #002200;">&#40;</span><span style="color: #2400d9;">0</span>.f, <span style="color: #2400d9;">1</span>.f, <span style="color: #2400d9;">0</span>.f<span style="color: #002200;">&#41;</span>;
	GLKVector3 right <span style="color: #002200;">=</span> GLKVector3Make<span style="color: #002200;">&#40;</span><span style="color: #002200;">-</span><span style="color: #2400d9;">1</span>.f, <span style="color: #2400d9;">0</span>.f, <span style="color: #2400d9;">0</span>.f<span style="color: #002200;">&#41;</span>;
&nbsp;
	up <span style="color: #002200;">=</span> GLKQuaternionRotateVector3<span style="color: #002200;">&#40;</span> GLKQuaternionInvert<span style="color: #002200;">&#40;</span>quarternion<span style="color: #002200;">&#41;</span>, up <span style="color: #002200;">&#41;</span>;
	quarternion <span style="color: #002200;">=</span> GLKQuaternionMultiply<span style="color: #002200;">&#40;</span>quarternion, GLKQuaternionMakeWithAngleAndVector3Axis<span style="color: #002200;">&#40;</span>delta.x <span style="color: #002200;">*</span> RADIANS_PER_PIXEL, up<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>;
&nbsp;
	right <span style="color: #002200;">=</span> GLKQuaternionRotateVector3<span style="color: #002200;">&#40;</span> GLKQuaternionInvert<span style="color: #002200;">&#40;</span>quarternion<span style="color: #002200;">&#41;</span>, right <span style="color: #002200;">&#41;</span>;
	quarternion <span style="color: #002200;">=</span> GLKQuaternionMultiply<span style="color: #002200;">&#40;</span>quarternion, GLKQuaternionMakeWithAngleAndVector3Axis<span style="color: #002200;">&#40;</span>delta.y <span style="color: #002200;">*</span> RADIANS_PER_PIXEL, right<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> touchesBegan<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #400080;">NSSet</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>touches withEvent<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UIEvent <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>event
<span style="color: #002200;">&#123;</span>
	UITouch <span style="color: #002200;">*</span>touch <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>touches anyObject<span style="color: #002200;">&#93;</span>;
	CGPoint location <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>touch locationInView<span style="color: #002200;">:</span>self.view<span style="color: #002200;">&#93;</span>;
&nbsp;
	iniLocation <span style="color: #002200;">=</span> location;	
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> touchesMoved<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #400080;">NSSet</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>touches withEvent<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UIEvent <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>event
<span style="color: #002200;">&#123;</span>
	UITouch <span style="color: #002200;">*</span>touch <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>touches anyObject<span style="color: #002200;">&#93;</span>;
	CGPoint location <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>touch locationInView<span style="color: #002200;">:</span>self.view<span style="color: #002200;">&#93;</span>;
&nbsp;
	<span style="color: #11740a; font-style: italic;">// get touch delta</span>
	CGPoint delta <span style="color: #002200;">=</span> CGPointMake<span style="color: #002200;">&#40;</span>location.x <span style="color: #002200;">-</span> iniLocation.x, <span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span>location.y <span style="color: #002200;">-</span> iniLocation.y<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>;
	iniLocation <span style="color: #002200;">=</span> location;
&nbsp;
	<span style="color: #11740a; font-style: italic;">// rotate</span>
	<span style="color: #002200;">&#91;</span>self rotateQuaternionWithVector<span style="color: #002200;">:</span>delta<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/arcball-rotation-with-glkit/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Introducing MegaCurtis for iPhone 4 and 4s</title>
		<link>http://thestrangeagency.com/introducing-megacurtis/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=introducing-megacurtis</link>
		<comments>http://thestrangeagency.com/introducing-megacurtis/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 22:38:02 +0000</pubDate>
		<dc:creator>lucas</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[MegaCurtis]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Synthesizer]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://thestrangeagency.com/?p=826</guid>
		<description><![CDATA[Today we launch the latest iteration of the Curtis granular synth series, MegaCurtis for the iPhone. The app was completely rewritten for better performance, longer recording time, session recording, polyphony, Retina display and more! We&#8217;ve added jitter, LFOs, amp envelope control, and even a proper keyboard. See it in action at http://www.youtube.com/thestrangeagency More awesome features<a href="http://thestrangeagency.com/introducing-megacurtis/" class="cta"> Read more…</a>]]></description>
				<content:encoded><![CDATA[<p>Today we launch the latest iteration of the Curtis granular synth series, <a href="http://itunes.apple.com/app/megacurtis/id504331059?mt=8" title="Buy at the App Store">MegaCurtis for the iPhone</a>. The app was completely rewritten for better performance, longer recording time, session recording, polyphony, Retina display and more! We&#8217;ve added jitter, LFOs, amp envelope control, and even a proper keyboard.<br />
<br/></p>
<p>See it in action at <a href="http://www.youtube.com/thestrangeagency" title="The Strange Agency on Youtube">http://www.youtube.com/thestrangeagency</a><br />
<br/></p>
<p>More awesome features are on their way to the app store as free updates, but the launch version is only <strong>$.99 for a limited time</strong>. So, save a few bucks and get your tweak started early.<br />
<br/></p>
<p>If you haven&#8217;t yet, grab <a href="http://itunes.apple.com/us/app/curtis-heavy-granular-synthesizer/id317498757?mt=8" title="Curtis Heavy free at the App Store">Curtis Heavy</a> for free to get a taste of the sound. Record vocals, drums, guitar, or even your cats, and turn them into synthesizers!<br />
<br/></p>
<p><iframe width="320" height="192" src="http://www.youtube.com/embed/2QdiPApXob8" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://thestrangeagency.com/introducing-megacurtis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
