-
Notifications
You must be signed in to change notification settings - Fork 0
/
OM-Chant.omlib
73 lines (60 loc) · 2.75 KB
/
OM-Chant.omlib
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
;============================================================================
; OM-Chant
; Control CHANT synthesis from OpenMusic
;============================================================================
;
; This program is free software. For information on usage
; and redistribution, see the "LICENSE" file in this distribution.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
;
;============================================================================
; J. Bresson, M. Stroppa (2010-2019)
;============================================================================
(:om-lib
(:version 3.1)
(:doc "OM-CHANT is a library for the control of CHANT synthesis from OpenMusic.
The CHANT synthesizer (X. Rodet, Y. Potard, IRCAM - 1984) is set up according to one of 11 available patches, corresponding to different configurations of a FOF generator, a NOISE generator, a SOUND file player and a resonant FILTER.
Each of these modules is controlled by a continuous sequence of states. The synthesizer automatically interpolates between two successive states specified for each modules.
The CHANT synthesizer can be controlled by a file in the SDIF format.
OM-CHANT provides tools for creating this control file and for calling the CHANT synthesizer in OM visual programs.
Some automatic calculation andc orrection rules adapted from previous Chant implementations are also available.
OM-CHANT also provides higher-level control structures under the form of matrices, representing 'CHANT events'.
")
(:author "J. Bresson, M. Stroppa, IRCAM (2010-2019)")
;;; SOURCE FILES TO LOAD
(:source-files
"sources/omsharp-chant-prefs"
"sources/chant-sdif"
"sources/chant-synth"
"sources/formants"
"sources/chant-auto-rules"
"sources/impulse"
"sources/chant-evts-omsharp"
"sources/transitions"
"sources/morphing-omsharp"
;"sources/chant-maquette"
)
;;; SYMBOLS VISIBLE AND ACCESSIBLE THROUGH THE OM PACKAGE TREE
(:symbols
(:packages
(:package
(:name "Synthesize")
(:functions chant-synth synthesize))
(:package
(:name "SDIF")
(:functions chant-patch write-chant-sdif-file gen-chant-sdif-frames))
(:package
(:name "Formants")
(:functions vowel-formants database-formants get-database-ids random-vowel add-formants complete-formants main-formants))
(:package
(:name "Rules")
(:functions autoamp fcomp autobw cslope autobend autotex spcor))
(:package
(:name "Events")
(:classes ch-f0 ch-noise ch-snd ch-fof ch-flt ch-channels phoneme)
(:functions ch-transitions gen-chant-channels gen-inter-event gen-inter-fofs fof-morph))
))
)