Safe Haskell | None |
---|---|
Language | Haskell98 |
Synthesizer.LLVM.Server.CausalPacked.Speech
Synopsis
- loadMasks :: Traversable dict => dict (PhonemeType, FilePath) -> IO (dict (PhonemeType, Vector Real))
- loadMasksGrouped :: IO (Map Pitch (PhonemeType, Vector Real))
- loadMasksKeyboard :: IO (Map Pitch (PhonemeType, Vector Real))
- maskNamesGrouped :: Map Pitch (PhonemeType, FilePath)
- phonemeMask :: IO (Map Pitch (PhonemeType, Vector Real) -> VowelSynthEnv)
- vowelMask :: IO (Map Pitch (Vector Real) -> VowelSynth)
- vowelBand :: IO VowelSynth
- filterFormant :: IO (SampleRate Real -> T (T FormantControl StereoChunk) StereoChunk)
- filterFormants :: IO (SampleRate Real -> T (T (T FormantControl (T FormantControl (T FormantControl (T FormantControl FormantControl)))) StereoChunk) StereoChunk)
- type VowelSynth = SampleRate Real -> Pitch -> T (T GateChunk StereoChunk) StereoChunk
- type VowelSynthEnv = SampleRate Real -> Real -> Pitch -> T (WithEnvelopeControl StereoChunk) StereoChunk
- data EnvelopeType
- data CarrierType
- data PhonemeType
Documentation
loadMasks :: Traversable dict => dict (PhonemeType, FilePath) -> IO (dict (PhonemeType, Vector Real)) Source #
loadMasksGrouped :: IO (Map Pitch (PhonemeType, Vector Real)) Source #
loadMasksKeyboard :: IO (Map Pitch (PhonemeType, Vector Real)) Source #
phonemeMask :: IO (Map Pitch (PhonemeType, Vector Real) -> VowelSynthEnv) Source #
Like vowelMask
, but it does not simply open and close the gate abruptly.
Instead we use an envelope for fading the filtered sound in and out.
vowelMask :: IO (Map Pitch (Vector Real) -> VowelSynth) Source #
Synthesize vowels using sampled impulse responses.
vowelBand :: IO VowelSynth Source #
Synthesize vowels using bandpass filters.
filterFormant :: IO (SampleRate Real -> T (T FormantControl StereoChunk) StereoChunk) Source #
filterFormants :: IO (SampleRate Real -> T (T (T FormantControl (T FormantControl (T FormantControl (T FormantControl FormantControl)))) StereoChunk) StereoChunk) Source #
type VowelSynth = SampleRate Real -> Pitch -> T (T GateChunk StereoChunk) StereoChunk Source #
type VowelSynthEnv = SampleRate Real -> Real -> Pitch -> T (WithEnvelopeControl StereoChunk) StereoChunk Source #
data EnvelopeType Source #
Constructors
Continuous | |
Percussive |
Instances
Eq EnvelopeType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech | |
Ord EnvelopeType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech Methods compare :: EnvelopeType -> EnvelopeType -> Ordering # (<) :: EnvelopeType -> EnvelopeType -> Bool # (<=) :: EnvelopeType -> EnvelopeType -> Bool # (>) :: EnvelopeType -> EnvelopeType -> Bool # (>=) :: EnvelopeType -> EnvelopeType -> Bool # max :: EnvelopeType -> EnvelopeType -> EnvelopeType # min :: EnvelopeType -> EnvelopeType -> EnvelopeType # | |
Show EnvelopeType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech Methods showsPrec :: Int -> EnvelopeType -> ShowS # show :: EnvelopeType -> String # showList :: [EnvelopeType] -> ShowS # |
data CarrierType Source #
Instances
Eq CarrierType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech | |
Ord CarrierType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech Methods compare :: CarrierType -> CarrierType -> Ordering # (<) :: CarrierType -> CarrierType -> Bool # (<=) :: CarrierType -> CarrierType -> Bool # (>) :: CarrierType -> CarrierType -> Bool # (>=) :: CarrierType -> CarrierType -> Bool # max :: CarrierType -> CarrierType -> CarrierType # min :: CarrierType -> CarrierType -> CarrierType # | |
Show CarrierType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech Methods showsPrec :: Int -> CarrierType -> ShowS # show :: CarrierType -> String # showList :: [CarrierType] -> ShowS # |
data PhonemeType Source #
Constructors
Filtered EnvelopeType CarrierType | |
Sampled |
Instances
Eq PhonemeType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech | |
Ord PhonemeType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech Methods compare :: PhonemeType -> PhonemeType -> Ordering # (<) :: PhonemeType -> PhonemeType -> Bool # (<=) :: PhonemeType -> PhonemeType -> Bool # (>) :: PhonemeType -> PhonemeType -> Bool # (>=) :: PhonemeType -> PhonemeType -> Bool # max :: PhonemeType -> PhonemeType -> PhonemeType # min :: PhonemeType -> PhonemeType -> PhonemeType # | |
Show PhonemeType Source # | |
Defined in Synthesizer.LLVM.Server.CausalPacked.Speech Methods showsPrec :: Int -> PhonemeType -> ShowS # show :: PhonemeType -> String # showList :: [PhonemeType] -> ShowS # |