This file contains hidden or 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
# Set cache dir | |
proxy_cache_path /var/cache/nginx levels=1:2 | |
keys_zone=microcache:5m max_size=1000m; | |
# Virtualhost/server configuration | |
server { | |
listen 80; | |
server_name yourhost.domain.com; | |
# Define cached location (may not be whole site) |
This file contains hidden or 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
Mandelbulber 1.1200000000000001; | |
image_width 1920; | |
image_height 1080; | |
view_point_x -2.281805163729516; | |
view_point_y -0.0061873439325821136; | |
view_point_z -1.3466698279944149; | |
angle_alfa 270; | |
angle_beta 0; | |
zoom 1; | |
perspective 1.2; |
This file contains hidden or 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
( | |
~serverList = [Server.local]; | |
//wrap synths in common parameters | |
~synthFactory = {|name, func,l=(Server.internal),pan =({[-1,1]})| SynthDef(name, {|gate =0, atk=18, rel=10,amp=1,bus=0,doneAction=2| var out; | |
out = SynthDef.wrap(func); | |
Out.ar(bus,Mix.ar(Pan2.ar(out *amp,pan.value)) * EnvGen.ar(Env.asr(atk, 1, rel, 'linear'),gate, doneAction:doneAction)) }).load(l) }; | |
~synthFactoryPerc = {|name, func,pan =({[-1,1]}),l=(Server.internal),doneAction=2| SynthDef(name, {|gate =0, atk=18, sus=1, rel=10,amp=1,bus=0| var out; out = SynthDef.wrap(func); Out.ar(bus,Mix.ar(Pan2.ar(out * amp,pan.value)) * EnvGen.ar(Env.perc(atk,rel,1,sus),gate, doneAction:doneAction)) | |
}).send(l) }; |
This file contains hidden or 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
( | |
/* | |
launch 4 servers | |
since supercollider isn't multi-core aware, do this to load-balance audio - 1 core per server | |
*/ | |
~servers = (1..4).collect({|x| Server.new("xs"+x,NetAddr("127.0.0.1",9989-x));}); | |
~servers.collect(_.boot); | |
~servers.collect(_.makeWindow); | |
) |
This file contains hidden or 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
( | |
/* | |
boot six servers to load-balance the audio rendering across cpu cores | |
*/ | |
~z = (1..6).collect({|x| Server.new("xs"+x,NetAddr("127.0.0.1",9989-x));}); | |
~z.collect(_.boot); | |
~z.collect(_.makeWindow); | |
) | |
( |