diff --git a/oregano/Hacking.md b/oregano/Hacking.md index c1b4f38..7219083 100644 --- a/oregano/Hacking.md +++ b/oregano/Hacking.md @@ -24,7 +24,14 @@ One tricky part was a difference in the list representations between r6rs scheme ## Features added -It would be hard for first year students to use rsc3 directly. +It would be hard for first year students to use rsc3 directly, so I created simplified functions to perform common tasks of creating and controlling sounds. + +### Instruments + + +One main feature of SuperCollider is the Synthdef. + +Students could create instruments with parameters that could be changed in real-time. ## Outline diff --git a/oregano/instrument.rkt b/oregano/instrument.rkt index 9325c41..8c5d719 100644 --- a/oregano/instrument.rkt +++ b/oregano/instrument.rkt @@ -115,6 +115,7 @@ (define (play-note-at start dur inst-name freq) (define node-id (gen-node-id)) + ;; TODO (if ((eq? start 0) (send-msg (bundle start (mcons (s-new0 inst-name node-id 1 1) (mcons (n-set1 node-id "freq" freq) '())))) (send-msg (bundle (+ start dur) (mcons diff --git a/oregano/notes.md b/oregano/notes.md index 6cb2841..1bc6710 100644 --- a/oregano/notes.md +++ b/oregano/notes.md @@ -23,7 +23,7 @@ or /Applications/... #### Ubuntu 12.10 - +o Used [supercollider 3.6.6 ppa](https://launchpad.net/~supercollider/+archive/ppa) for ubuntu 12.10 Jackd needs to use the alsa driver, no real time, no mem lock, Audio: Playback Only. @@ -155,6 +155,13 @@ Rutz, H. H. (2010). "Rethinking the SuperCollider Client...". Proceedings of Sup - code to compile a synthdef: `src/overtone/sc/synth.clj` - code defines syntdef format: `src/overtone/sc/machinery/synthdef.clj` +- using: +in project page: + lein repl + (use 'overtone.core) + (connect-external-server 57110) + + ### RSC3 (Scheme)