https://pypi.python.org/pypi/python-osc
Installed on macos with:
https://pypi.python.org/pypi/python-osc
Installed on macos with:
| //: | |
| \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; |
| # 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. |
| 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. |
https://www.youtube.com/watch?v=i7SrfQzGZ_A Iconic Turn: Prof. Dr. Friedrich Kittler - Das berechnete Bild -> Das errechnete Bild
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.
| ** 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 | |
| ======= |
| // 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 */]; |
| 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: |