Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

566 lines
29KB

  1. ;;; Perry Cook's physical model of the vocal tract as described in:
  2. ;;;
  3. ;;; Cook, Perry R. "Synthesis of the Singing Voice Using a Physically Parameterized Model of the Human Vocal Tract"
  4. ;;; Published in the Proceedings of the International Computer Music Conference, Ohio 1989
  5. ;;; and as Stanford University Department of Music Technical Report Stan-M-57, August 1989.
  6. ;;;
  7. ;;; ---- "Identification of Control Parameters in an Articulatory Vocal Tract Model, with Applications
  8. ;;; to the Synthesis of Singing," Ph.D. Thesis, Stanford University Department of Music Technical Report
  9. ;;; Stan-M-68, December 1990.
  10. ;;;
  11. ;;; ---- "SPASM, a Real-time Vocal Tract Physical Model Controller; and Singer, the Companion Software
  12. ;;; Synthesis System", Computer Music Journal, vol 17 no 1 Spring 1993.
  13. ;;;
  14. ;;; This code is a translation of Perry Cook's singer implementation originally in C.
  15. ;;; Apparently all Perry's data is aimed at srate=22050.
  16. ;;;
  17. ;;; translated from CLM singer.ins
  18. (provide 'snd-singer.scm)
  19. (if (provided? 'snd)
  20. (require snd-ws.scm)
  21. (require sndlib-ws.scm))
  22. (define two-pi (* 2 pi))
  23. (definstrument (singer beg amp data)
  24. ;; data is a list of lists very similar to the sequence of synthesize calls in Perry's original implementation.
  25. ;; Each imbedded list has the form: dur shape glot pitch glotamp noiseamps vibramt.
  26. ;; See below for examples.
  27. (let* ((durs (map car data))
  28. (dur (apply + durs))
  29. (begs (let ((bg beg))
  30. (cons beg
  31. (map (lambda (x)
  32. (set! bg (+ bg x)))
  33. durs)))))
  34. (let ((setup (car data))
  35. (beg-samps (map seconds->samples begs)))
  36. (let ((change-times (apply vector (append beg-samps (list (beg-samps (- (length beg-samps) 1))))))
  37. (shps (map cadr data))
  38. (glts (map caddr data))
  39. (pfun (let ((init (list 0.0 (* .8 (setup 3)))))
  40. (for-each (lambda (b dat)
  41. (set! init (append init (list (- b beg) (* 1.0 (dat 3))))))
  42. (cdr begs)
  43. data)
  44. init))
  45. (gfun (let ((init (list 0.0 0.0)))
  46. (for-each (lambda (b dat)
  47. (set! init (append init (list (- b beg) (* 1.0 (dat 4))))))
  48. (cdr begs)
  49. data)
  50. init))
  51. (nfun (let ((init (list 0.0 (* 1.0 (setup 5)))))
  52. (for-each (lambda (b dat)
  53. (set! init (append init (list (- b beg) (* 1.0 (dat 5))))))
  54. (cdr begs)
  55. data)
  56. init))
  57. (vfun (let ((init (list 0.0 (* 1.0 (setup 6)))))
  58. (for-each (lambda (b dat)
  59. (set! init (append init (list (- b beg) (* 1.0 (dat 6))))))
  60. (cdr begs)
  61. data)
  62. init))
  63. (noiseamps (let* ((len (length data))
  64. (v (make-float-vector len)))
  65. (do ((i 0 (+ i 1)))
  66. ((= i len))
  67. (set! (v i) (* 1.0 ((data i) 5))))
  68. v))
  69. (tractlength 9)) ;length of vocal tract
  70. (let ((frq-env (make-env pfun :duration dur))
  71. (vib-env (make-env vfun :duration dur))
  72. (vib-osc (make-oscil 6.0))
  73. (glot-env (make-env gfun :duration dur))
  74. (noise-env (make-env nfun :duration dur))
  75. (ran-vib (make-rand-interp :frequency 10 :amplitude .02))
  76. (glot-datai (make-float-vector (* 2 (length glts))))
  77. (glot-datar (make-float-vector (* 2 (length glts))))
  78. (tractlength+8 (+ tractlength 8))
  79. (tractlength+1 (+ tractlength 1))
  80. (tractlength-1 (- tractlength 1))
  81. (tractlength-2 (- tractlength 2))
  82. (noselength 6)
  83. (table-size 1000) ; size of glottis wave-table
  84. (dpole 0.998)
  85. (bg (seconds->samples beg))
  86. (tong-hump-pole 0.998)
  87. (tong-tip-pole 0.998))
  88. (let ((shape-data (make-float-vector (* (length shps) tractlength+8)))
  89. (noselength-1 (- noselength 1))
  90. (noselength-2 (- noselength 2))
  91. (nose-ring-time 1000) ; naso pharynx response decay time
  92. (table-size-over-sampling-rate (/ table-size *clm-srate*))
  93. (dgain (- 1.0 dpole))
  94. (tong-hump-gain (- 1.0 tong-hump-pole))
  95. (tong-tip-gain (- 1.0 tong-tip-pole))
  96. (last-sfd -1)
  97. (last-gfd -1)
  98. (glot-table (make-float-vector (+ 1 table-size)))
  99. (glot-table2 (make-float-vector (+ 1 table-size)))
  100. ;; (gn-table (make-float-vector (+ 1 table-size))) ;(gn-gain 0.0) ;(gn-out 0.0) ;(gn-del (make-float-vector 4))
  101. ;; (gn-coeffs (make-float-vector 4)) ; in Perry's C code, these were set in setGlotNoiseFilter but it was never called!
  102. (table-increment 0.0)
  103. (glot-refl-gain 0.7)
  104. (pitch 400.0)
  105. (last-lip-in 0.0) ;for lip reflection/transmission filter
  106. (last-lip-out 0.0)
  107. (last-lip-refl 0.0)
  108. (lip-refl-gain -0.45)
  109. (noise-gain 0.0) ;for vocal tract noise generator
  110. (noise-input 0.0)
  111. (noise-output 0.0)
  112. (noisef (make-fir-filter 4 :xcoeffs (make-float-vector 4)))
  113. (noisev #f)
  114. (noise-pos 0)
  115. (fnoiseamp 0.0)
  116. (inz1 0.0)
  117. (inz2 0.0)
  118. ;; nasal tract acoustic tube structure
  119. (nose-coeffs (make-float-vector noselength))
  120. (nose1 (make-float-vector noselength))
  121. (nose2 (make-float-vector noselength))
  122. (velum-pos 0.0)
  123. (nose-last-minus-refl 0.0)
  124. (nose-last-plus-refl 0.0)
  125. (nose-last-output 0.0)
  126. (nose-filt 0.0)
  127. (nose-filt1 0.0)
  128. (time-nose-closed 1000) ; this is a hack used to determine if we need to calculate the nasal acoustics
  129. ;; vocal tract acoustic tube structure
  130. ;; throat radiation low-pass filter
  131. (lt1 0.0)
  132. (lp (make-one-pole 0.05 (* -0.05 .9995)))
  133. (lip-radius 0.0)
  134. (s-glot-mix 1.0)
  135. (s-noise 0.0)
  136. (initial-noise-position 0.0)
  137. (formant-shift 1.0)
  138. (change-radii #f)
  139. (delta 0.0)
  140. (new-tract #t)
  141. (first-tract #t)
  142. (offset -1)
  143. (nd (floor (change-times (- (length change-times) 1))))
  144. (next-offset bg)
  145. (table-location 0.0)
  146. (glotsamp 0.0)
  147. (last-tract-plus 0.0)
  148. (alpha1 0.0)
  149. (alpha2 0.0)
  150. (alpha3 0.0)
  151. (noseposition 3)
  152. (target-radii (make-float-vector tractlength+8))
  153. (target-temp (make-float-vector tractlength+8))
  154. (radii-poles (make-float-vector tractlength+8))
  155. (radii-pole-gains (make-float-vector tractlength+8))
  156. (radii (make-float-vector tractlength+8))
  157. ; the radii array contains the vocal tract section radii
  158. ; (tractlength-1 of them), then glottal reflection gain
  159. ; then lip reflection gain, then noise position, then noise gain,
  160. ; then noise pole angle, then noise pole radius,
  161. ; then noise pole angle2, then noise pole radius2, then velum opening radius
  162. (coeffs (make-float-vector tractlength))
  163. (dline1 (make-float-vector tractlength))
  164. (dline2 (make-float-vector tractlength)))
  165. (set! noisev (mus-xcoeffs noisef))
  166. (do ((k 0 (+ k 1))
  167. (i 0 (+ i tractlength+8)))
  168. ((= k (length shps)))
  169. (let ((shp (cdr (shps k))))
  170. (do ((j i (+ j 1))
  171. (m 0 (+ 1 m)))
  172. ((= m (length shp)))
  173. (float-vector-set! shape-data j (shp m)))))
  174. (do ((k 0 (+ k 1))
  175. (i 0 (+ i 2)))
  176. ((= k (length glts)))
  177. (let ((glt (glts k)))
  178. (set! (glot-datai i) 0.0)
  179. (set! (glot-datai (+ i 1)) (car glt))
  180. (set! (glot-datar i) (cadr glt))
  181. (set! (glot-datar (+ i 1)) (caddr glt))))
  182. (set! (nose-coeffs 0) 0.0)
  183. (set! (nose-coeffs 1) -0.29)
  184. (set! (nose-coeffs 2) -0.22)
  185. (set! (nose-coeffs 3) 0.0)
  186. (set! (nose-coeffs 4) 0.24)
  187. (set! (nose-coeffs 5) 0.3571)
  188. (fill! radii 1.0) ;(do ((i 0 (+ i 1))) ((= i 8)) (set! (radii i) 1.0))
  189. (set! (radii 8) 0.7)
  190. (set! (radii 9) -0.5)
  191. (fill! target-radii 1.0) ;(do ((i 0 (+ i 1))) ((= i 8)) (set! (target-radii i) 1.0))
  192. (set! (target-radii 8) 0.7)
  193. (set! (target-radii 9) -0.5)
  194. (fill! radii-poles dpole) ;(do ((i 0 (+ i 1))) ((= i tractlength+8)) (set! (radii-poles i) dpole))
  195. (set! (radii-poles 2) tong-hump-pole)
  196. (set! (radii-poles 3) tong-hump-pole)
  197. (set! (radii-poles 4) tong-hump-pole)
  198. (set! (radii-poles 5) tong-tip-pole)
  199. (fill! radii-pole-gains dgain) ;(do ((i 0 (+ i 1))) ((= i tractlength+8)) (set! (radii-pole-gains i) dgain))
  200. (set! (radii-pole-gains 2) tong-hump-gain)
  201. (set! (radii-pole-gains 3) tong-hump-gain)
  202. (set! (radii-pole-gains 4) tong-hump-gain)
  203. (set! (radii-pole-gains 5) tong-tip-gain)
  204. ;; ---------------- make glot ----------------
  205. (let ((harms (floor (glot-datai 1)))
  206. (temp1 0.0)
  207. (temp 0.0)
  208. (sines (make-float-vector 200))
  209. (cosines (make-float-vector 200))
  210. (one-over-two-pi 0.159154943)
  211. (two-pi-over-table-size (/ two-pi table-size))
  212. (a (glot-datar 0))
  213. (b (glot-datar 1)))
  214. (let ((a2 (* two-pi a))
  215. (b2 (* two-pi b))
  216. (b-a (- b a)))
  217. (let ((sa2 (sin a2))
  218. (ca2 (cos a2)))
  219. (fill! sines 0.0)
  220. (fill! cosines 0.0)
  221. (if (not (= b a))
  222. (begin
  223. (set! temp (/ one-over-two-pi b-a))
  224. (set! temp1 (- 1.0 ca2))
  225. (set! (sines 1) (* (+ ca2 (* (- sa2 (sin b2)) temp)) temp1 one-over-two-pi))
  226. (set! (cosines 1) (* (- (* (- ca2 (cos b2)) temp) sa2) temp1 one-over-two-pi))))
  227. (set! (sines 1) (+ (sines 1) (* (- (+ 0.75 (* (cos (* 2 a2)) 0.25)) ca2) one-over-two-pi)))
  228. (set! (cosines 1) (- (+ (cosines 1) (* (- sa2 (* (sin (* 2 a2)) 0.25)) one-over-two-pi)) (* a 0.5)))
  229. (do ((k 2 (+ k 1))
  230. (ka2 (* 2 a2) (+ ka2 a2))
  231. (ka1 a2 (+ ka1 a2))
  232. (ka3 (* 3 a2) (+ ka3 a2)))
  233. ((> k harms))
  234. (if (not (= b a))
  235. (begin
  236. (set! temp (/ one-over-two-pi (* b-a k)))
  237. (set! (sines k) (* (+ (cos ka2) (* (- (sin ka2) (sin (* k b2))) temp)) (/ temp1 k)))
  238. (set! (cosines k) (* (- (* (- (cos ka2) (cos (* k b2))) temp) (sin ka2)) (/ temp1 k)))))
  239. (set! (sines k) (+ (sines k)
  240. (/ (- 1.0 (cos ka2)) k)
  241. (/ (* (- (cos ka1) 1.0) 0.5) (- k 1))
  242. (/ (* (- (cos ka3) 1.0) 0.5) (+ k 1))))
  243. (set! (sines k) (* (sines k) one-over-two-pi))
  244. (set! (cosines k) (- (+ (cosines k) (/ (sin ka2) k)) (/ (* (sin ka1) 0.5) (- k 1)) (/ (* (sin ka3) 0.5) (+ k 1))))
  245. (set! (cosines k) (* (cosines k) one-over-two-pi)))
  246. (fill! glot-table 0.0)
  247. (do ((j 0 (+ j 1))
  248. (x 0.0 (+ x two-pi-over-table-size)))
  249. ((> j table-size))
  250. (do ((k 1 (+ k 1))
  251. (kx x (+ kx x)))
  252. ((> k harms))
  253. (float-vector-set! glot-table j (+ (float-vector-ref glot-table j)
  254. (* (float-vector-ref cosines k) (cos kx))
  255. (* (float-vector-ref sines k) (sin kx)))))))))
  256. (copy glot-table glot-table2)
  257. ;; ---------------- end make glot ----------------
  258. (do ((i bg (+ i 1)))
  259. ((= i nd))
  260. (if (= i next-offset)
  261. (begin
  262. ;; time to check for new tract shapes, glottal pulse shapes etc.
  263. (set! offset (+ offset 1))
  264. (set! fnoiseamp (noiseamps offset))
  265. (if (= last-sfd -1)
  266. (set! last-sfd 0)
  267. (let ((new-sfd (+ last-sfd 8 tractlength)))
  268. (do ((j last-sfd (+ j 1))
  269. (k new-sfd (+ k 1)))
  270. ((= j new-sfd))
  271. (if (> (abs (- (shape-data j) (shape-data k))) .001)
  272. (set! new-tract #t)))
  273. (set! last-sfd new-sfd)))
  274. (set! last-gfd (if (= last-gfd -1) 0 (+ last-gfd 2)))
  275. (set! next-offset (floor (change-times (+ offset 1))))
  276. (set! delta (/ 1.0 (- next-offset i)))))
  277. (if new-tract
  278. (begin
  279. (copy shape-data target-radii last-sfd)
  280. (if first-tract
  281. (copy target-radii radii))
  282. (set! change-radii #f)
  283. (set! initial-noise-position (radii tractlength+1))
  284. (do ((j 0 (+ j 1)))
  285. ((or (= j tractlength+8)
  286. change-radii))
  287. (if (> (abs (- (target-radii j) (radii j))) 0.001)
  288. (set! change-radii #t)))))
  289. (when (or first-tract change-radii)
  290. (if (not new-tract)
  291. (begin
  292. (float-vector-multiply! radii radii-poles)
  293. (copy target-radii target-temp)
  294. (float-vector-multiply! target-temp radii-pole-gains)
  295. (float-vector-add! radii target-temp)
  296. ;; (do ((j 0 (+ j 1))) ((= j tractlength+8))
  297. ;; (float-vector-set! radii j (+ (* (float-vector-ref radii j) (float-vector-ref radii-poles j))
  298. ;; (* (float-vector-ref target-radii j) (float-vector-ref radii-pole-gains j)))))
  299. ))
  300. ;; set tract shape
  301. (do ((tj 1.0)
  302. (tk 0.0)
  303. (k 0 (+ k 1))
  304. (j 1 (+ j 1)))
  305. ((= j tractlength))
  306. (set! tk tj)
  307. (set! tj (if (zero? (float-vector-ref radii j))
  308. 1e-10
  309. (* (float-vector-ref radii k) (float-vector-ref radii k))))
  310. (float-vector-set! coeffs j (/ (- tk tj) (+ tk tj))))
  311. (set! glot-refl-gain (radii tractlength-1))
  312. (set! lip-refl-gain (radii tractlength))
  313. (set! noise-pos (floor (radii tractlength+1)))
  314. (set! noise-gain (radii (+ tractlength 2)))
  315. (let ((temp1 (radii (+ tractlength 3)))
  316. (r (radii (+ tractlength 4)))
  317. (t2 (radii (+ tractlength 5)))
  318. (r2 (radii (+ tractlength 6))))
  319. (let ((noise-angle (hz->radians temp1)) ; fricative noise generator (set noise angle and radius)
  320. (noise-angle2 (hz->radians t2)))
  321. (let ((noise-a (* -2.0 (cos (/ noise-angle formant-shift)) r))
  322. (noise-b (* r r))
  323. (noise-a2 (* -2.0 (cos (/ noise-angle2 formant-shift)) r2))
  324. (noise-b2 (* r2 r2)))
  325. (set! (noisev 0) (+ noise-a noise-a2))
  326. (set! (noisev 1) (+ noise-b noise-b2 (* noise-a noise-a2)))
  327. (set! (noisev 2) (+ (* noise-a2 noise-b) (* noise-b2 noise-a)))
  328. (set! (noisev 3) (* noise-b2 noise-b)))))
  329. (set! lip-radius (radii tractlength-2))
  330. (set! velum-pos (radii (+ tractlength 7)))
  331. (let ((leftradius (radii (- noseposition 2)))
  332. (rightradius (radii (- noseposition 1))))
  333. (let ((temp (max (- rightradius velum-pos) 0.0)))
  334. ;; nasal tract (set nasal shape)
  335. (set! alpha1 (* leftradius leftradius))
  336. (set! alpha2 (* temp temp)))
  337. (set! alpha3 (* velum-pos velum-pos)))
  338. (let ((temp1 (/ 2.0 (+ alpha1 alpha2 alpha3))))
  339. (set! alpha1 (* alpha1 temp1))
  340. (set! alpha2 (* alpha2 temp1))
  341. (set! alpha3 (* alpha3 temp1))))
  342. (if new-tract
  343. (begin
  344. (set! new-tract #f)
  345. (set! first-tract #f)
  346. (if (or (< s-noise 1.0) (< fnoiseamp 0.0001))
  347. (set! (target-radii tractlength+1) initial-noise-position))))
  348. (set! s-glot-mix (- s-glot-mix delta))
  349. (set! s-noise (env noise-env))
  350. (set! pitch (env frq-env))
  351. (set! table-increment (* pitch (+ 1.0 (* (env vib-env) (oscil vib-osc)) (rand-interp ran-vib)) table-size-over-sampling-rate))
  352. (set! last-lip-out (+ last-lip-in last-tract-plus))
  353. (set! last-lip-refl (* (+ last-lip-in last-tract-plus) lip-refl-gain))
  354. (set! last-lip-in last-tract-plus)
  355. ;; next glot tick
  356. (set! glotsamp (* (dline2 1) glot-refl-gain))
  357. (if (not (= table-increment 0.0))
  358. (begin
  359. (set! table-location (+ table-location table-increment))
  360. (if (>= table-location table-size)
  361. (set! table-location (- table-location table-size)))
  362. (let* ((int-loc (floor table-location))
  363. (table1 (glot-table int-loc)))
  364. (set! glotsamp (+ glotsamp (* (env glot-env) (+ table1 (* s-glot-mix (- (glot-table2 int-loc) table1)))))))))
  365. ;; next tract tick
  366. (let ((j 0)
  367. ;(temp1 0.0)
  368. (temp (dline2 2)))
  369. (set! lt1 (one-pole lp (+ (dline1 2) temp)))
  370. (set! (dline2 1) (+ temp (* (coeffs 1) (- glotsamp temp))))
  371. (set! temp (- (+ glotsamp (dline2 1)) temp))
  372. (set! temp (singer-filter 1 noseposition temp dline1 dline2 coeffs))
  373. (set! j noseposition) ;added
  374. ;;next nasal tick
  375. (let ((plussamp (dline1 (- j 1)))
  376. (minussamp (dline2 (+ j 1)))
  377. (nose-reftemp 0.0))
  378. (if (and (= velum-pos 0.0)
  379. (>= time-nose-closed nose-ring-time))
  380. (let ((nose2-1 (float-vector-ref nose2 1)))
  381. (set! nose-reftemp (+ (* alpha1 plussamp) (* alpha2 minussamp) (* alpha3 nose2-1)))
  382. (set! nose-last-minus-refl (- nose-reftemp plussamp))
  383. (set! nose-last-plus-refl (- nose-reftemp minussamp)))
  384. (begin
  385. (set! time-nose-closed
  386. (if (= velum-pos 0.0)
  387. (+ time-nose-closed 1) ; added 1 bil 17-Apr-11 but didn't test it
  388. 0))
  389. ;; nasal tick
  390. (let ((nose-reftemp (+ (* alpha1 plussamp) (* alpha2 minussamp) (* alpha3 (nose2 1)))))
  391. (let (;(nose-t1 0.0)
  392. (nose-temp 0.0)
  393. (plus-in (* velum-pos (- nose-reftemp (nose2 1)))))
  394. (set! nose-last-minus-refl (- nose-reftemp plussamp))
  395. (set! nose-last-plus-refl (- nose-reftemp minussamp))
  396. (set! nose-reftemp (* (nose-coeffs 1) (- plus-in (nose2 2))))
  397. (set! (nose2 1) (+ (nose2 2) nose-reftemp))
  398. (set! nose-temp (singer-nose-filter noselength-1 (+ plus-in nose-reftemp) nose1 nose2 nose-coeffs))
  399. (set! nose-reftemp (* (nose-coeffs noselength-1) (- (nose1 noselength-2) (* nose-last-output 0.25))))
  400. (set! (nose2 noselength-1) (+ (* nose-last-output 0.25) nose-reftemp))
  401. (set! (nose1 noselength-1) (+ (nose1 noselength-2) nose-reftemp))
  402. (set! (nose1 noselength-2) nose-temp)
  403. (set! nose-filt1 nose-filt)
  404. (set! nose-filt (nose1 noselength-1))
  405. (set! nose-last-output (* (+ nose-filt nose-filt1) 0.5))))))
  406. (set! (dline2 j) nose-last-minus-refl))
  407. (set! (dline1 (- j 1)) temp)
  408. ;; j always starts at 4, goes to 8 so this loop can be unrolled, but doing so doesn't make a big difference
  409. (set! temp (singer-filter noseposition tractlength-1 nose-last-plus-refl dline1 dline2 coeffs))
  410. (set! (dline2 tractlength-1) (+ last-lip-refl (* (coeffs tractlength-1) (- (dline1 tractlength-2) last-lip-refl))))
  411. (set! (dline1 tractlength-1) (- (+ (dline1 tractlength-2) (dline2 tractlength-1)) last-lip-refl))
  412. (set! (dline1 tractlength-2) temp)
  413. (if (not (= noise-gain 0.0))
  414. (begin
  415. (set! noise-input (mus-random 1.0)) ;a guess
  416. (set! noise-output (- noise-input inz2 (fir-filter noisef noise-output)))
  417. (set! inz2 inz1)
  418. (set! inz1 noise-input)
  419. (set! (dline1 noise-pos) (+ (dline1 noise-pos) (* noise-output noise-gain s-noise)))))
  420. (set! last-tract-plus (* (dline1 tractlength-1) lip-radius)))
  421. (outa i (* amp (+ last-lip-out nose-last-output lt1))))))))))
  422. #|
  423. (with-sound (:statistics #t)
  424. (singer 0 .1 (list (list .4 ehh.shp test.glt 523.0 .8 0.0 .01) (list .6 oo.shp test.glt 523.0 .7 .1 .01))))
  425. (with-sound (:statistics #t)
  426. (singer 0 .1 (list (list .05 ehh.shp test.glt 523.0 0.8 0.0 .01)
  427. (list .15 ehh.shp test.glt 523.0 0.8 0.0 .01)
  428. (list .05 kkk.shp test.glt 523.0 0.0 0.0 .01)
  429. (list .05 kkk.shp test.glt 523.0 0.0 0.0 .01)
  430. (list .02 kk+.shp test.glt 523.0 0.0 1.0 .01)
  431. (list .08 kk+.shp test.glt 523.0 0.0 0.2 .01)
  432. (list .05 ooo.shp test.glt 523.0 0.8 0.0 .01)
  433. (list .15 ooo.shp test.glt 523.0 0.8 0.0 .01)
  434. (list .05 eee.shp test.glt 523.0 0.8 0.0 .01)
  435. (list .15 eee.shp test.glt 523.0 0.8 0.0 .01)
  436. (list .05 ehh.shp test.glt 523.0 0.8 0.0 .01)
  437. (list .15 ehh.shp test.glt 523.0 0.8 0.0 .01)
  438. (list .05 mmm.shp test.glt 523.0 0.8 0.0 .01)
  439. (list .15 mmm.shp test.glt 523.0 0.8 0.0 .01)
  440. (list .10 mmm.shp test.glt 523.0 0.0 0.0 .01) )))
  441. |#
  442. (define test.glt (list 10 .65 .65))
  443. (define loud.glt (list 13 .6 .6))
  444. (define soft.glt (list 13 0.65 0.73))
  445. (define wide4.glt (list 18 0.534 0.56))
  446. (define wide5.glt (list 10 0.65 0.65))
  447. (define greekdefault.glt (list 20 0.65 0.672472))
  448. (define lowbass.glt (list 99 0.5 0.17737593))
  449. (define aa.shp (list 8 0.63110816 0.94615144 1.0756062 0.9254686 0.9928594 0.98307705 1.4507878 0.95167005 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  450. (define hh2.shp (list 8 0.928177 0.61326 0.39779 0.530387 0.679558 0.961326 1.44199 1.09392 0.7 -0.203125 1.0 0.0 554.1667 0.8 2000.0 0.772222 0.0))
  451. (define dhh.shp (list 8 0.828729 1.45856 0.9882353 0.662983 0.9352941 1.2529411 0.40588236 1.1740758 0.7 -0.140625 7.0 0.023333002 3039.613 0.691692 1264.1677 0.404788 0.0))
  452. (define aah.shp (list 8 0.8214024 0.7839217 1.0981537 0.9937591 0.817757 1.1907763 1.3149668 1.0705689 0.7 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  453. (define hhh.shp (list 8 0.928177 0.61326 0.39779 0.530387 0.679558 0.961326 1.44199 1.09392 0.7 -0.203125 1.0 0.046296295 554.1667 0.8 2000.0 0.7722222 0.0))
  454. (define ohh.shp (list 8 1.02762 0.696133 0.39779 0.513812 0.6371682 1.4070797 1.80663 0.5044248 0.7 -0.2 1.0 0.0 1000.0 0.0 0.0 0.0 0.0))
  455. (define ah.shp (list 8 0.7162393 0.6389201 0.8881412 0.6060006 1.293248 1.4140776 1.8503952 0.8622935 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  456. (define oo.shp (list 8 0.46043858 1.0865723 0.33916336 0.88724023 0.9989101 1.224445 0.39867023 0.506609 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  457. (define ahh.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 1.65746 1.62431 0.944751 0.7 -0.45 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  458. (define ee-.shp (list 8 0.928177 1.37569 1.37569 0.679558 0.629834 0.24817872 0.56896555 0.662983 0.7 -0.403125 1.0 0.0 0.0 0.0 0.0 0.0 0.09677419))
  459. (define hoo.shp (list 8 1.32597 1.29282 0.39779 0.530387 1.32597 1.34254 1.78182 0.46408796 0.7 -0.4 1.0 0.031045755 2215.7856 0.82698005 1026.6984 0.96960765 0.0))
  460. (define ooo.shp (list 8 1.32597 1.29282 0.39779 0.530387 1.32597 1.34254 1.78182 0.464088 0.7 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  461. (define ee.shp (list 8 1.02 1.637 1.67 1.558 0.952 0.501 0.681 0.675 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  462. (define ih.shp (list 8 0.72092783 1.2719809 1.3881364 0.6532612 0.7501422 0.65654784 0.8194081 0.6556785 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  463. (define ee2.shp (list 8 0.9180887 1.3481673 1.3433423 0.74573994 0.593326 0.5647744 0.6692766 0.7419633 0.7 -0.405254 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  464. (define ihh.shp (list 8 0.7906788 1.272475 1.4089537 0.68072784 0.62673146 0.7479623 0.7506758 0.7054355 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  465. (define open.shp (list 8 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 0.7 -0.45 1.0 0.0 0.0 0.0 1.0 0.0 0.0))
  466. (define thh.shp (list 8 0.828729 1.45856 0.9882353 0.662983 0.9352941 1.2529411 0.40588236 1.1740758 0.7 -0.140625 7.0 0.101764 3039.613 0.691692 1264.1677 0.404788 0.0))
  467. (define aw.shp (list 8 1.0525645 0.643587 0.935229 0.4901642 1.0743295 1.1822895 1.4161918 0.82537806 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  468. (define eee.shp (list 8 0.928177 1.37569 1.37569 0.679558 0.629834 0.646409 0.56896555 0.662983 0.7 -0.403125 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  469. (define tt+.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.18584079 1.62431 0.944751 0.7 -0.45 6.0 0.388889 10514.583 0.854335 1315.2043 0.280428 0.0))
  470. (define aww.shp (list 8 1.02762 0.696133 0.563536 0.513812 0.977901 1.37569 1.80663 0.712707 0.7 -0.2 1.0 0.0 1000.0 0.0 0.0 0.0 0.0))
  471. (define eee2.shp (list 8 0.928177 1.37569 1.37569 0.679558 0.629834 0.646409 0.5117647 0.662983 0.7 -0.203125 7.3688526 0.0 5214.53 0.975806 0.0 0.0 0.0))
  472. (define jjj.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.1592921 1.1464338 0.944751 0.7 -0.45 6.0 0.098039 2315.7278 0.7089554 3066.7 0.7983351 0.0))
  473. (define ttt.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.0 1.62431 0.944751 0.7 -0.45 6.0 0.388889 10514.583 0.854335 1315.2043 0.280428 0.0))
  474. (define bb2.shp (list 8 1.0 1.0 0.46902645 0.5486725 0.65486723 1.079646 1.3982301 0.0 0.7 -0.2 8.0 0.03 500.0 0.98 0.0 0.0 0.0))
  475. (define eh.shp (list 8 0.7866194 1.1630946 1.2335452 0.93186677 0.94121367 0.7586716 1.3509308 0.8279036 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  476. (define kk+.shp (list 8 0.8214024 0.7839217 1.0981537 0.1592921 1.061947 1.1907763 1.3149668 1.0705689 0.7 -0.4 4.0 0.4 2000.0 0.93 0.0 0.0 0.0))
  477. (define pipe1.shp (list 8 1.0 1.0 1.0 0.7 0.7 0.7 0.7 0.7 0.0 0.0 1.0 0.0 100.0 0.0 0.0 0.0 0.0))
  478. (define tzz.shp (list 8 0.828729 1.45856 0.9882353 0.662983 0.9352941 1.2529411 0.40588236 1.1740758 0.7 -0.140625 7.0 0.101764 3039.613 0.691692 1264.1677 0.404788 0.0))
  479. (define bbb.shp (list 8 1.0 1.0 0.46902645 0.5486725 0.65486723 1.079646 1.3982301 0.0 0.7 -0.2 8.0 0.03 500.0 0.98 0.0 0.0 0.0))
  480. (define ehh.shp (list 8 0.682 1.554 1.581 1.367 1.315 1.579 0.843 1.476 0.7 -0.24507 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  481. (define kk2.shp (list 8 0.82140243 0.7839217 1.0981537 0.0 1.061947 1.1907763 1.3149668 1.0705689 0.7 -0.4 5.0 0.01 2000.0 0.93 0.0 0.0 0.0))
  482. (define pp+.shp (list 8 1.0 1.0 0.3362832 0.49557513 0.7079646 1.2389379 1.1327434 0.29203534 0.7 -0.2 8.0 0.040740736 0.0 0.89649165 2082.2144 0.8713607 0.0))
  483. (define uhh.shp (list 8 0.928177 0.61326 0.39779 0.530387 0.679558 0.961326 1.44199 1.09392 0.7 -0.203125 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  484. (define big.shp (list 8 3.0 3.0 3.0 3.0 3.0 3.0 3.0 3.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0))
  485. (define euu.shp (list 8 0.9285748 1.3756071 1.3747121 0.6794088 0.60398144 0.43471563 0.8356653 0.7158814 0.7 -0.403122 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  486. (define kkk.shp (list 8 0.8214024 0.7839217 1.0981537 0.0 1.061947 1.1907763 1.3149668 1.0705689 0.7 -0.4 4.0 0.09444445 2000.0 0.93 0.0 0.0 0.0))
  487. (define ppp.shp (list 8 1.0 1.0 0.3362832 0.49557513 0.7079646 1.2389379 1.1327434 0.0 0.7 -0.2 8.0 0.05 500.0 0.98 0.0 0.0 0.0))
  488. (define uu.shp (list 8 0.45291674 1.0539645 0.39576897 0.8116293 1.0510263 1.1789232 0.47529656 0.62563825 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  489. (define fff.shp (list 8 0.93787295 0.70496833 0.8969878 0.60815966 0.9375178 0.7412625 1.1285298 0.2665695 0.7 -0.202603 8.0 0.10341219 8236.909 0.945306 79.28094 0.498648 0.0))
  490. (define ll2.shp (list 8 0.928177 0.779006 0.71772796 0.807417 1.02762 1.65746 0.36206907 0.86510503 0.7 -0.258055 1.0 0.0 0.0 0.0 0.0 0.0 0.20806663))
  491. (define uuu.shp (list 8 0.55 0.943094 1.035 0.434071 1.14681 1.487 0.555 0.656 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  492. (define lll.shp (list 8 0.928177 0.779006 0.7330638 0.8156748 1.02762 1.65746 0.3620689 0.944751 0.7 -0.103125 1.0 0.0 0.0 0.0 0.0 0.0 0.21774194))
  493. (define rolledr.shp (list 8 0.3365169 0.9244819 1.0542682 0.4485168 1.0597233 0.054845095 0.66896766 0.8336522 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  494. (define vvv.shp (list 8 0.9400966 0.6775904 0.88759726 0.59890866 0.9485658 0.737778 1.1542239 0.23893797 0.7 -0.2 8.0 0.5 8500.0 0.95 0.0 0.5 0.0))
  495. (define rolledrc.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.0 1.62431 0.944751 0.7 -0.45 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  496. (define mmm.shp (list 8 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.0 0.7 -0.2 1.0 0.0 0.0 0.0 0.0 0.0 0.503268))
  497. (define rolledro.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.42477876 1.62431 0.944751 0.7 -0.45 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  498. (define breath.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 1.65746 1.62431 0.944751 0.7 -0.45 1.0 0.018518519 2588.6013 0.90612125 812.6343 0.9814815 0.0))
  499. (define moo.shp (list 8 1.32597 1.29282 0.39779 0.530387 1.32597 1.34254 1.78182 0.0 0.7 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.30645162))
  500. (define rr2.shp (list 8 0.3365169 0.9244819 1.0542682 0.4485168 1.0597233 0.71856207 0.66896766 0.7274576 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 32.000004 0.0))
  501. (define chh.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.1592921 1.1464338 0.944751 0.7 -0.45 6.0 0.098039 2315.7278 0.7089554 3066.7 0.7983351 0.0))
  502. (define gg2.shp (list 8 0.8214024 0.4122405 0.40788835 0.0 0.8495575 0.7129002 0.7308959 0.7785335 0.7 -0.4 4.0 0.05 2000.0 0.9 0.0 0.0 0.0))
  503. (define nng.shp (list 8 1.0 1.0 1.0333333 0.0 1.0 0.99999994 0.9568965 1.3189656 0.7 -0.2 1.0 0.0 0.0 0.0 0.0 0.0 1.0))
  504. (define rrr.shp (list 8 0.3365169 0.9244819 1.0542682 0.4485168 1.0597233 0.71856207 0.66896766 0.7274576 0.9 -0.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  505. (define wsp.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 1.65746 1.62431 0.944751 0.7 -0.45 1.0 0.018518519 0.0 0.97 0.0 0.0 0.0))
  506. (define ggg.shp (list 8 0.8214024 0.7839217 1.0981537 0.0 0.8495575 0.7129002 0.7308959 0.7785335 0.7 -0.4 4.0 0.05 2000.0 0.9 0.0 0.0 0.0))
  507. (define nnn.shp (list 8 1.0 1.0 1.0 1.4579439 1.0 0.0 0.9568965 1.3189656 0.7 -0.2 1.0 0.0 0.0 0.0 0.0 0.0 0.503268))
  508. (define sh2.shp (list 8 0.828729 1.45856 0.9882353 0.662983 0.9352941 1.2529411 0.40588236 0.9882353 0.7 -0.140625 7.0 0.0 2451.5984 0.928097 2957.0518 0.883636 0.0))
  509. (define xx2.shp (list 8 0.928177 1.37569 1.37569 0.8495575 0.3451327 0.646409 0.56896555 0.662983 0.7 -0.403125 5.0 0.022222 2102.0833 0.805556 1735.4166 0.759259 0.0))
  510. (define dd2.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.0 0.72165513 0.5996184 0.7 -0.45 6.0 0.02 4851.6665 0.953704 2500.0 0.966296 0.0))
  511. (define ggg1.shp (list 8 0.8214024 0.7839217 1.0981537 0.18584079 1.061947 1.1907763 1.3149668 1.0705689 0.7 -0.4 4.0 0.4 2000.0 0.9 0.0 0.0 0.0))
  512. (define noisahh.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 1.65746 1.62431 0.944751 0.7 -0.45 1.0 0.005 0.0 0.787037 3777.0835 0.759259 0.0))
  513. (define shh.shp (list 8 0.828729 1.45856 0.9882353 0.662983 0.9352941 1.2529411 0.40588236 0.9882353 0.7 -0.140625 7.0 0.023333 2451.5984 0.9280972 2957.0518 0.88363576 0.0))
  514. (define xxx.shp (list 8 0.928177 1.37569 1.37569 0.3451327 0.6371682 0.646409 0.56896555 0.662983 0.7 -0.403125 4.0 0.022222219 2102.0833 0.8055556 612.5 0.7592593 0.0))
  515. (define ddd.shp (list 8 0.928177 0.779006 0.629834 0.629834 1.02762 0.0 0.72165513 0.5996184 0.7 -0.45 6.0 0.02 4851.6665 0.953704 2500.0 0.966296 0.0))
  516. (define gxx.shp (list 8 0.928177 1.37569 1.37569 0.3451327 0.6371682 0.646409 0.56896555 0.662983 0.7 -0.403125 4.0 0.022222 2102.0833 0.805556 612.5 0.759259 0.0))
  517. (define none.shp (list 8 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0))
  518. (define sss.shp (list 8 0.928177 1.3588235 1.3588235 0.679558 0.61764705 0.63529414 0.31764707 0.65294117 0.7 -0.103125 7.0 0.105292 1500.0 0.916452 4943.75 0.97222227 0.0))
  519. (define zzz.shp (list 8 0.928177 1.3588235 1.3588235 0.679558 0.61764705 0.63529414 0.31764707 0.65294117 0.7 -0.103125 7.0 0.016 1500.0 0.9257112 4943.75 0.925926 0.0))