<?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>my digital playground &#187; Programming</title>
	<atom:link href="http://blog.vogel.vu/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vogel.vu</link>
	<description>photography &#124; computers &#124; daily things</description>
	<lastBuildDate>Wed, 12 Jan 2011 17:36:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Composing MIDI sounds with ‘Processing’</title>
		<link>http://blog.vogel.vu/2009/10/10/composing-midi-sounds-with-processing/</link>
		<comments>http://blog.vogel.vu/2009/10/10/composing-midi-sounds-with-processing/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 10:09:07 +0000</pubDate>
		<dc:creator>Reto Vogel</dc:creator>
				<category><![CDATA[HSLU]]></category>
		<category><![CDATA[Multimediatechnik]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Midi]]></category>

		<guid isPermaLink="false">http://blog.vogel.vu/?p=228</guid>
		<description><![CDATA[Also playing and generating MIDI sounds with Processing is quite easy. I did a small applet which plays a choosen MIDI-File and generates some sounds.With the keys from 1 to 9 the user can generate some basic piano sounds. This is realized with the MidiBus library Try it out here: Demo Download: Aufgabe_3.java Aufgabe_3.pde Bookmark, [...]]]></description>
			<content:encoded><![CDATA[<p>Also playing and generating MIDI sounds with Processing is quite easy. I did a small applet which plays a choosen MIDI-File and generates some sounds.<span id="more-228"></span>With the keys from 1 to 9 the user can generate some basic piano sounds. This is realized with the <a href="http://smallbutdigital.com/themidibus.php" title="MidiBus Library" target="_blank" class="liexternal">MidiBus library</a></p>
<p>Try it out here: <a href="http://blog.vogel.vu/wp-content/uploads/2009/10/midi/index.html" class="lightview" title="MIDI sounds with processing :: Please wait, until the Java Applet is loaded :: width: 600, height: 350" target="_blank">Demo</a></p>
<p>Download: <a href="http://blog.vogel.vu/wp-content/uploads/2009/10/midi/Aufgabe_3.java" title="Java source file" class="liinternal">Aufgabe_3.java</a> <a href="http://blog.vogel.vu/wp-content/uploads/2009/10/midi/Aufgabe_3.pde" title="PDE file" target="_blank" class="liinternal">Aufgabe_3.pde</a></p>


Bookmark, print, and share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;partner=sociable" title="Print"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;partner=sociable" title="PDF"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;title=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99&amp;bodytext=Also%20playing%20and%20generating%20MIDI%20sounds%20with%20Processing%20is%20quite%20easy.%20I%20did%20a%20small%20applet%20which%20plays%20a%20choosen%20MIDI-File%20and%20generates%20some%20sounds.With%20the%20keys%20from%201%20to%209%20the%20user%20can%20generate%20some%20basic%20piano%20sounds.%20This%20is%20realized%20with%20the%20M" title="Digg"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;t=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99" title="Facebook"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;title=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99&amp;notes=Also%20playing%20and%20generating%20MIDI%20sounds%20with%20Processing%20is%20quite%20easy.%20I%20did%20a%20small%20applet%20which%20plays%20a%20choosen%20MIDI-File%20and%20generates%20some%20sounds.With%20the%20keys%20from%201%20to%209%20the%20user%20can%20generate%20some%20basic%20piano%20sounds.%20This%20is%20realized%20with%20the%20M" title="del.icio.us"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;title=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99" title="StumbleUpon"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;t=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99" title="MySpace"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;title=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99" title="Live"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F10%2Fcomposing-midi-sounds-with-processing%2F&amp;title=Composing%20MIDI%20sounds%20with%20%E2%80%98Processing%E2%80%99&amp;annotation=Also%20playing%20and%20generating%20MIDI%20sounds%20with%20Processing%20is%20quite%20easy.%20I%20did%20a%20small%20applet%20which%20plays%20a%20choosen%20MIDI-File%20and%20generates%20some%20sounds.With%20the%20keys%20from%201%20to%209%20the%20user%20can%20generate%20some%20basic%20piano%20sounds.%20This%20is%20realized%20with%20the%20M" title="Google Bookmarks"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.vogel.vu/2009/10/10/composing-midi-sounds-with-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First experiences with ‘Processing’</title>
		<link>http://blog.vogel.vu/2009/09/19/first-experiences-with-processing/</link>
		<comments>http://blog.vogel.vu/2009/09/19/first-experiences-with-processing/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 09:45:30 +0000</pubDate>
		<dc:creator>Reto Vogel</dc:creator>
				<category><![CDATA[HSLU]]></category>
		<category><![CDATA[Multimediatechnik]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.vogel.vu/?p=6</guid>
		<description><![CDATA[Today in &#8216;Multimediatechnik&#8217; we had the exercise to write some processing apps. Processing is an Open-Source programming language and integrated development environment built for the electronic arts and visual design communities, which aims to teach the basics of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks. The first [...]]]></description>
			<content:encoded><![CDATA[<p>Today in &#8216;Multimediatechnik&#8217; we had the exercise to write some processing apps.</p>
<p>Processing is an Open-Source programming language and integrated development environment built for the electronic arts and visual design communities, which aims to teach the basics of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks.<br />
<span id="more-6"></span></p>
<p>The first two tasks were about drawing some lines. This was quite easy. Drawing some random lines can be realised with this simple code:</p>
<p style="padding-left: 30px;"><code> size(500,500);<br />
background(100);<br />
fill(255);<br />
for (int i=0; i&lt;100; i++) {<br />
line (random(width), random(height), random(width), random(height));<br />
}<br />
</code></p>
<div id="attachment_8" class="wp-caption alignright" style="width: 310px"><img class="size-full wp-image-8" title="Rotating globe" src="http://blog.vogel.vu/wp-content/uploads/2009/09/earth.jpg" alt="Rotating globe" width="300" height="300" /><p class="wp-caption-text">Rotating globe</p></div>
<p>The third tasks was about animation. We had to make an easy animation with serveral pictures. The result is a rotating globe with some stars around. A click changes the direction of the rotation. Through pressing &#8216;S&#8217; it&#8217;s possible to take a screenshot and save it into a jpg-file.</p>
<p>Funnily enough, the stars won&#8217;t be displayed in the implemented version &#8230; I don&#8217;t know why &#8217;cause it works when it is launched directly.</p>
<p>Implemented Applet (or download below):<br />
<applet width="220" height="220" code="c_Animation" archive="/wp-content/uploads/2009/09/c_Animation.jar" hspace="75" vspace="75"></applet></p>
<p><a href="http://blog.vogel.vu/wp-content/uploads/2009/09/c_Animation.java" class="liinternal">Download source code here</a></p>
<p><a href="http://blog.vogel.vu/wp-content/uploads/2009/09/c_Animation.jar" class="liinternal">Download compiled jar-file here</a></p>


Bookmark, print, and share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;partner=sociable" title="Print"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;partner=sociable" title="PDF"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;title=First%20experiences%20with%20%E2%80%98Processing%E2%80%99&amp;bodytext=Today%20in%20%27Multimediatechnik%27%20we%20had%20the%20exercise%20to%20write%20some%20processing%20apps.%0D%0A%0D%0AProcessing%20is%20an%20Open-Source%20programming%20language%20and%20integrated%20development%20environment%20built%20for%20the%20electronic%20arts%20and%20visual%20design%20communities%2C%20which%20aims%20to%20tea" title="Digg"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;t=First%20experiences%20with%20%E2%80%98Processing%E2%80%99" title="Facebook"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;title=First%20experiences%20with%20%E2%80%98Processing%E2%80%99&amp;notes=Today%20in%20%27Multimediatechnik%27%20we%20had%20the%20exercise%20to%20write%20some%20processing%20apps.%0D%0A%0D%0AProcessing%20is%20an%20Open-Source%20programming%20language%20and%20integrated%20development%20environment%20built%20for%20the%20electronic%20arts%20and%20visual%20design%20communities%2C%20which%20aims%20to%20tea" title="del.icio.us"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;title=First%20experiences%20with%20%E2%80%98Processing%E2%80%99" title="StumbleUpon"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;t=First%20experiences%20with%20%E2%80%98Processing%E2%80%99" title="MySpace"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;title=First%20experiences%20with%20%E2%80%98Processing%E2%80%99" title="Live"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.vogel.vu%2F2009%2F09%2F19%2Ffirst-experiences-with-processing%2F&amp;title=First%20experiences%20with%20%E2%80%98Processing%E2%80%99&amp;annotation=Today%20in%20%27Multimediatechnik%27%20we%20had%20the%20exercise%20to%20write%20some%20processing%20apps.%0D%0A%0D%0AProcessing%20is%20an%20Open-Source%20programming%20language%20and%20integrated%20development%20environment%20built%20for%20the%20electronic%20arts%20and%20visual%20design%20communities%2C%20which%20aims%20to%20tea" title="Google Bookmarks"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.vogel.vu/2009/09/19/first-experiences-with-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

