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
| SynthDef("nick",{Out.ar(0,SinOsc.ar(Rand(300,500),0,0.3))}). | |
| ServerMeter(Server.default); | |
| { Out.ar(0, WhiteNoise.ar(0.1)) }.play; |
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
| /* File 2 in "Loopiera" | |
| 20150512, 19 | |
| Define a class to hold the data and processes (variables and methods) | |
| that are needed for each instance of a loopiera. | |
| The class must be in a file ending in .sc, and placed in the Extensions directory. | |
| Make the Extensions directory, if it does not already exist: |
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
| //: First thing to do: | |
| Server.default.boot; | |
| //: Recording! | |
| // Do this at the beginning, before setting up, but after booting the server: | |
| Server.default.prepareForRecord; | |
| //: Do this to start recording: | |
| Server.default.record; |
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
| ( | |
| f = { | list | | |
| if (list.size == 0) { | |
| [] | |
| }{ | |
| list.collect({ | x | (if (x.size > 0) { x[0] } { x })}) | |
| ++ f.(list.select ({| x | x.size > 0}).collect ({|x| x [1..]}) | |
| .select ({|x| x.size > 0})); | |
| } | |
| } |
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
| ().play; | |
| (degree: 15).play; | |
| (degree: 15, dur: 0.1).play; | |
| (degree: 15, dur: 10.1).play; |
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
| [ '*null-buffer*', 'Catholic_Church', 'Construction_Mixer_Small', 'Customer_Punks', 'Employee_BacktoTheirCountries', 'Forest', 'Forest_leaves', 'Fridge', 'GC_PlayingCards', 'Ghana_problems', 'Haircut_Machine', 'Kurd_baglama', 'Kurdish_makingTea', 'Kurdish_win', 'Magazi_Speech_Foreigners', 'Magazi_Speech_for_Housing', 'Muslims_Eating', 'Nepal_afraid', 'Pakistani_Playing_Cricket', 'Papas_Planodioi', 'Philippines_Karaoke', 'Philippines_Party_Out1', 'Philippines_Party_Out2', 'Philippines_Talking1', 'Polish_kultur', 'Pontiacs_Chatting_Noisy', 'Syria_soundOftheBomb', 'TC_PlayingCards', 'TC_nooneleft', 'Truck_incar', 'construction1', 'construction2', 'haircut1', 'haircut2', 'halloumi1_distantVehicle', 'halloumi2', 'halloumi3_onsalt', 'hodjawithnoise', 'maronites_hymn', 'maronites_hymn2', 'muslims_hymn_mobile', 'philippines_pray', 'romaSing_Kormakiti', 'talk1', 'talk2_pelop', 'tourist_zone' ] | |
| /Users/twoworlds/Library/Application Support/SuperCollider/sounds/ | |
| Names of Tiddlers: | |
| Just replace the _ from the name of |
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
| //: | |
| a = Array.newClear (10); | |
| a.put (4, 50); | |
| a.at (0); | |
| a.at (4); | |
| a add: 1000; |
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
| // Wind | |
| //: | |
| ~wind = { | freq = 1000 | | |
| // Alternative: | |
| // freq = \freq.kr (1000); | |
| LPF.ar ( | |
| WhiteNoise.ar (0.2), | |
| freq | |
| ) |
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
| *remote { arg name, addr, options, clientID; | |
| var result; | |
| result = this.new(name, addr, options, clientID); | |
| // result.startAliveThread; | |
| result.setRunningTrue; | |
| ^result; | |
| } | |
| setRunningTrue { | |
| serverRunning = true; |
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://swiki.hfbk-hamburg.de/MusicTechnology/634 |