Copyright | (c) OleksandrZhabenko 2021-2024 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions | BangPatterns |
Functions provide functionality of a musical instrument synthesizer or for Ukrainian speech synthesis especially for poets, translators and writers. Is rewritten from the module Melodics.ByteString.Ukrainian.Arr for optimization purposes. Phonetic material is taken from the :
Solomija Buk, Ján Mačutek, Andrij Rovenchak. Some properties of the Ukrainian writing system. [Electronic resource] https://arxiv.org/ftp/arxiv/papers/0802/0802.4198.pdf
Synopsis
- type Sound8 = Int8
- type FlowSound = [Sound8]
- convertToProperUkrainianI8WithTuples :: Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Int8) -> Array Int (Int8, FlowSound -> Sound8) -> Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> Array Int (Int8, [Int8]) -> Array Int (Char, Int8) -> Array Int (Int8, [Int8]) -> Array Int (Char, Bool) -> Array Int (Char, Bool) -> [Char] -> FlowSound
- convertToProperUkrainianI8 :: String -> FlowSound
- isUkrainianL :: Char -> Bool
- linkFileNameI8 :: Sound8 -> Char
- дзT :: Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8
- жT :: FlowSound -> Sound8
- дT :: FlowSound -> Sound8
- гT :: FlowSound -> Sound8
- зT :: Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8
- цT :: Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8
- чT :: FlowSound -> Sound8
- шT :: FlowSound -> Sound8
- фT :: FlowSound -> Sound8
- кT :: FlowSound -> Sound8
- пT :: FlowSound -> Sound8
- сT :: Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8
- тT :: Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8
- хT :: FlowSound -> Sound8
- сьT :: FlowSound -> Sound8
- нтT :: FlowSound -> Sound8
- стT :: FlowSound -> Sound8
- тьT :: FlowSound -> Sound8
- цьT :: FlowSound -> Sound8
Basic functions
convertToProperUkrainianI8WithTuples :: Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Int8) -> Array Int (Int8, FlowSound -> Sound8) -> Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> Array Int (Int8, [Int8]) -> Array Int (Char, Int8) -> Array Int (Int8, [Int8]) -> Array Int (Char, Bool) -> Array Int (Char, Bool) -> [Char] -> FlowSound Source #
A full variant of the convertToProperUkrainianI8
function with all the elements for the getBFst'
function being
provided as Array
Int
(data tuple). Can be useful to reduce number of calculations in the complex usage scenarios.
convertToProperUkrainianI8 :: String -> FlowSound Source #
The function that uses the following correspondence between the previous data type UZPP2 and the Sound8
.
See for more implementation information:
https://oleksandr-zhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Eng.21.html#ability-to-use-your-own-durations-of-representations-of-sounds-or-phonetic-phenomena
Starting from the version 0.6.0.0:
- 2 -> 102
- 1 -> 101 0 -> 100
isUkrainianL :: Char -> Bool Source #
linkFileNameI8 :: Sound8 -> Char Source #
Can be used to map the Sound8
representation and the mmsyn6ukr-array files with some recordings.
Transformation functions
цT :: Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8 Source #
сT :: Array Int (Int8, Bool) -> Array Int ([Int8], Bool) -> Array Int ([Int8], Bool) -> FlowSound -> Sound8 Source #