comparison examples/sound/sampled/powspec.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 (define fmt (mono 22050))
6 (define size 2048)
7 (define hop 512)
8 ; get low latency input line with a buffer size of 4096
9 (define X (ft-power (ft-vec (norm (linein (linesrc-buf fmt 4096) size hop)))))
10 (define Y (diffscale X cauchy-spec))
11
12 (exec Y "trace")
13
14 (expose)
15 (start)