Commit graph

18 commits

Author SHA1 Message Date
929813c587 Add more type hints, fix from_string for tonality 2024-10-02 08:31:50 +13:00
b0e0fe94ee Merge pull request 'Add documentation by Sphinx' (#1) from docs into main
Reviewed-on: #1
2024-10-02 08:29:57 +13:00
53c96a2ea5 Add documentation by Sphinx 2024-09-27 19:29:18 +12:00
0bf0531fd6 Add Forte prime form, fix darkest form and Rahn errors, use classmethods
- add the packed_left and prime_form property for Allen Forte prime
   forms
 - add type annotations
 - add from_string convenience class factory method
 - fix darkest_form to always produce the same result using left-packing
 - amend tests to correct values (eliminated duplicates in bright lists)
 - produce lists of cases where Rahn and Forte primes are not the
   "darkest" forms (smallest sum of pitch classes)
2024-09-27 19:28:10 +12:00
d6b4b07d86 Add list of bright Rahn normal forms 2024-09-27 10:00:40 +12:00
36de6f409b Tweak Leonard notation to use T and E 2024-09-27 09:59:44 +12:00
eea441b561 Rahn's book was published 1980 2024-09-27 06:40:34 +12:00
4fe7f67cb9 Add Rahn normal form, more tests 2024-09-26 00:49:50 +12:00
055026c79b Add a test for Leonard brightness conjecture 2024-09-26 00:03:50 +12:00
6f9cfb62b5 Add inversions, is_symmetrical, z_relations, split test files 2024-09-24 19:06:31 +12:00
0b968d8e48 Add interval vector calculations, tests 2024-09-23 15:23:39 +12:00
77bbc71214 Fix Leonard notation to use superscript parentheses for brightness 2024-09-23 11:56:35 +12:00
066477755d Add cardinality set methods, conformance tests 2024-09-23 11:56:20 +12:00
5e924992d4 Update README 2024-09-20 20:46:31 +12:00
1d8ec111ff Move initial story test to use tox and pytest 2024-09-20 20:35:04 +12:00
32e381e262 Add README and LICENCE 2024-09-20 16:34:17 +12:00
2e4b981aa7 Project editing and testing configuration bumpf 2024-09-20 16:33:43 +12:00
4011c1fa47 Initial WIP commit 2024-09-20 14:25:25 +12:00