aftovolio-0.5.1.0: An AFTOVolio implementation for creating texts with special phonetic / prosodic properties.
Copyright(c) OleksandrZhabenko 2021-2024
LicenseMIT
Maintaineroleksandr.zhabenko@yahoo.com
Safe HaskellSafe-Inferred
LanguageHaskell2010
ExtensionsBangPatterns

Aftovolio.Ukrainian.Melodics

Description

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

Basic functions

type Sound8 = Int8 Source #

Is used to signify the optimization data type of Int8.

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

linkFileNameI8 :: Sound8 -> Char Source #

Can be used to map the Sound8 representation and the mmsyn6ukr-array files with some recordings.

Transformation functions