aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-16 11:12:58 +0200
committerThomas White <taw@physics.org>2021-05-16 11:12:58 +0200
commit558aa46d0b73770665186bff0cc10ad76b0746ad (patch)
treeaec074aabb6ecbf78a0f729f1c49cad93e43f47f /examples
parentb77fa5eabb1318a71966fe4cb736c047b4051c6a (diff)
Get rid of time parameter and use clock objects for cross-fades
Because we can stop a clock object, but not "gettimeofday".
Diffstat (limited to 'examples')
-rw-r--r--examples/demo.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/demo.scm b/examples/demo.scm
index 1821d1a..11f0803 100644
--- a/examples/demo.scm
+++ b/examples/demo.scm
@@ -93,9 +93,11 @@
;; Functions can be assigned to parameters
-(at foh1 'intensity (lambda (time)
- (* 50
- (+ 1 (sin (* 2 time))))))
+;; (temporarily disabled - time parameter is gone, should use
+;; clock objects instead)
+;;(at foh1 'intensity (lambda (time)
+;; (* 50
+;; (+ 1 (sin (* 2 time))))))
;; Effects library