Permalink
Browse files

lick now requires chuck-1.3.1.0 or later

  • Loading branch information...
1 parent 7326bf4 commit 514beb196f0fa5f36910d89aad9211d793f2e183 Michael Heuer committed Sep 6, 2012
Showing with 15 additions and 4 deletions.
  1. +1 −1 ArrayList.ck
  2. +1 −1 FloatArrayList.ck
  3. +1 −1 IntArrayList.ck
  4. +9 −0 README
  5. +3 −1 examples/waveformExample.ck
View
@@ -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
@@ -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
@@ -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
@@ -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);

0 comments on commit 514beb1

Please sign in to comment.