Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Data set giving formant locations for Vowel
s.
- formant :: Num n => Fn -> Fdata n -> (n, n, n)
- fdata :: Num n => Voice -> Vowel -> Fdata n
- formants :: Num n => Fdata n -> [(n, n, n)]
- data Voice
- = Soprano
- | Alto
- | CounterTenor
- | Tenor
- | Bass
- data Vowel
- type Fdata n = (Voice, Vowel, [n], [n], [n])
- data Fn
- fdata_table :: Num n => [Fdata n]
- triple :: [a] -> Maybe (a, a, a)
- triple' :: [a] -> (a, a, a)
Lookup functions
formants :: Num n => Fdata n -> [(n, n, n)] Source
Formant triples of an Fdata
.
formants (fdata Bass I) == [(250,0,60) ,(1750,-30,90) ,(2600,-16,100) ,(3050,-22,120) ,(3340,-28,120)]
Data types
Enumeration of voices.
Enumeration of vowels.
Enumeration of formant indices.
Table
fdata_table :: Num n => [Fdata n] Source
Fdata
table.