comparison examples/sound/sampled/stacker.scm @ 0:bf79fb79ee13

Initial Mercurial check in.
author samer
date Tue, 17 Jan 2012 17:50:20 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bf79fb79ee13
1 (load "audio.scm")
2 (load "functions.scm")
3 (load "models.scm")
4
5 (put "image.width" 256)
6 (put "image.height" 16)
7 (put "image.map.log" true)
8
9
10 (define audioTasks (seq))
11 (with-tasks audioTasks
12 (define x (ft-mag (ft-vec (norm
13 (linein (linesrc (mono 11025)) 512 256))))))
14
15 (addtasks (Stacker. x audioTasks 16 1))
16 (expose)