Filters to explore
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
| --- | |
| layout: page | |
| title: Queen's Sailing Calendar | |
| permalink: /calendar/ | |
| type: info | |
| header_text: Queen's Sailing Calendar | |
| calendar: true | |
| --- | |
| <div class="span3"> | |
| <h3>List of 2013 Events</h3> |
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
| // One Sine: | |
| { SinOsc.ar(400, 0, 0.1) }.play; | |
| // Two Sines: | |
| ( | |
| { SinOsc.ar(400, 0, 0.1) }.play; | |
| { SinOsc.ar(800, 0, 0.1) }.play; | |
| ) | |
| // Two Sines added, in one synth: |
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
| // Pass the signal only when its amplitude is below a given threshold. | |
| ( | |
| a = { | |
| var source, clamp; | |
| source = In.ar(Server.default.options.numInputBusChannels); | |
| source = CombN.ar(source); // token effect: edit to add more fancy stuff | |
| clamp = Amplitude.kr(source) < \threshold.kr(0.1); | |
| Out.ar(0, source * clamp); |
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
| /* | |
| Resampling example | |
| For class. | |
| Wed, Mar 12 2014, 18:21 EET | |
| */ | |
| //: Create a signal; | |
| ~signal = (0..(60 * 1000)); | |
| ~signal.plot; |
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
| http://music.dartmouth.edu/~cc12/sc_code/simple_env_mod(fm,am) | |
| (Note: These are very old examples. The Spawn code refers to SC 2. Some of these do not work in SC3.) |
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
| // From: http://www.mat.ucsb.edu/275/CottleSC3.pdf | |
| {PMOsc.ar(1000, 1367, 12, mul: EnvGen.kr(Env.perc(0, 0.5), Impulse.kr(1)))}.play | |
| ( | |
| { | |
| Mix.ar( | |
| SinOsc.ar(abs((-20..20)*1367 + 1000), | |
| mul: 0.1*EnvGen.kr(Env.perc(0, 0.5), Impulse.kr(1))) | |
| )}. |
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
| This piece of info is buried deep in help, and difficult to find. | |
| However it is quite handy: It saves you from having to copy or to put aliases of folders with your own class definitions | |
| into the SuperCollider user app support dir / Extensions folder. | |
| Instead you add paths of folders like this: | |
| LanguageConfig.addIncludePath("..."); | |
| And you can exclude paths that cause problems like this: |
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
| q = { PlayBuf.ar(1, b, -1, 0, 0, 1) * 5 }.play; | |
| q.free; | |
| // | |
| ( | |
| f = { | |
| q = { PlayBuf.ar(1, b, -1, 0, 0, 1) * 5 }.play; | |
| q.free; |