8bb811cf1c
Update README with docs
2024-10-15 15:24:05 +13:00
a85898b416
Add Forte prime and name, methods to derive from decimal and forte names, tests
...
- Add properties for Forte prime (include inversions) and Forte name
- Create set class objects from the Forte name or decimal
- Fix brightest_form to use most packed to the right
- Add a dictionary of (hopefully correct!) FORTE_PRIMES
- Add tests to improve coverage
2024-10-12 21:24:10 +13:00
640a1440b3
Copy edit documentation after suggestions from B.P. Leonard
2024-10-12 16:07:19 +13:00
64dd35e1f8
Improve docstrings for Sphinx documentation
2024-10-02 13:51:52 +13:00
42d4cfb427
Replace handrolled cached property with the built-in
2024-10-02 09:35:19 +13:00
6c42477d7a
Add decimal number (bitmask), from Goyette (2012)
2024-10-02 08:44:02 +13:00
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