dobutokO2 0.6.0.0 → 0.6.1.0
raw patch · 3 files changed
+6/−6 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−3
- DobutokO/Sound.hs +2/−2
- dobutokO2.cabal +1/−1
CHANGELOG.md view
@@ -43,7 +43,7 @@ * Fifth version revised C. Fixed issue with the noise reduction in the 'recAndProcess' function for the existing at the beginning file (it is not done at all in such a case). -## 0.6.0.0 -- 2020-03-08+## 0.6.1.0 -- 2020-03-08 -* Sixth version. Added the possibility to use one more String argument (maximum -- the third one) to define different signs for the harmonics coefficients for-the obertones.+* Sixth version revised A. Fixed issue with 'signsFromString' function that leads to performance penalty and to cycling. +
DobutokO/Sound.hs view
@@ -182,7 +182,7 @@ -- and sonorous consonants gives \"-\" sign (-1). Voiceless2 gives "0". Other symbols are not taken into account. signsFromString :: Int -> String -> V.Vector Int signsFromString n1 ts =- V.fromList . take n1 . concatMap (fmap (\x ->+ V.take n1 . V.fromList . concatMap (fmap (\x -> case x of Vowel _ -> 1 Voiced _ -> 1@@ -191,7 +191,7 @@ VoicelessP _ -> (-1) Sonorous _ -> (-1) SonorousP _ -> (-1)- _ -> 0) . concat . fmap representProlonged) . syllablesUkrP . cycle $ ts+ _ -> 0) . concat . fmap representProlonged) . syllablesUkrP . take (3 * n1) . cycle $ ts -- | For the given frequency of the note and a Ukrainian text it generates a 'V.Vector' of the tuples, each one of which contains -- the harmonics' frequency and amplitude. The 'String' is used to produce the signs for harmonics coefficients.
dobutokO2.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: dobutokO2-version: 0.6.0.0+version: 0.6.1.0 synopsis: A program and a library to create experimental music from a mono audio and a Ukrainian text description: It can also create a timbre for the notes homepage: https://hackage.haskell.org/package/dobutokO2