fractionizer: Allows to approximate the fractional numbers in the range [0.005, 1) or better [0.005, sqrt (2/3)] with sum of two unit fractions of special types.

[ #AncientEgypt, language, library, math, mit, music, sound ] [ Propose Tags ]
This version is deprecated.

Inspired by the ancient Egyptian mathematics. See the ideas description and formulation in the related draft paper.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.6.0.0, 0.6.1.0, 0.6.1.1, 0.6.1.2, 0.7.0.0, 0.7.0.1, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.11.0.0, 0.12.0.0, 0.13.0.0, 0.14.0.0, 0.14.1.0, 0.15.0.0, 0.16.0.0, 0.17.0.0 (info)
Change log CHANGELOG.md
Dependencies base (>=4.13 && <5) [details]
License MIT
Copyright Oleksandr Zhabenko
Author Oleksandr-Zhabenko
Maintainer oleksandr.zhabenko@yahoo.com
Category Math, Music, Sound, Language
Uploaded by OleksandrZhabenko at 2023-04-21T12:36:06Z
Distributions NixOS:0.17.0.0
Downloads 480 total (52 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for fractionizer-0.6.1.0

[back to package description]

Mathematical problem solution

Let's consider the problem of decomposition (approximation) of fractions that lie in the range [0.005, 1) by the sum of two fractions with 1 in the numerators (so called unit fractions) and, possibly, natural, unequal numbers in the denominators.

We will consider one of the two denominators to be a natural number, smaller than the other number in the denominator, and we will look for such a pair of numbers that, when rounded to natural numbers, will give the minimum absolute error of the resulting approximation. Mathematically, this leads to a problem and its further solution below.

Finally, we can decompose (approximate) the 1 by the sum of 2, 3, 4, 5 or more unit fractions, with likely different denominators, just as like in the Egyptian mathematics.

In relation to music, this means that we can create rhythmic patterns using these unit fractions by treating the 1 as the music bar (notes between two consequtive barlines), but this leads to patterns that use irrational music meters and together to slightly different (hopefully, not perceptible) from 1 summary duration.

The tests show that there are some numerical instability for the numbers with more digits after the dot. So we use just 3 digits as correct after the dot.

More is by the link in the package description.

Relation to music rhythm and meter

It can be used to produce music by approximation of the meter. This leads to interesting structures.

It also is directly connected to the irrational time signatures in music.

Acknowledgements

Author would like to support the foundation Gastrostars and its founder Emma Kok. The founder inspired him to conduct such a research. Besides, the author is grateful to the Hackage website for publishing the Haskell code related to the research.

On the 2023-04-19 there is the founder's namesday, the memory of St. Emma of Lesum or Emma of Stiepel (also known as Hemma and Imma). If you would like to share some financial support, please, contact the foundation using the URL:

Contact Foundation GASTROSTARS