Skip to content

Commit

Permalink
Fixed use of line, as per Sam's suggestion.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctford committed Aug 27, 2012
1 parent defe87c commit 7bd9396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/goldberg/variations/canone_alla_quarta.clj
Expand Up @@ -33,8 +33,8 @@
(sin-osc freq1)
(sin-osc freq2)))

(definst beep [frequency 440 duration 1.0]
(let [envelope (env-gen (line 1.0 0 duration FREE))]
(definst beep [frequency 440 duration 1]
(let [envelope (line 1 0 duration :action FREE)]
(* envelope (sin-osc frequency))))

;(tone 300)
Expand Down

0 comments on commit 7bd9396

Please sign in to comment.