Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| /* | |
| Receive sensor data and play guitar sound. | |
| - Mac OS X 10.6.8 Snow Leopard | |
| - SuperCollider 3.6.5 | |
| - LilyPad Arduino USB ... https://www.sparkfun.com/products/11190 | |
| - FLORA Accelerometer (LSM303) ... http://www.adafruit.com/products/1247 | |
| */ | |
| // 1. boot |
| /* Flatten das boostrap */ | |
| .well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
| -moz-box-shadow: none !important; | |
| -webkit-box-shadow: none !important; | |
| box-shadow: none !important; | |
| -webkit-border-radius: 0px !important; | |
| -moz-border-radius: 0px !important; | |
| border-radius: 0px !important; | |
| border-collapse: collapse !important; | |
| background-image: none !important; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
| //http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Level-meter-disappearing-td2714612.html | |
| ( | |
| SynthDef(\bell, { |amp = 0.1, out = 0, azim=30, elev=1,id=10,noisy=22| | |
| var freq = id.linexp(1,30,200,800); | |
| var vol_id = id.linlin(1,20,0.6,0.3); | |
| // var xVal = noisy.linexp(0, 50, 1000, 10000); | |
| // var yVal = elev.linexp(0, 40, 1000, 10000); | |