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
@iani
iani / python-osc.org
Created March 23, 2018 08:12
org-babel code for sending osc from python to supercollider
@iani
iani / quant example in sc-hacks
Created November 2, 2018 14:46
Using shared quant and TempoClock in sc-hacks
//:
\quant <+.synchro1 1;
//:
\synchro1.e[\clock] = TempoClock();
//:
(dur: 1, degree: (0..5).pseq) +>.synchro1 \test1;
//:
(dur: 2, degree: 2) +>.synchro1 \test2;
//:
(dur: 0.5, degree: 4) +>.synchro1 \test2;
@iani
iani / hugoconfig.toml
Created December 10, 2018 13:22
configure hugo for github etc.
# Beginning of config file. Comments describe purpose.
# baseURL = "/"
# deploying on github
baseURL = "https://iani.github.io/compmus-class"
# alternative for other base urls, as command to compile with custom url:
# hugo -b "https://iani.github.io/compmus-class"
# see: -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/
# at: https://gohugo.io/commands/hugo/
# relativeURLS = true
canonifyurls = true # This fixes urls. Without it, links to style or pages are broken.
@iani
iani / esp8266_wifi_troubleshoot.py
Created December 10, 2018 17:16
Troubleshoot access to RPI-based wifi from ESP8266
print("importing time")
import time
print("done. importing osc components")
for x in range(0, 11):
print('counting up to 10:')
print(x)
time.sleep(1.0) # Delay for 1 second.
@iani
iani / kittler-videos-media-theory.org
Created December 11, 2018 05:57
F. A. Kittler: Collected Video links + notes on Media Theory

Recommended for a start:

https://www.youtube.com/watch?v=i7SrfQzGZ_A Iconic Turn: Prof. Dr. Friedrich Kittler - Das berechnete Bild -> Das errechnete Bild

Conrad Ferdinand Meyer / Rem Koolhaas / Hans Ulrich Obrist

Friedrich Kittler: Interview-Marathon Deutschland, ARCH+/Rem Koolhaas/Hans Ulrich Obrist/documenta 12 magazines

See Kittler interview on vimeo, about how he chose Meyer as object for his study.

@iani
iani / SONARTSCompMusClass3
Last active December 14, 2018 15:03
Notes on 3d session of Computer music class @ SONARTS IU
** 13:20 Computer Music Class Master Course, session 3 :compmus:sonarts:class:
:PROPERTIES:
:DATE: <2018-12-14 Fri 15:00>
:END:
Etherpad notebook:
https://beta.etherpad.org/p/ComputerMusic3
=======
@iani
iani / forwardosc.scd
Last active December 31, 2018 04:44
forwarding osc messages (for nymphs telematic dance project). Needs sc-hacks
// 30 Dec 2018 22:05 with Nikos Charalambidis
// Ekaterini <-> Tokyo
//:add oscfunc for forwarding.
//Use Registry to keep the trace function:
Registry(\forwardfunc, {
var forwardAddr, hosts;
// you can add more hosts here!
// var forwardAddr2; // example of one more host
forwardAddr = NetAddr("25.80.47.40", 57120);
hosts = [forwardAddr /*, forwardAddr2 */];
@iani
iani / concatenatesensorargs.py
Created December 30, 2018 13:40
concatenate input data arrays from sensor for sending on OSC
while True:
print("sending to osc at address:")
print(clientIP)
# osc.send('/controls/frobnicator', 42, 3.1419, "spamm")
# time.sleep(1.0)
# # print("will send accelerometer next:")
# # time.sleep(1.0)
# USE + TO CONCATENATE DATA!!!!!!!!!!!
# alldata = sensor.accelerometer + sensor.magnetometer + sensor.gyroscope
# SEND ALL DATA LIKE THIS:
@iani
iani / compmus_roadmapSS19.org
Created January 21, 2019 10:46
roadmap computer music class

Roadmap till March 2019

Make the magneticdance system plug and play

Get started on chordata based motion tracking

Prepare a 3d graphics demo attached to magneticdance

Demo SC audio server on google + docker

@iani
iani / compmus_mediaart_research_inst.org
Last active January 21, 2019 12:22
institutions4MA_and_research

mtg Computer Music Class

c/o Stratos Bichakis: Christopher Bauder : White Void Studio