- Mac OSX 10.10.1
- openFrameworks latest version 0.8.4 from http://www.openframeworks.cc/download/
- ofxLua: https://github.com/danomatika/ofxLua
- XCode Version 6.1.1. (usefull tool for XCode plug-in https://vimeo.com/79061998)
- Fix bug from mypost at OF forum . If flickering is a problem, there is a change you can make deep inside OF:
- open
ofAppGlutWindow.cpp
from ./libs/openFrameworks/app
- search replace GLUTDOUBLE with GLUTSINGLE
- search replace glutSwapBuffers with glFlush. This will help with ofSetBackgroundAuto(false), but it will make ofSetBackgroundAuto(true) look bad.
- Add ofxLua from https://github.com/igoumeninja/ofxLua/tree/gea_150214 forked from https://github.com/igoumeninja/ofxLua
- Switch to latest gea version branch
- SuperCollider 3.6.2 and algorothmic-dynamic-score (https://github.com/igoumeninja/algorithmic-dynamic-score)
- Install homebrew and Boost C++ libraries
- Install Emacs and osc.el package (http://delysid.org/emacs/osc.html)
- Δημιουργία functions at Emacs 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)