Skip to content
Heterogenous System (oF-ofxLua-SuperCollider-Emacs)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
algorithmic-dynamic-score @ f9779d2
bin
gea_swig.xcodeproj
src
.gitignore
.gitmodules
Makefile
Project.xcconfig
README.org
addons.make
config.make
openFrameworks-Info.plist

README.org

Gea: Heterogenous System (oF-ofxLua-SuperCollider-Emacs)

GEA (Graphics Engine for Artists) is an Heterogeneous System for Live Visuals with the use Dynamic Algorithmic Score developed by Aris Bezas (aka igoumeninja).

The required software of GEA are the following:

Emacs configuration for sendind OSC messages

;; Use emacs as interpreter
;;
;; Aris Bezas 8:27 AM Apr 18, 2013
;; ========================================

;; Send OSC messages with Emacs include osc.el from http://delysid.org/emacs/osc.html at Emacs.app/Contents/...

;; Create SuperColider and openFrameworks OSC clients
(setq sc-client (osc-make-client "127.0.0.1" 57120))
(setq of-client (osc-make-client "127.0.0.1" 12345))
(setq gea-client (osc-make-client "127.0.0.1" 12345))

;;===========================================
(defun send-test-osc ()  (interactive)
  (osc-send-message sc-client "1,2,3 Test"))

(defun update-script ()  (interactive) (save-buffer)
  (osc-send-message gea-client "updateScript" (buffer-file-name)))
(global-set-key (kbd "s-<return>") 'update-script)

(defun add-script ()  (interactive) (save-buffer)
  (osc-send-message gea-client "addScript" (buffer-file-name)))
(global-set-key (kbd "C-M-+") 'add-script)

(defun shader ()  (interactive) (save-buffer)
  (osc-send-message gea-client "updateShaders"))

(defun doshader ()  (interactive) (save-buffer)
  (osc-send-message gea-client "doShader"))

(menu-bar-mode -1)

Include MIDI

The GEA xcode project is including ofxMIDI addon. To make it work follow the ofxMIDI instruction from https://github.com/danomatika/ofxMidi#adding-ofxmidi-to-an-existing-project

Usefull tips

Fix flickering with ofSetBackgroundAuto(true) (OPTIONAL)

  • Fix bug from mypost at OF forum [fn:offorumpost]. If flickering is a problem, there is a change you can make deep inside OF:
    1. open ofAppGlutWindow.cpp from ./libs/openFrameworks/app
    2. search replace GLUT_DOUBLE with GLUT_SINGLE
    3. search replace glutSwapBuffers with glFlush. This will help with ofSetBackgroundAuto(false), but it will make ofSetBackgroundAuto(true) look bad.
You can’t perform that action at this time.