md
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
| \clock.class; | |
| 'clock'.class; | |
| Date.localtime - Date.localtime; | |
| //: | |
| \clock.window({ | w | | |
| var routine, beats = 0, textdisplay, minutes, seconds; |
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
| // ===================================================================== | |
| // SuperCollider Workspace | |
| // ===================================================================== | |
| Server.default.boot; | |
| //: | |
| Registry.at(\buffers); | |
| //: | |
| Registry.at(\buffers).keys; | |
| //: |
You
https://gist.github.com/iani/4191a0988f526e7b59d3bc33ae23b7cd 17:20You
compmus_sonarts_semwork.org 17:20You
Instructions for submitting coursework for Computer Music class @ Sonarts M.A.
Things you must do to pass the class:
- Create an account on github.
- Create a repository named: compmus_coursework_sonarts_1903
- Write your paper and upload it on the above reposiory (see step 2). Use org mode or md format.
Notes taken during discussions in class.
- ar vs kr vs
- how to work with recorded sound files
Answer:
- use Buffers. Buffer.read(…). See Buffer class
- also possible: Use DiskIn. Or to write to disk: DiskOut.
- what are the sound synthesis and sound analysis capabilities
- UGens (Help, doc.sc.org) http://doc.sccode.org/
- SCMIR Nick Collins.
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
| 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: |