<?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>ArKaos Blog &#187; quartz</title>
	<atom:link href="http://www.arkaos.net/blog/tag/quartz/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arkaos.net/blog</link>
	<description>The corporate blog of ArKaos, a leader in technology for live visual performances.</description>
	<lastBuildDate>Tue, 15 Nov 2011 09:06:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How To: Add Quartz-Composer Effects to MediaMaster</title>
		<link>http://www.arkaos.net/blog/2010/08/tips/quartz-composer-mediamaster/</link>
		<comments>http://www.arkaos.net/blog/2010/08/tips/quartz-composer-mediamaster/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 13:43:11 +0000</pubDate>
		<dc:creator>Gorgull</dc:creator>
				<category><![CDATA[Hints & Tips]]></category>
		<category><![CDATA[dmx]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mediamaster]]></category>
		<category><![CDATA[quartz]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.arkaos.net/blog/?p=1336</guid>
		<description><![CDATA[Since version 1.2, ArKaos MediaMaster Pro supports Apple's Quartz-Composer technology. In this tutorial we will demonstrate how to use your own Quartz-Composer Effects in MediaMaster Pro.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-891" title="Quartz Composer" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/quartzcomposer-300x300.png" alt="Quartz Composer" width="170" height="170" />Since version 1.2, ArKaos MediaMaster supports Apple&#8217;s Quartz-Composer technology. Depending on its configuration, a Quartz composition can be either a Visual or an Effect in MediaMaster Pro.</p>
<p>In this tutorial we will demonstrate how to add your own Quartz-Composer Effects in MediaMaster.</p>
<h5 style="padding-left: 30px;">Remark:</h5>
<p style="padding-left: 30px;">Check out the article &#8220;<a title="How To: Create audio-reactive effects for GrandVJ with Quartz Composer" href="http://www.arkaos.net/blog/2010/02/tips/audio-reactive-effects-grandvj-quartz/">How to: Create audio-reactive effects for GrandVJ using Quartz-Composer</a>&#8221; for more details about the creation of Quartz-Composer effects. You will also find lots of resources and how-to&#8217;s for Quartz Composer on the web or in the Reference Library from the <a title="Mac Dev Center" href="http://developer.apple.com/mac/" target="_blank">Mac Dev Center</a>.</p>
<h5>Simple Mode (MediaMaster Express and Pro) and Fixture Mode (MediaMaster Pro)</h5>
<p>It&#8217;s easy to add Quartz effects in MediaMaster 2.0 when in Simple Mode, but in Fixture Mode effect presets are defined within the layer fixture and these fixture files shouldn&#8217;t be modified in any circumstances. As a consequence, to make use of new effects we have to add a new custom layer fixture that will include new effect presets..<span id="more-1336"></span></p>
<p>In order to do so, we will first copy some new files to the user’s local MediaMaster resources, where the MediaMaster Library is located:</p>
<ol>
<li>Download the following file &#8220;<a title="MediaMasterProQuartzComposerEffectsResources.zip" href="http://www.arkaos.net/blog/wp-content/uploads/2010/08/MediaMasterQuartzComposerEffectsResources.zip">MediaMasterQuartzComposerEffectsResources.zip</a>&#8220;, then copy it to &#8220;/Users/MyAccount/Library/Application Support/ArKaos/MediaMaster/&#8221;.</li>
<li>Decompress the zip file by double clicking on it. Two new directories should have been added:
<ul>
<li>&#8220;MMFixtures/Layer/&#8221; contains a custom layer fixture file.</li>
<li>&#8220;Quartz-Composer/Effects/&#8221; contains two new Quartz-Composer effect files: “MyBassZoomBlur.qtz” and &#8220;MyKaleidoscope.qtz&#8221;</li>
</ul>
</li>
</ol>
<p><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/08/SimpleMode.png" rel="shadowbox[sbpost-1336];player=img;"><img class="size-full wp-image-1349 alignright" title="SimpleMode" src="http://www.arkaos.net/blog/wp-content/uploads/2010/08/SimpleMode.png" alt="SimpleMode" width="215" height="119" /></a></p>
<p style="text-align: left;">At this point, those new Quartz effects will be available from the menus in MediaMaster 2.0 when in Simple Mode, continue reading further to learn how to use them with MediaMaster in Fixture Mode.</p>
<h5>Adding a new custom layer fixture</h5>
<p>Open the file &#8220;MMFixtures/Layer/MyCustomLayerFixture.xml&#8221; using any text editing software, we will look at how it is made in order to understand how to add new effect presets in a custom fixture. This file is a slightly modified version of the original MediaMaster Pro &#8220;Layer Fixture 1.1&#8243;, it contains some extra effect presets.</p>
<p>This files defines the DMX channel assignments and the effect presets libraries that we&#8217;ll focus on.</p>
<p>The first line of the file defines the name of the fixture, as it will appear in MediaMaster Pro preferences dialog. This name must be different from the other fixtures.</p>
<p>At the very bottom of the XML document, fixture effect library 11 contains four new effect presets.</p>
<p>You may have noticed that the Quartz-Composer effect “MyKaleidoscope.qtz” appears in three presets with different parameters.</p>
<p>An effect preset is basically defined by an index, a name, an effect and a set of effect parameters. An effect can be used in several different presets and even different libraries with different parameters setup.</p>
<p>In a preset, each effect parameter can be either a fixed value or a variable that corresponds to one of the four effect controllers available in MediaMaster Pro.</p>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/08/MyCustomLayerFixture.jpg" rel="shadowbox[sbpost-1336];player=img;"><img class="aligncenter size-full wp-image-1341" title="MyCustomLayerFixture" src="http://www.arkaos.net/blog/wp-content/uploads/2010/08/MyCustomLayerFixture.jpg" alt="MyCustomLayerFixture" width="476" height="365" /></a></p>
<p>Based on this small example, add your own Quartz-Composer effects and create your custom fixtures to extend the possibilities of MediaMaster.</p>
<h5>Now let&#8217;s try this new fixture</h5>
<p>Start MediaMaster Pro, and in &#8220;Preferences &#8211;&gt; DMX &#8211;&gt; Patch&#8221; choose &#8220;My Custom Layer Fixture&#8221; as the &#8220;Layers fixture&#8221;.</p>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/08/Preferences.jpg" rel="shadowbox[sbpost-1336];player=img;"><img class="aligncenter size-full wp-image-1342" title="Preferences" src="http://www.arkaos.net/blog/wp-content/uploads/2010/08/Preferences.jpg" alt="Preferences" width="480" height="147" /></a></p>
<p>Back in the main window, on any layer, select a visual, push the dimmer to the max to start it, and finally select an Effect between 1 and 4 in Effect Library 11.</p>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/08/ArKaos-MediaMaster-2.0-Pro-LED-_-Fixture-mode.jpg" rel="shadowbox[sbpost-1336];player=img;"><img class="aligncenter size-full wp-image-1343" title="ArKaos MediaMaster 2.0 Pro LED _ Fixture mode" src="http://www.arkaos.net/blog/wp-content/uploads/2010/08/ArKaos-MediaMaster-2.0-Pro-LED-_-Fixture-mode.jpg" alt="ArKaos MediaMaster 2.0 Pro LED _ Fixture mode" width="409" height="160" /></a></p>
<p style="text-align: left;">Now it&#8217;s your turn to create your very own Quartz-Composer effects and use them to leverage the visual quality of your show, be creative!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkaos.net/blog/2010/08/tips/quartz-composer-mediamaster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GrandVJ and Alioscopy 3D screen integration</title>
		<link>http://www.arkaos.net/blog/2010/03/engineering/grandvj-alioscopy-3d-screen-integration/</link>
		<comments>http://www.arkaos.net/blog/2010/03/engineering/grandvj-alioscopy-3d-screen-integration/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 14:15:46 +0000</pubDate>
		<dc:creator>Toon</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[grandvj]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[quartz]]></category>
		<category><![CDATA[visuals]]></category>

		<guid isPermaLink="false">http://www.arkaos.net/blog/?p=1139</guid>
		<description><![CDATA[3D is spectacular, eye catching and can amaze your audience.. But unfortunately it was not accessible to live VJing.. until now! Alioscopy asked us if we could bring live VJing to their 3D screens.]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1144 alignleft" title="Alioscopy" src="http://www.arkaos.net/blog/wp-content/uploads/2010/03/img49adbe794d5a4.jpg" alt="Alioscopy" width="252" height="186" />3D is spectacular, eye catching and can amaze your audience.. But unfortunately it was not really accessible to live VJing.. until now!</p>
<p>Recently we&#8217;ve been in contact with <a href="http://www.alioscopy.com/" target="_blank">Alioscopy</a>, a French company that develops auto-stereoscopic 3D displays that can produce a sensation of depth without needing cumbersome eyewear and they asked us if we could bring live VJing to their 3D screens.</p>
<p>The problem is, even if you are only mixing footage that is compatible with 3D projection you are still missing live visualizers which are, most of the time, a very important part of the mix and which obviously can&#8217;t be pre-encoded for 3D projection..<span id="more-1139"></span></p>
<p><a href="http://www.alioscopy.com/" target="_blank">Alioscopy&#8217;s</a> 3D display range currently includes 24&#8243;, 42&#8243; and 47&#8243; screens integrating a technology that is based on standard Full HD LCD displays but equipped with an array of lenticular lenses. Each lens overlaps 8 different points of view and casts different images onto each eye, allowing for one only to be seen through the lens from any given angle.</p>
<p>Thus to recreate this feeling of depth, a 3D scene needs to be rendered from 8 different points of view and combined to one auto-stereoscopic image. To achieve this, we developed an easy to use auto-stereoscopic Quartz Composition template wherein you can transform your original Quartz Composer composition to a obtain real 3D sensation on an <a href="http://www.alioscopy.com/" target="_blank">Alioscopy</a> screen.</p>
<p>Integrating support for <a href="http://www.alioscopy.com/" target="_blank">Alioscopy</a> in <a title="GrandVJ - 8 channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> through a Quartz Composition template was a logical step since <a title="GrandVJ - 8 channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> now fully supports Quartz since version 1.2. &#8211; and of course, the same integration will also be supported in <a title="MediaMaster - DMX video software for lighting designers" href="http://www.arkaos.net/show-lighting/mediamaster/" target="_blank">MediaMaster</a> &#8211; But the big advantage of a Quartz template is that it&#8217;s fully customizable by the user; you can fine-tune the depth effect exactly the way you want!</p>
<p>When edited in Quartz Composer, the template appears as a layer above the original composition. Descend the patch hierarchy, paste your scene, adapt the auto-stereoscopic parameters depending on your scene and you&#8217;re done. The 3D-enabled composition can be used and mixed as any other Quartz Composition in <a title="GrandVJ - 8 channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> but of course, it must be output to an <a href="http://www.alioscopy.com/" target="_blank">Alioscopy</a> screen to see the magic happen.</p>
<p>Now we just have to decide how we are going to go to the market with this new development but you should read more about this very soon..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkaos.net/blog/2010/03/engineering/grandvj-alioscopy-3d-screen-integration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To: Create audio-reactive effects for GrandVJ with Quartz Composer</title>
		<link>http://www.arkaos.net/blog/2010/02/tips/audio-reactive-effects-grandvj-quartz/</link>
		<comments>http://www.arkaos.net/blog/2010/02/tips/audio-reactive-effects-grandvj-quartz/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:28:42 +0000</pubDate>
		<dc:creator>Gorgull</dc:creator>
				<category><![CDATA[Hints & Tips]]></category>
		<category><![CDATA[grandvj]]></category>
		<category><![CDATA[mediamaster]]></category>
		<category><![CDATA[quartz]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[visuals]]></category>

		<guid isPermaLink="false">http://www.arkaos.net/blog/?p=987</guid>
		<description><![CDATA[In this article we will demonstrate how to quickly create a bass-reactive Zoom-Blur effect for GrandVJ by simply editing Quartz-Composer's default template named Image Filter to make it audio reactive]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><img class="alignright size-thumbnail wp-image-891" title="Quartz Composer" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/quartzcomposer-150x150.png" alt="Quartz Composer" width="150" height="150" />In <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> 1.2 we have<strong> </strong>introduced the support for Quartz Compositions, either as visual or as effect. Note that <a title="MediaMaster - DMX video software for lighting designers" href="http://www.arkaos.net/show-lighting/mediamaster/" target="_blank">MediaMaster</a> 1.2 will also support Quartz Compositions, so you can use this with MediaMaster 1.2 too (the beta can be found on our <a title="ArKaos Users Forum : MediaMaster - DMX video software for lighting designers" href="http://www.arkaos.net/forum/viewforum.php?f=29" target="_blank">forums</a>)</p>
<p style="text-align: left;"><a title="Wikipedia article about Quartz Composer" href="http://en.wikipedia.org/wiki/Quartz_Composer" target="_blank">Quartz Composer</a> is a free graphics and imaging tool on the Mac platform which is available as an optional install that can be found on your Mac OS X DVD since version 10.4.</p>
<p style="text-align: left;">It allows very easy creation of complex audio-reactive animations or effects which can now be played in <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> (read the <a title="Quartz Composer integration in ArKaos GrandVJ" href="../2009/11/engineering/quartz-composer-integration-grandvj/">previous article</a> about <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> and Quartz Composer). As I&#8217;m writing these lines, the last version of Quartz-Composer is 4.0 on Mac OS 10.6 (Snow Leopard).</p>
<p style="text-align: left;">In this article we will demonstrate how to quickly create a bass-reactive Zoom/Blur effect like the one you can see below:</p>
<p style="text-align: center;"><object style="width: 640px; height: 480px;" classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" width="640" height="480" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="src" value="http://www.arkaos.net/blog/wp-content/uploads/2010/02/GrandVJ+QuartzComposerFX-iPhone.m4v" /><embed style="width: 640px; height: 480px;" type="video/quicktime" width="640" height="480" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/GrandVJ+QuartzComposerFX-iPhone.m4v" scale="tofit" autoplay="false"></embed></object></p>
<p style="text-align: left;"><strong>Important:</strong> This tutorial requires that you have some basic knowledge of Quartz Composer: if you have never used it, you really should first go through the <em>&#8220;Getting Started&#8221;</em>. You will also find some helpful readings at the <a title="Quartz Composer at Apple Developer Connection" href="http://developer.apple.com/graphicsimaging/quartzcomposer/" target="_blank">Apple Developer Connection web site</a> about Quartz Composer.</p>
<p style="text-align: left;">To create our effect we will simply edit Quartz-Composer&#8217;s default template named <em>&#8220;Image Filter&#8221;</em> to make it audio reactive. Basically, we will connect bass levels of the computer&#8217;s audio input signal to the <em>&#8220;Amount&#8221;</em> parameter of our Zoom/Blur filter. (Read more below..)<span id="more-987"></span></p>
<ul style="text-align: left;">
<li>Start the Quartz-Composer.app which is located in<em> /Developer/Applications/</em></li>
</ul>
<ul style="text-align: left;">
<li style="text-align: left;">From the menus, choose (<em>File &#8211;&gt; New from Template &#8211;&gt;</em>) <strong><span style="font-weight: normal;">Image Filter :</span><br />
</strong></li>
</ul>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/New-From-Template-1.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1099 aligncenter" title="Quartz Composer : New From Template" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/New-From-Template-1.png" alt="New From Template 1" width="650" height="408" /></a></p>
<ul>
<li>Here&#8217;s the patch that will open:</li>
</ul>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/New-From-Template-2.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1090 aligncenter" title="Quartz Composer : New From Template 2" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/New-From-Template-2.png" alt="New From Template 2" width="491" height="181" /></a></p>
<ul style="text-align: left;">
<li>In the menus choose <em>Editor &#8211;&gt; Edit Protocol Conformance</em></li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1073 aligncenter" title="Quartz Composer : Edit Protocol Conformance 1" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Edit-Protocol-Conformance-1.png" alt="Edit Protocol Conformance 1" width="282" height="310" /></p>
<ul>
<li>We will now tell the ArKaos software what inputs must be transmitted to the Composition. The ArKaos engine can send visuals or sound for processing by the Composition but only if he knows that these feeds will be accepted.<br />
To enable this you must check <em>&#8220;Music Visualizer&#8221;</em> and click <em>&#8220;Done&#8221;</em></li>
</ul>
<p style="text-align: center;"><img class="size-full wp-image-1074 aligncenter" title="Quartz Composer : Edit Protocol Conformance 2" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Edit-Protocol-Conformance-2.png" alt="Edit Protocol Conformance 2" width="424" height="346" /></p>
<ul>
<li>You&#8217;re back to the Composition and several input modules have been added on the left:</li>
</ul>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Edit-Protocol-Confotmance-3.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1088 aligncenter" title="Quartz Composer : Edit Protocol Confotmance 3" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Edit-Protocol-Confotmance-3.png" alt="Edit Protocol Confotmance 3" width="650" height="166" /></a></p>
<ul style="text-align: left;">
<li>Remove every unnecessary input modules, so they won&#8217;t be listed as input parameters in<strong> <span style="font-weight: normal;"><a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a>&#8216;s effect parameter panel</span></strong>:</li>
</ul>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Remove-Unnecessary-Inputs.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1091 aligncenter" title="Quartz Composer : Remove Unnecessary Inputs" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Remove-Unnecessary-Inputs.png" alt="Remove Unnecessary Inputs" width="645" height="157" /></a></p>
<ul style="text-align: left;">
<li>Quartz composer can hide blocks inside blocks, it&#8217;s called macros. It&#8217;s very powerful and in this case it holds the most important part of our composition: the processing part, which will affect the visual before copying it to the output.<br />
Double click on the <em>&#8220;Process Image&#8221;</em> macro to open it, Quartz Composer details each block contained in the macro:</li>
</ul>
<p style="text-align: center;"><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Enter-Process-Image-Macro.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1089 aligncenter" title="Quartz Composer : Enter Process Image Macro" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Enter-Process-Image-Macro.png" alt="Enter Process Image Macro" width="680" height="225" /></a></p>
<ul style="text-align: left;">
<li>We want to connect the audio volume to the <em>&#8220;Amount&#8221;</em> input of the <em>&#8220;Zoom Blur&#8221;</em> filter contained in this macro. To do that we need to make the <em>&#8220;Amount&#8221;</em> parameter available in the macro block so that it can be accessed from the top level, it&#8217;s called publishing an input.<br />
Publish the<em> &#8220;Amount&#8221; </em>input as in this screenshot:</li>
</ul>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-1079" title="Publish Amount Input" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Publish-Amount-Input.png" alt="Publish Amount Input" width="440" height="368" /></p>
<ul style="text-align: left;">
<li>When it&#8217;s done, we can go back at the top level to add some processing.<br />
In the top bar, click the <em>&#8220;Edit Parent&#8221;</em> button to go back the parent patch:</li>
</ul>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-1072" title="Edit Parent" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Edit-Parent.png" alt="Edit Parent" width="72" height="54" /></p>
<ul style="text-align: left;">
<li>Now we will add a processing block to create a value from the sound input.<br />
From the Library, add an <em>&#8220;Audio Processor&#8221; </em>module:</li>
</ul>
<p style="text-align: center; "><img class="aligncenter size-full wp-image-1064" title="Add Audio Processor 1" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Audio-Processor-1.png" alt="Add Audio Processor 1" width="263" height="335" /></p>
<ul>
<li>You&#8217;re back to the patch with the <em>&#8220;Audio Processor&#8221;</em> module added. The magical thing about Quartz Composer is that you can connect the modules in many different ways, when you add a module you just have to tell Quartz Composer how to feed the inputs and connect the outputs.</li>
</ul>
<p style="text-align: center; "><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Audio-Processor-2.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1083 aligncenter" title="Quartz Composer : Add Audio Processor 2" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Audio-Processor-2.png" alt="Add Audio Processor 2" width="643" height="232" /></a></p>
<ul style="text-align: left;">
<li>First we want to process the audio received from the ArKaos engine. To do that we connect together the <em>&#8220;Audio Spectrum&#8221;</em> and the <em>&#8220;Audio Processor&#8221; </em>module:</li>
</ul>
<p style="text-align: center; "><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Connect-Audio-Processor.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1085 aligncenter" title="Quartz Composer : Connect Audio Processor" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Connect-Audio-Processor.png" alt="Connect Audio Processor" width="639" height="232" /></a></p>
<ul style="text-align: left;">
<li>Now the audio processor will create three values from the audio we are feeding, Lows, Mids and Highs. For this effect we just want to use the lower value which is the one reflecting the bass volume. So we connect the Lows output from the <em>&#8220;Audio Processor&#8221;</em> module to the <em>&#8220;Amount&#8221;</em> input we just published in the <em>&#8220;Process the Image&#8221; </em>macro:</li>
</ul>
<p style="text-align: center; "><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Connect-Low-Output.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1086 aligncenter" title="Quartz Composer : Connect Low Output" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Connect-Low-Output.png" alt="Connect Low Output" width="640" height="226" /></a></p>
<p style="text-align: left;">At this point we need to get an audio signal so we can test our effect within Quartz Composer. For this purpose we will add an <em>&#8220;Audio Input&#8221;</em> that we will disconnect in the end so <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> can input its own audio signal into the <em>&#8220;</em><em>Audio Processor</em><em>&#8221; </em>module.</p>
<ul style="text-align: left;">
<li>From the Library, add an <em>&#8220;</em><em>Audio Input</em><em>&#8220;</em> module..</li>
</ul>
<p style="text-align: center; "><img class="aligncenter size-full wp-image-1062" title="Quartz Composer : Add Audio Input 1" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Audio-Input-1.png" alt="Add Audio Input 1" width="263" height="335" /></p>
<ul>
<li>..and connect its <em>&#8220;Audio Spectrum&#8221;</em> output to the input from <em>&#8220;Audio Processor&#8221;</em></li>
</ul>
<p style="text-align: center; "><a href="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Audio-Input-2.png" rel="shadowbox[sbpost-987];player=img;"><img class="size-full wp-image-1082 aligncenter" title="Quartz Composer : Add Audio Input 2" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Audio-Input-2.png" alt="Add Audio Input 2" width="644" height="181" /></a></p>
<p style="text-align: left;">Now we can see the image reacting to the audio input signal, but the effect is definitely too low, so we need to boost the audio signal values. A simple way to do that is to add a new processing module, specifically a math module:</p>
<ul style="text-align: left;">
<li>From the Library, add a <em>&#8220;Math Module&#8221;..</em></li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1066" title="Quartz Composer : Add Math Module 1" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Math-Module-1.png" alt="Add Math Module 1" width="263" height="335" /></p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-1097" title="Add Math Module 2" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Math-Module-2.png" alt="Add Math Module 2" width="434" height="274" /></p>
<ul>
<li>..and configure it to operator <em>Multiply</em>, set <em>Operand #1</em> to value 100:</li>
</ul>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1068" title="Quartz Composer : Add Math Module 3" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Add-Math-Module-3.png" alt="Add Math Module 3" width="251" height="368" /></p>
<ul style="text-align: left;">
<li>Connect the Lows output from <em>&#8220;Audio Processor&#8221;</em> to <em>&#8220;Multiply&#8221;</em> then connect <em>&#8220;Multiply&#8221;</em> to the <em>&#8220;Amount&#8221;</em> input from <em>&#8220;Process the Image&#8221;</em></li>
</ul>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-1098" title="Connect Math Module" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/Connect-Math-Module.png" alt="Connect Math Module" width="432" height="277" /></p>
<p style="text-align: left;">
<ul style="text-align: left;">
<li>You can now disconnect the <em>&#8220;Audio Input&#8221;</em> from the <em>&#8220;Audio Spectrum&#8221;</em> so that, once this composition is loaded in <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a>, the software will automatically send the audio input signal directly to<em> &#8220;Audio Spectrum&#8221;</em>.</li>
</ul>
<ul style="text-align: left;">
<li>Finally save the composition as<em> &#8220;MyBassZoomBlur.qtz&#8221;</em> in <em>/Users/MyAccount/Library/Application Support/ArKaos/GrandVJ/Quartz Composer/Effects/</em></li>
</ul>
<p style="text-align: left;">Now is time to start <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> and find your hard work rewarded by playing with your very own brand new effect. You will find it located in the Effects panel under the<em> &#8220;Quartz-Composer (User)&#8221;</em> effect category.</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-1107" title="GrandVJ ZoomBlur" src="http://www.arkaos.net/blog/wp-content/uploads/2010/02/GrandVJ-ZoomBlur.png" alt="GrandVJ ZoomBlur" width="580" height="417" /></p>
<p style="text-align: left;">Notice how <a title="GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> has made available the X and Y effect parameters from the Composition in the Effect parameter panel so you can use them to control the behavior of your effect in real time.</p>
<p style="text-align: left;">Now, that wasn&#8217;t hard, was it? If you want to go further, a good start will be to create new effects based on this Composition by replacing the<em> &#8220;Zoom Blur&#8221; </em>effect by another filter.</p>
<p style="text-align: left;">Don&#8217;t hesitate to share your creations on the <a title="ArKaos Users Forum : GrandVJ - Eight channels VJ software for real time HD video mixing" href="http://www.arkaos.net/forum/viewforum.php?f=26">forums</a> :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkaos.net/blog/2010/02/tips/audio-reactive-effects-grandvj-quartz/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Quartz Composer integration in GrandVJ 1.2</title>
		<link>http://www.arkaos.net/blog/2009/11/engineering/quartz-composer-integration-grandvj/</link>
		<comments>http://www.arkaos.net/blog/2009/11/engineering/quartz-composer-integration-grandvj/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 15:07:33 +0000</pubDate>
		<dc:creator>FraKtus</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[grandvj]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[quartz]]></category>
		<category><![CDATA[quicktime]]></category>
		<category><![CDATA[visuals]]></category>

		<guid isPermaLink="false">http://www.arkaos.net/blog/?p=834</guid>
		<description><![CDATA[GrandVJ 1.2 now allows to use Quartz Composer .qtz files directly, both as sources and effects, let's have a quick look at how you can use Quartz compositions with GrandVJ.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-891" title="quartzcomposer" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/quartzcomposer.png" alt="quartzcomposer" width="147" height="147" /><a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> 1.2 now allows to use Quartz Composer .qtz files directly, both as sources and effects. In older versions it was necessary to save them as QuickTime movies with the big drawbacks that it was slow and it did not allow to change compositions variables.</p>
<p>We have optimized the Quartz Composer integration in <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> 1.2 so that the compostions are rendered natively through the fastest available interface.</p>
<p>Finally, when using a composition as an effect the application will scan the published inputs and map them as effect parameters, if the format is compatible with the engine. <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> can automatically map parameters that are float values, indexes, colors and booleans and there&#8217;s one visual input of the composition that receive the cell visual.</p>
<p>Now let&#8217;s have a quick look at how you can use Quartz compositions with <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a>..<span id="more-834"></span></p>
<h5>Using compositions as sources</h5>
<p>The quick way to use a composition as source is to import it just like you do with any movie, by drag and drop on a cell or by reaching your .qtz through the file browser. When doing so, <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> will save the path to the .qtz file in your project as it does for any other visual.</p>
<p>For your convenience, <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> installs a set of source compositions in &#8220;/Users/&lt;username&gt;/Library/Application Support/GrandVJ/Quartz Composer/Visuals&#8221;, these are listed in <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> under the “Quartz-Composer (User)” section of the sources browser so that they are always available when you create a new project.</p>
<p>The idea is that you can also add your favorite source compositions there so that you always have them ready when you work on your projects.</p>
<p>Playing compositions as source does not allow modifying the variables from within <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a>.</p>
<table style="padding: 0px;" border="0" align="center" width="100%">
<tbody>
<tr>
<td>
<div id="attachment_900" class="wp-caption aligncenter" style="width: 374px"><img class="size-full wp-image-900 " title="007_grandvj_user_compositions-sources" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/007_grandvj_user_compositions-sources.jpg" alt="User source composition" width="364" height="217" /><p class="wp-caption-text">Path for user compostions as Sources</p></div></td>
<td>
<p><div id="attachment_901" class="wp-caption aligncenter" style="width: 189px"><img class="size-full wp-image-901 " title="008_grandvj_user_compositions-panel" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/008_grandvj_user_compositions-panel.jpg" alt="User compositions in source panel" width="179" height="152" /><p class="wp-caption-text">User compositions as Sources</p></div></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<h5>Using compositions as effects</h5>
<table style="padding: 0px;" border="0" align="center">
<tbody>
<tr>
<td valign="middle">
<p><div id="attachment_837" class="wp-caption aligncenter" style="width: 181px"><img class="size-full wp-image-837 " title="001_grandvj_system_compositions" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/001_grandvj_system_compositions.jpg" alt="System compositions in GrandVJ" width="171" height="242" /><p class="wp-caption-text">System compositions as Effects</p></div></td>
<td valign="middle">
<div>
<p style="text-align: left;">For effects, <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> will add all the compositions from your system that are supported. It does it by automatically scanning the system folder “/System/Library/Compositions”. These compositions will appear in the application under the “Quartz-Composer (System)” section of the effects browser. You can use them as starting point to develop new effects.</p>
<p style="text-align: left;">You can also add your own compositions as effects, just drop them in the local directory &#8220;/Users/&lt;username&gt;/Library/Application Support/GrandVJ/Quartz Composer/Effects&#8221;. They will appear in the “Quartz-Composer (User)” section of the effect browser.</p>
</div>
</td>
</tr>
</tbody>
</table>
<table style="padding: 0px;" border="0" align="center" width="100%">
<tbody>
<tr>
<td>
<p><div id="attachment_849" class="wp-caption alignleft" style="width: 374px"><img class="size-full wp-image-849 " title="002_grandvj_user_compositions" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/002_grandvj_user_compositions.jpg" alt="Path for user compostions " width="364" height="217" /><p class="wp-caption-text">Path for user compostions as Effects</p></div></td>
<td>
<p><div id="attachment_840" class="wp-caption alignleft" style="width: 186px"><img class="size-full wp-image-840 " title="003_grand_vj_user_compositions2" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/003_grand_vj_user_compositions2.jpg" alt="User compositions" width="176" height="198" /><p class="wp-caption-text">User compositions as Effects</p></div></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<h5>About the parameters</h5>
<p>As a quick example, let&#8217;s have a look at the effect parameters from the system composition Image Hose. With the Quartz Composer application (found in Developer &gt; Applications &#8211; you need to have installed Apple&#8217;s developer tools of course), open the file “/System/Library/Compositions/Image Hose.qtz” (ore better, open a copy) here&#8217;s what you should see:</p>
<p><div id="attachment_879" class="wp-caption aligncenter" style="width: 616px"><a href="http://www.arkaos.net/blog/wp-content/uploads/2009/11/004_grandvj_composition_image_hose.jpg" rel="shadowbox[sbpost-834];player=img;"><img class="size-full wp-image-879   " title="004_grandvj_composition_image_hose" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/004_grandvj_composition_image_hose.jpg" alt="Image Hose composition" width="606" height="300" /></a><p class="wp-caption-text">Image Hose composition</p></div>
<p>Open the inspector (Editor &gt; Show Inspector) and from the menu, look at the Published Inputs &amp; Outputs, here&#8217;s what you have:</p>
<div id="attachment_882" class="wp-caption aligncenter" style="width: 455px"><img class="size-full wp-image-882 " title="005_grandvj_composition_image_hose_params" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/005_grandvj_composition_image_hose_params.jpg" alt="005_grandvj_composition_image_hose_params" width="445" height="231" /><p class="wp-caption-text">Image Hose composition parameters</p></div>
<p>In <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a>, the first 4 parameters that can be mapped automatically will be displayed. In this case it will be PrimaryColor, SecondaryColor, Pace and Size:</p>
<div id="attachment_883" class="wp-caption aligncenter" style="width: 331px"><img class="size-full wp-image-883" title="006_grandvj_composition_image_hose_params_panel" src="http://www.arkaos.net/blog/wp-content/uploads/2009/11/006_grandvj_composition_image_hose_params_panel.jpg" alt="Quartz composition parameters in GrandVJ" width="321" height="149" /><p class="wp-caption-text">Quartz composition parameters in GrandVJ</p></div>
<p>As you can see, <a title="GrandVJ Eight channels MIDI VJ software for real time HD video mixing" href="http://www.arkaos.net/vj-dj/grandvj/" target="_blank">GrandVJ</a> will only display the meaningful part of the parameter name and remove all _ProtocolInput strings from parameter names &#8211; this allows to easily display the full parameter name in the panel &#8211; it will also make things a little nicer by capitalizing the first letter of the parameter if necessary.</p>
<p>There are many resources on the web where you can find information and help about creating your own Quartz compositions, you can start by looking at Apple&#8217;s <a title="Apple Developer Connection" href="http://developer.apple.com/graphicsimaging/quartz/" target="_blank">Developer Connection</a>.</p>
<p><strong>Note:</strong> you can download GrandVJ 1.2 beta 2 from <a title="ArKaos users discussion forum" href="http://www.arkaos.net/forum/viewtopic.php?f=26&amp;t=6836">our forums</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arkaos.net/blog/2009/11/engineering/quartz-composer-integration-grandvj/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

