<?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>creative coding &#187; tipps</title>
	<atom:link href="http://creativecoding.org/blog/category/tipps/feed/" rel="self" type="application/rss+xml" />
	<link>http://creativecoding.org/blog</link>
	<description>Creative Coding Vorlesung an der Berliner Technischen Kunsthochschule im Sommersemester &#039;10</description>
	<lastBuildDate>Thu, 26 Aug 2010 11:00:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hilfe für Endprojekt CC2</title>
		<link>http://creativecoding.org/blog/2010/06/23/hilfe-fur-endprojekt-cc2/</link>
		<comments>http://creativecoding.org/blog/2010/06/23/hilfe-fur-endprojekt-cc2/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 21:22:58 +0000</pubDate>
		<dc:creator>Dana</dc:creator>
				<category><![CDATA[cc2]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[tipps]]></category>
		<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=1094</guid>
		<description><![CDATA[Hey!
Sagt mal, gibt es eigentlich einen if-Befehl, der sich auf Bilder bezieht?
Also á la &#8220;wenn Klick auf image XY, tu dies und das&#8221;?
Man soll bei meinem Sketch auf die Bilder klicken können und Musik spielt ab, aber es ist doch recht mühselig, jedes mal diese Koordinaten zu suchen fürs mouseX und mouseY..
Gibt es da sowas [...]]]></description>
			<content:encoded><![CDATA[<p>Hey!</p>
<p>Sagt mal, gibt es eigentlich einen if-Befehl, der sich auf Bilder bezieht?</p>
<p>Also á la &#8220;wenn Klick auf image XY, tu dies und das&#8221;?<br />
Man soll bei meinem Sketch auf die Bilder klicken können und Musik spielt ab, aber es ist doch recht mühselig, jedes mal diese Koordinaten zu suchen fürs mouseX und mouseY..</p>
<p>Gibt es da sowas cooles?</p>
<p>Dana</p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2010/06/23/hilfe-fur-endprojekt-cc2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>sfxr</title>
		<link>http://creativecoding.org/blog/2010/01/21/sfxr/</link>
		<comments>http://creativecoding.org/blog/2010/01/21/sfxr/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 23:27:37 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[help]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=725</guid>
		<description><![CDATA[
Unglaublich nützliches Tool zum Erstellen eigener &#8220;Retro&#8221; Sounddateien. Werden von Processing wunderbar aufgenommen, ohne dass man mal ein &#8220;Out of memory&#8221; vor die Stirn bekommt.
Flash Portierung
Original Homepage
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://home.arcor.de/nudelsheep/sfxr.png" alt="sfxr" width="600" height="262" /></p>
<p>Unglaublich nützliches Tool zum Erstellen eigener &#8220;Retro&#8221; Sounddateien. Werden von Processing wunderbar aufgenommen, ohne dass man mal ein &#8220;Out of memory&#8221; vor die Stirn bekommt.</p>
<p><a href="http://www.superflashbros.net/as3sfxr/">Flash Portierung</a></p>
<p><a href="http://www.drpetter.se/project_sfxr.html">Original Homepage</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2010/01/21/sfxr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Midi Visualisaton</title>
		<link>http://creativecoding.org/blog/2009/12/08/midi-visualisaton/</link>
		<comments>http://creativecoding.org/blog/2009/12/08/midi-visualisaton/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 07:29:26 +0000</pubDate>
		<dc:creator>Christopher Warnow</dc:creator>
				<category><![CDATA[cc2]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=673</guid>
		<description><![CDATA[
The Clavilux 2000 is an interactive instrument for generative music visualization, which is able to generate a live visualization of any music played on a digital piano. The setting of the installation consists of three parts: A digital piano with 88 keys and midi output, a computer running a vvvv patch and a vertical projection [...]]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8012159&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8012159&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object></p>
<p>The Clavilux 2000 is an interactive instrument for generative music visualization, which is able to generate a live visualization of any music played on a digital piano. The setting of the installation consists of three parts: A digital piano with 88 keys and midi output, a computer running a vvvv patch and a vertical projection above the keyboard.</p>
<p>For every note played on the keyboard a new visual element appears in form of a stripe, which follows in its dimensions, position and speed the way the particular key was stroke. Colours give the viewer and listener an impression of the harmonic relations: Each key has it&#8217;s own color scheme and &#8220;wrong&#8221; notes stand out in contrasting colors.</p>
<p><a href="http://www.jonasheuer.de/index.php/clavilux-2000/">Link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/12/08/midi-visualisaton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audiosurf &#8211;  Kurzreferat</title>
		<link>http://creativecoding.org/blog/2009/11/25/audiosurf-kurzreferat-jan-stroetmann/</link>
		<comments>http://creativecoding.org/blog/2009/11/25/audiosurf-kurzreferat-jan-stroetmann/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 22:01:05 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[referat]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=645</guid>
		<description><![CDATA[
Audiosurf ist ein Computer-Musikspiel aus dem Jahre 2008. Ziel des Spieles ist es, ein Raumschiff auf einer mehrspurigen Rennstrecke zu lenken und dabei farbige Blöcke taktisch richtig durch Überfahren einzusammeln. Strecke, Blöcke und Geschwindigkeit generieren sich aus den Charakteristika des vorher ausgewählten Musikstückes. Dabei ist es möglich jede vorhande Musikdatei auszuwählen, welche beim Spielen synchron [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://home.arcor.de/nudelsheep/audiosurf2.jpg" alt="" width="500" height="300" /></p>
<p>Audiosurf ist ein Computer-Musikspiel aus dem Jahre 2008. Ziel des Spieles ist es, ein Raumschiff auf einer mehrspurigen Rennstrecke zu lenken und dabei farbige Blöcke taktisch richtig durch Überfahren einzusammeln. Strecke, Blöcke und Geschwindigkeit generieren sich aus den Charakteristika des vorher ausgewählten Musikstückes. Dabei ist es möglich jede vorhande Musikdatei auszuwählen, welche beim Spielen synchron zum Streckenverlauf abgespielt wird.</p>
<p>Übrigens: Dieses Spiel hat nichts mit Processing zu tun, sondern soll lediglich als Inspiration für generierte Verknüpfung von Musik und Bild dienen.</p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/11/25/audiosurf-kurzreferat-jan-stroetmann/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schöne Processing Galerie</title>
		<link>http://creativecoding.org/blog/2009/11/16/schone-processing-galerie/</link>
		<comments>http://creativecoding.org/blog/2009/11/16/schone-processing-galerie/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 11:37:13 +0000</pubDate>
		<dc:creator>stephan</dc:creator>
				<category><![CDATA[cc1]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=592</guid>
		<description><![CDATA[


hier ein schönes Beispiel dafür, wie Ergebnisse von einem Semester Einstieg in Processing aussehen können:
 www.processing.diana-lange.de
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://creativecoding.org/blog/wp-content/uploads/2009/11/pdl1.png"><img class="aligncenter size-full wp-image-594" title="processing.diana-lange.de" src="http://creativecoding.org/blog/wp-content/uploads/2009/11/pdl1.png" alt="processing.diana-lange.de" width="600" height="297" /></a><a href="http://creativecoding.org/blog/wp-content/uploads/2009/11/pdl2.png"><br />
</a>
<p /></p>
<p>hier ein schönes Beispiel dafür, wie Ergebnisse von einem Semester Einstieg in Processing aussehen können:<br />
<a title="processing.diana-lange.de" href="http://www.processing.diana-lange.de/index.html" target="_blank"> www.processing.diana-lange.de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/11/16/schone-processing-galerie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Der Source Code für das PImage Beispiel</title>
		<link>http://creativecoding.org/blog/2009/11/13/der-source-code-fur-das-pimage-beispiel/</link>
		<comments>http://creativecoding.org/blog/2009/11/13/der-source-code-fur-das-pimage-beispiel/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 10:28:51 +0000</pubDate>
		<dc:creator>Christopher Warnow</dc:creator>
				<category><![CDATA[cc1]]></category>
		<category><![CDATA[tipps]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[blending]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[pimage]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=579</guid>
		<description><![CDATA[

PImage kreis;
float kreis1X;
float kreis1Y;
float kreis2X;
float kreis2Y;
float kreis3X;
float kreis3Y;
float winkel;

void setup() {
  size(300, 300);
  kreis = loadImage("kreis.png");
}

void draw() {
  background(0);

  kreis1X = cos(winkel) * 20;
  kreis1Y = sin(winkel) * 20;

  kreis2X = cos(winkel + 1) * 20;
  kreis2Y = sin(winkel + 1) * 20;

  kreis3X = cos(-winkel + [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://creativecoding.org/blog/wp-content/uploads/2009/11/Screen-shot-2009-11-13-at-12.52.14-PM.png" alt="Image blending" title="Image blending" width="296" height="160" class="alignleft size-full wp-image-590" /></p>
<pre name="code" class="java">
PImage kreis;
float kreis1X;
float kreis1Y;
float kreis2X;
float kreis2Y;
float kreis3X;
float kreis3Y;
float winkel;

void setup() {
  size(300, 300);
  kreis = loadImage("kreis.png");
}

void draw() {
  background(0);

  kreis1X = cos(winkel) * 20;
  kreis1Y = sin(winkel) * 20;

  kreis2X = cos(winkel + 1) * 20;
  kreis2Y = sin(winkel + 1) * 20;

  kreis3X = cos(-winkel + 2) * 10;
  kreis3Y = sin(-winkel + 2) * 10;

  tint(mouseY, 255, 255);
  image(kreis, kreis1X, kreis1Y);

  tint(mouseY, 255, 255);

  blend(kreis,
  int(kreis2X), int(kreis2Y),
  320, 320,
  int(kreis2X), int(kreis2Y),
  320, 320,
  DIFFERENCE);

  blend(kreis,
  int(kreis3X), int(kreis3Y),
  320, 320,
  int(kreis3X), int(kreis3Y),
  320, 320,
  OVERLAY);

  winkel = winkel + mouseX * 0.0005;
}
</pre>
<p>Dran denken, das Bild mit dem Kreis (kreis.png) muss in dem data Ordner liegen.</p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/11/13/der-source-code-fur-das-pimage-beispiel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text 2 Midi</title>
		<link>http://creativecoding.org/blog/2009/11/05/text-2-midi/</link>
		<comments>http://creativecoding.org/blog/2009/11/05/text-2-midi/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 21:06:27 +0000</pubDate>
		<dc:creator>Christopher Warnow</dc:creator>
				<category><![CDATA[cc2]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=530</guid>
		<description><![CDATA[Hier das Programm, mit dem eine Midi-Datei in eine Textdatei umgewandelt werden kann. Stephan wird erzählen, wie die von dem Programm erstellte Textdatei in Processing für Musikvisualisierungen benutzt werden kann.
Download: Midi2Text
]]></description>
			<content:encoded><![CDATA[<p>Hier das Programm, mit dem eine Midi-Datei in eine Textdatei umgewandelt werden kann. Stephan wird erzählen, wie die von dem Programm erstellte Textdatei in Processing für Musikvisualisierungen benutzt werden kann.</p>
<p>Download: <a href="http://creativecoding.org/blog/wp-content/uploads/2009/11/Midi2Text.zip">Midi2Text</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/11/05/text-2-midi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Midi Dateien in Text Dateien umwandeln</title>
		<link>http://creativecoding.org/blog/2009/10/30/midi-dateien-in-text-dateien-umwandeln/</link>
		<comments>http://creativecoding.org/blog/2009/10/30/midi-dateien-in-text-dateien-umwandeln/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 10:41:16 +0000</pubDate>
		<dc:creator>stephan</dc:creator>
				<category><![CDATA[cc2]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=497</guid>
		<description><![CDATA[Geht zum Beispiel mit diesem Tool.
Midi2Txt &#8211; midi to text converter
für PC kann einfach die .exe Datei benutzt werden, für alle anderen (Mac, Linux) die .jar.
Wie man dann mit aus den Textdateien Daten ausliesst ist unter anderem in der Lesson 12. Natürlich geben wir auch im Kurs Input dazu, wenn sich jemand in die Richtung [...]]]></description>
			<content:encoded><![CDATA[<p>Geht zum Beispiel mit diesem Tool.<br />
<a title="Midi2Txt - midi to text converter" href="http://www.otomusic.info/phd/data/Midi2Txt.htm" target="_blank">Midi2Txt &#8211; midi to text converter</a></p>
<p>für PC kann einfach die .exe Datei benutzt werden, für alle anderen (Mac, Linux) die .jar.<br />
Wie man dann mit aus den Textdateien Daten ausliesst ist unter anderem in der <a title="Lesson 12 – Arbeiten mit Texten" href="http://creativecoding.org/de/p5/basics/lesson12" target="_blank">Lesson 12</a>. Natürlich geben wir auch im Kurs Input dazu, wenn sich jemand in die Richtung bewegen will.</p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/10/30/midi-dateien-in-text-dateien-umwandeln/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skyline in Processing</title>
		<link>http://creativecoding.org/blog/2009/07/01/skyline-in-processing/</link>
		<comments>http://creativecoding.org/blog/2009/07/01/skyline-in-processing/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 17:03:18 +0000</pubDate>
		<dc:creator>jonas</dc:creator>
				<category><![CDATA[cc1]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=367</guid>
		<description><![CDATA[vielleicht hilfreich für die Skyline-Gruppe (aber in jedem Fall SCHÖNER machen!)
Skyline sketch
]]></description>
			<content:encoded><![CDATA[<p>vielleicht hilfreich für die Skyline-Gruppe (aber in jedem Fall SCHÖNER machen!)<br />
<a href="http://www.local-guru.net/processing/skyline/">Skyline sketch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/07/01/skyline-in-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Login mit controlP5</title>
		<link>http://creativecoding.org/blog/2009/06/15/login-mit-controlp5/</link>
		<comments>http://creativecoding.org/blog/2009/06/15/login-mit-controlp5/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 20:23:07 +0000</pubDate>
		<dc:creator>steffen</dc:creator>
				<category><![CDATA[input]]></category>
		<category><![CDATA[tipps]]></category>
		<category><![CDATA[controlp5]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://creativecoding.org/blog/?p=335</guid>
		<description><![CDATA[Letzte Woche durchgesprochen und hier noch mal im Blog zum anschauen. F&#252;r alle Projekte die auf der Nutzereingabe von Name und Passwort basieren.

Wir nutzen dabei die von Andreas Schlegel geschriebene Bibliothek controlP5 &#8211; ideal für das Erstellen von simplen Benutzeroberflächen.
Nach dem Anlegen der beiden Textfelder im setup(), wird bei ENTER die Funktion controlEvent()  aufgerufen. [...]]]></description>
			<content:encoded><![CDATA[<p>Letzte Woche durchgesprochen und hier noch mal im Blog zum anschauen. F&uuml;r alle Projekte die auf der Nutzereingabe von Name und Passwort basieren.</p>
<p><img src="http://creativecoding.org/blog/wp-content/uploads/2009/06/p5.png" alt="Login mit controlP5" title="Login mit controlP5" width="580" height="140" class="aligncenter size-full wp-image-338" /></p>
<p>Wir nutzen dabei die von <a href="http://www.sojamo.de/" target="_blank">Andreas Schlegel</a> geschriebene Bibliothek <a href="http://www.sojamo.de/libraries/controlP5/" target="_blank">controlP5</a> &#8211; ideal für das Erstellen von simplen Benutzeroberflächen.<br />
Nach dem Anlegen der beiden <a href="http://www.sojamo.de/libraries/controlP5/reference/textfield_class_textfield.htm" target="_blank">Textfelder</a> im <em>setup()</em>, wird bei ENTER die Funktion <em>controlEvent()</em>  aufgerufen. Innerhalb entscheidet die L&auml;nge der Text ob diese f&uuml;r die Verbindung zur API genutzt werden. In diesem Fall m&uuml;ssen beide Felder ausgef&uuml;llt sein.<br />
Der letzte Schritt besteht im &Auml;ndern des &#8216;ready&#8217; Wertes von <em>false</em> auf <em>true</em>. Dies veranlasst die Bedingung im <em>draw()</em> den eigentlichen Zeichenprozess (das Arbeiten mit den Daten) zu beginnen.</p>
<pre name="code" class="java">
import utils.*;
import lastfm.*;
import controlP5.*;

ControlP5 c5;
Textfield tfName;
Textfield tfPass;
boolean ready = false;

Lastfm fm;

void setup () {
  size (580, 240);
  // Allgemeines ControlP5 Objekt
  c5 = new ControlP5 (this);
  // TextFelder für beide Werte Anlegen
  tfName = c5.addTextfield ("username", 20, 100, 200, 18);
  tfPass = c5.addTextfield ("userpass", 20, 140, 200, 18);
  // Passwort wird im Sternchenmodus angezeigt
  tfPass.setPasswordMode (true);
}

void draw () {
  background (40);
  if (ready) {
    // MAGIC!
  }
}

/**
 * Diese Funktion wird bei jeder ControlP5-Eingabe aufgerufen.
 * Das 'ControlEvent' gibt Aufschluss über den Auslöser und
 * damit über dessen Wert bzw. Zustand. In diesem Fall der Text.
 */
void controlEvent (ControlEvent theEvent) {
  String user = tfName.stringValue ();
  String pass = tfPass.stringValue ();

  // Wenn Textfeldinhalte jeweils länger als 0 sind
  if (user.length () > 0 &#038;&#038; pass.length () > 0) {

    // GUI ausblenden
    tfName.hide ();
    tfPass.hide ();
    // API INITIALISIEREN
    fm = new Lastfm (user, pass, "xx", "xx");
    // Startschuss für den draw-Block geben
    ready = true;
  }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://creativecoding.org/blog/2009/06/15/login-mit-controlp5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

