This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g = GServer.default; | |
Server.default = g; | |
s = g; | |
g.reboot; | |
( | |
SynthDef(\View, { |r=0,b=0,g=0,a=1,x=0,y=0,z=10,xx=0,yy=0,zz=0,shader=0,shader_on=1| | |
GGLRenderer.gr( | |
GLighting.gr(1) | |
+ GBlending.gr(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.6) | |
project(G4L) | |
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER MATCHES "(clang)") | |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99") | |
elseif(CMAKE_BUILD_TOOL MATCHES "(msdev|devenv|nmake)") | |
message(FATAL_ERROR "MSVC does not support C99.") | |
endif() | |
set(HAS_ERROR false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hb@cupcake:~/src/overtone$ lein repl | |
"REPL started; server listening on localhost:39831." | |
user=> (use 'overtone.live) | |
28.11.2010 11:42:54 sun.reflect.GeneratedMethodAccessor6 invoke | |
INFO: boot-internal: 14907 | |
28.11.2010 11:42:54 sun.reflect.GeneratedMethodAccessor6 invoke | |
INFO: booting internal audio server listening on port: 14907 | |
nil | |
user=> Using vector unit: yes | |
Loading synthdefs from default path: /home/hb/share/SuperCollider/synthdefs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following synth makes no sense, but lin-lin produces a crash everywhere | |
<pre> | |
(defsynth linlintest [] (lin-lin 1 0.1 2 0.1 5)) | |
user=> #'user/linlintest | |
user=> (linlintest) | |
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# |