<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,6 +8,7 @@ include Music
 module Euclid
   module_function
   def euclid(k, n)
+    raise ArgumentError, &quot;`k' must be less than `n'&quot; unless k &lt; n
     bjorklund Array.new(k, [true]) + Array.new(n - k, [false])
   end
   
@@ -42,13 +43,6 @@ module Euclid
   end
 end
 
-def cresc(factor, score)
-  group(score,
-    :velocity =&gt; env { |v0, ph|
-       v1 = (v0 + ph * ((v0 * factor) - v0)).round # Linear interpolation
-       v1.clip(0..127) })
-end
-
 def kick(*args)
   n(35, *args)
 end</diff>
      <filename>examples/euclid.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3b7d85ec2db28636fb0a614afd42d93109415463</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Voorhis</name>
    <email>jvoorhis@jeremy-voorhiss-macbook-2.local</email>
  </author>
  <url>http://github.com/jvoorhis/music.rb/commit/e0afa69ff9426d78ae3d998294551deaaf74d253</url>
  <id>e0afa69ff9426d78ae3d998294551deaaf74d253</id>
  <committed-date>2008-11-15T19:45:20-08:00</committed-date>
  <authored-date>2008-11-15T19:45:20-08:00</authored-date>
  <message>k must be less than n</message>
  <tree>8fc214712365d0b6d5321cd7ce82b8d9e4f518d8</tree>
  <committer>
    <name>Jeremy Voorhis</name>
    <email>jvoorhis@jeremy-voorhiss-macbook-2.local</email>
  </committer>
</commit>
