Skip to content

Instantly share code, notes, and snippets.

View iani's full-sized avatar
💭
sc-hacks, sonarts_compmus_2020, emacs-prelude-personal-arch, sc-hacks-redux, dlb

Iannis Zannos iani

💭
sc-hacks, sonarts_compmus_2020, emacs-prelude-personal-arch, sc-hacks-redux, dlb
View GitHub Profile
//:
{
30 do: {
(
degree: [0, 1, 2, 7] * (2 + 2.rand) + 10.rand,
dur: 0.12,
amp: [0.05, 0.1, 0.02].choose;
).play;
0.15.wait;
@iani
iani / helm-bindings.el
Created April 5, 2015 22:34
helm bindings for emacs (for vb)
;; must call these to initialize helm-source-find-files
(require 'helm-files) ;; (not auto-loaded by system!)
(require 'helm-projectile)
(require 'helm-swoop) ;; must be put into packages
(require 'helm-descbinds)
(helm-descbinds-mode)
;; Don't bicker if not in a project:
(setq projectile-require-project-root)
@iani
iani / testjs.html
Created April 13, 2015 18:24
test-js-load-from-any-server-html
<html>
<body>
<script src="http://localhost/testscript.js"></script>
</body>
</html>
@iani
iani / testscript.js
Created April 13, 2015 18:25
test-script-for-loading-js
window.alert("ok");
@iani
iani / button-georgia-thumbnails.html
Last active August 29, 2015 14:19
tiddler button code for georgia photos thumbnails
<$button class="tc-btn-invisible">
<$action-navigate $to="Georgia 01"/>
<img width="150px" src="PhotosGeorgia/georgia-web-selected-thumbnails/DSC_1793.jpg"></$button>
<$button class="tc-btn-invisible">
<$action-navigate $to="Georgia 02"/>
<img width="150px" src="PhotosGeorgia/georgia-web-selected-thumbnails/DSC_1857.jpg"></$button>
<$button class="tc-btn-invisible">
<$action-navigate $to="Georgia 03"/>
<img width="150px" src="PhotosGeorgia/georgia-web-selected-thumbnails/DSC_1869.jpg"></$button>
<$button class="tc-btn-invisible">
@iani
iani / recordbuf.scd
Created April 28, 2015 10:10
SuperCollider loop recording basics with RecordBuf
/*
Loopiera
*/
// 1. Record sound in a buffer
/* 1.1. Create a buffer for recording.
The buffer has a fixed size.
@iani
iani / instrpat.scd
Created May 4, 2015 13:50
Using different instruments in patterns with Pbind and Ppar
/* This part is from steal this sound ported by Nick Collins.
http://composerprogrammer.com/code.html
http://composerprogrammer.com/code/stealthissound.scd
*/
/////////////////////////////
/* Using different instruments in patterns */
@iani
iani / tolixsc.scd
Created May 4, 2015 15:55
playing glitch from tolix chair to sc
~file = FileReader.read("/Users/labuser/Documents/Tolix_A_Chair.obj");
~file[10..15];
~file select: { | x | x.size < 1 };
(
~groups = nil;
~group = nil;
~file do: { | x |
@iani
iani / loopiera1_150505.scd
Created May 5, 2015 09:33
loopiera1 150505: First steps in playing with live input playback in SuperCOllider
//========== 0. SETUP ============
// Must boot first to get sample rate!
Server.default.boot;
// After the server has booted, we can set up:
(
~recduration = 4;
@iani
iani / geekery.sh
Last active August 29, 2015 14:20
just some cool strange geeky stuff on the terminal
from: http://www.reddit.com/r/osx/comments/2rvss6/easter_eggs_in_os_x_yosemite/
telnet towel.blinkenlights.nl
say -v 'pipe organ' dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum dum
say -v cellos dum dum dum dum dum dum dum he he he ho ho ho fa lah lah lah lah lah lah fa lah full hoo hoo hoo
say -v whisper how does this make you feel
pplmloracgrvn.info, crlmjuwvgmxf.net
cat /usr/share/calendar/calendar.history