File: init.lsp

package info (click to toggle)
nyquist 3.12%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 58,036 kB
  • sloc: ansic: 74,355; lisp: 20,485; java: 9,390; cpp: 6,695; sh: 207; xml: 58; makefile: 39
file content (46 lines) | stat: -rw-r--r-- 987 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
; init.lsp -- default Nyquist startup file
(print "nyquist/test/init.lsp is loading...")
(load "nyinit.lsp")

; add your customizations here:
;    e.g. (setf *default-sf-dir* "...")

;(echoenabled nil)
;(play (pluck c4 0.1))
;(print "type something to continue")
;(read)

;(load "convolve")

;(setf echoes (simrep (i 3) (at (* i 0.2)  (cue impulse))))
;(setf echoes (sim (cue impulse) (at (/ 32768.0 44100) (cue impulse))))
;(display "len" (snd-length echoes ny:all))

;(play (snd-convolve (pluck c4 4.0) echoes))

;(echoenabled nil)
;(sal-load "phasevocoder.sal")
;(load "long.lsp")

(setf *gc-flag* nil)
;(snd-set-max-audio-mem 5000000)
;(gc)
;(info)
;(play (setf xxx (osc c4 35)))

;(setf xx (snd-from-array 0 100.0 (vector 0 1 2 3 4 5 6 7 8 9)))
;(setf yy (force-srate 70 xx))
;(print (snd-samples yy 100))

;(s-plot (convolve (pluck c4) (osc c7 0.01)))
;(sal)

;(load "typecheck-gen.lsp")


;(load "typecheck-fns.lsp")
;(load "typechecks.lsp")

(load "regression-test.lsp")

(exit)