Mercurial > hg > jslab
view examples/sound/sampled/stacker.scm @ 0:bf79fb79ee13
Initial Mercurial check in.
author | samer |
---|---|
date | Tue, 17 Jan 2012 17:50:20 +0000 |
parents | |
children |
line wrap: on
line source
(load "audio.scm") (load "functions.scm") (load "models.scm") (put "image.width" 256) (put "image.height" 16) (put "image.map.log" true) (define audioTasks (seq)) (with-tasks audioTasks (define x (ft-mag (ft-vec (norm (linein (linesrc (mono 11025)) 512 256)))))) (addtasks (Stacker. x audioTasks 16 1)) (expose)