Zum Inhalt springen

Circle Of Light: Unterschied zwischen den Versionen

Amir (Diskussion | Beiträge)
Amir (Diskussion | Beiträge)
Zeile 95: Zeile 95:
== Code ==
== Code ==


I hacked wmgui (part of libcwiid) to output MIDI events and wrote a simple visual that slides over a large image depending on events, always only showing a portion of the image.  
I hacked wmgui (part of libcwiid) to output MIDI events and wrote a simple visuals.
* wmgui code: https://github.com/kallaballa/Circle/blob/master/third/cwiid-0.6.00/wmgui/main.c
* wmgui code: https://github.com/kallaballa/Circle/blob/master/third/cwiid-0.6.00/wmgui/main.c
* visual code: https://github.com/kallaballa/Circle/blob/master/src/slide/slide.cpp
 
=== Visuals ===
* Slide: [https://github.com/kallaballa/Circle/blob/master/src/slide/slide.cpp Kinetically slides over an image larger then the LED-matrix controlled by Wiimotes]
* Piano: [https://github.com/kallaballa/Circle/blob/master/src/piano/piano.cpp Reads midi events from an instrument and visualizes noteOn/noteOff events]
* Spectro: [https://github.com/kallaballa/Circle/blob/master/src/spectro/spectro.cpp Receives audio from a microphone and visualizes the spectrum]
* Water: [https://github.com/kallaballa/Circle/blob/master/src/water/water.cpp Receives audio from a microphone and visualizes the waterfall spectrum]
* Video: [https://github.com/kallaballa/Circle/blob/master/src/video/video.cpp Plays a video on the LED-matrix]