Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lick now requires chuck-1.3.1.0 or later

  • Loading branch information...
commit 514beb196f0fa5f36910d89aad9211d793f2e183 1 parent 7326bf4
Michael Heuer authored
View
2  ArrayList.ck
@@ -46,7 +46,7 @@ public class ArrayList extends List
fun Object sample()
{
- Math.rand2(0, size() - 1) => int index;
+ Math.random2(0, size() - 1) => int index;
return get(index);
}
View
2  FloatArrayList.ck
@@ -46,7 +46,7 @@ public class FloatArrayList extends FloatList
fun float sample()
{
- return values[Math.rand2(0, size() - 1)];
+ return values[Math.random2(0, size() - 1)];
}
fun void add(float value)
View
2  IntArrayList.ck
@@ -46,7 +46,7 @@ public class IntArrayList extends IntList
fun int sample()
{
- return values[Math.rand2(0, size() - 1)];
+ return values[Math.random2(0, size() - 1)];
}
fun void add(int value)
View
9 README
@@ -25,6 +25,15 @@ LiCK includes:
- Mono and stereo Delays, FeedbackMachines
- "ChucK-Unit", an Assert class for creating unit tests
+
+LiCK requires:
+
+chuck-1.3.1.0 (chimera) or later
+
+http://chuck.cs.princeton.edu/
+http://chuck.stanford.edu/
+
+
For further documentation, please see
http://wiki.github.com/heuermh/lick
View
4 examples/waveformExample.ck
@@ -20,12 +20,14 @@
*/
-TimeSignature.common(96) @=> TimeSignature t;
+// download waveforms from http://www.adventurekid.se/AKRT
SndBuf akwf;
"samples/AKWF/AKWF_raw/AKWF_raw_0022.wav" => akwf.read;
akwf.loop(true);
+TimeSignature.common(96) @=> TimeSignature t;
+
ADSR adsr;
adsr.set(t.s, t.h, 0.9, t.e);
Please sign in to comment.
Something went wrong with that request. Please try again.