Commit Graph

47 Commits

Author SHA1 Message Date
7cfc92db3d Changes to triplet characters 2023-12-10 14:45:58 +02:00
8f5d8adf48 Added pick and select for lists
Pick: (1 2 3 4)?4 or (1 2 3 4)?(3 2)
Select: (1 2 3 4)~2 or (1 2 3 4)~(2 3)
2023-04-26 21:14:21 +03:00
5d122a90e0 Added parsing for monzos and support for escaped pitch_classes
Syntax for monzos supported in scala scales: [-1 1> etc.

Support for escaped pitches: {q12 e23 26}
2023-03-16 22:29:24 +02:00
882a9a7b4b Adding support for ratio operations 2023-03-15 23:42:34 +02:00
95b69d1d41 Added support for m-EDO and EDJI notation 2023-03-15 22:53:31 +02:00
bd2a1587d7 Added experimental scala scale parser 2023-03-10 18:41:50 +02:00
323b41b36e Added samples and prefixes to variables 2023-03-05 18:45:14 +02:00
13f68f7ee7 Moving things around 2023-03-04 12:36:09 +02:00
5fd03fac6b Added Function to evaluated items 2023-03-03 20:11:55 +02:00
f996e57acf Refactored roman numeral chords 2023-03-02 00:40:46 +02:00
78295da323 Added measures and fixed some bugs 2023-02-26 20:42:20 +02:00
443d4e6639 Adding chord inversion 2023-02-26 13:16:19 +02:00
1168449dfa Added some helper methods 2023-02-26 00:20:06 +02:00
f0e1aca247 Major refactoring
Added more items to shorter repeat syntax: 124:3 A=(1 2) A:4

Prefixes now work for more items: q..r qs(1 2 3)

Duration support for list operations: (q1 e3)+(1 4 3 5)
2023-02-25 23:47:28 +02:00
7a2f0b5a0a Added repeat item to subdivisions 2023-02-25 02:20:48 +02:00
f4f819291a Added support for cycles in new repeat syntax 2023-02-24 16:32:41 +02:00
595fc346ae Added new repeat syntax
Shortened syntax for repeats:
1:5 (1,5):4 (1 2 3):4
2023-02-24 16:16:24 +02:00
bcc86f4cfe Added two options for variables
Pre-evaluated: A=(1,4)
Just a clone: A~(1,4)
2023-02-23 21:42:12 +02:00
3e32c9ecf2 Added variable assingment 2023-02-23 19:11:06 +02:00
973d3eab2b Added range evaluation and more operators 2023-02-21 19:48:37 +02:00
e9c0731d7e Refactored evaluation for subdivisions 2023-02-21 03:16:00 +02:00
9a4c970b95 Added euclidean evaluation 2023-02-19 22:56:11 +02:00
f6c6497319 Added rest and infinite indexing
Preliminary support for rest: q 1 r 3 er 4 etc. Currently supports only single character prefixes like: qr er.
2023-02-15 23:14:53 +02:00
726dc42902 Added repeats
Added evaluation of [: :] and (:  :) and cycles: (: (1,5) <q e <e s>> (2,3) :6) ... etc.
2023-02-14 22:41:41 +02:00
707e700e37 mvp random generator & list operation evaluator 2023-02-12 00:21:21 +02:00
55b6940f35 Added parentheses support to eval and some formatting 2023-02-09 00:16:26 +02:00
f51b230099 Added modifier
Added modifier and refactored cycles
2023-02-08 22:34:30 +02:00
bb928f7c64 Added pitch resolving to roman numeral chords 2023-02-08 21:47:44 +02:00
8d49e5d5c2 Added chord names
Chord names, parsing notes from roman numerals, method for resolving pitch classes from midi notes (not in use yet).
2023-02-08 20:43:57 +02:00
4bcdb2568a Added note parsing 2023-02-07 22:26:20 +02:00
04d84bcc47 Added roman numerals 2023-02-07 21:04:48 +02:00
1c4dfb99a0 Pylinting 2023-02-07 17:48:11 +02:00
de4cb4ce3c Fixes for first iterator tests 2023-02-06 20:11:19 +02:00
4e6a349ae5 Add ziffers class 2023-02-06 19:55:35 +02:00
67e5d9e2af Merge branch 'lark' of https://github.com/Bubobubobubobubo/ziffers-python into lark 2023-02-06 19:53:29 +02:00
5836a43a80 First tests for the iterator 2023-02-06 19:53:26 +02:00
006b69b42e removing a star import 2023-02-05 21:30:51 +01:00
9a4e73c842 make global variables obvious 2023-02-05 16:27:44 +01:00
3d7fe73569 run black on codebase 2023-02-05 16:22:01 +01:00
1710d2f67b Refactored duration changes
Fixes cyclic duration changes
2023-02-05 14:12:22 +02:00
26d3825ffb Added repeats 2023-02-04 21:12:13 +02:00
6597ca3f17 Added euclid parsing support 2023-02-04 17:17:14 +02:00
63b292a7bd Added list operations 2023-02-03 01:02:37 +02:00
c66cc9b8ee Added ? % 2023-02-01 21:45:37 +02:00
3add48c938 Added more rules and tests 2023-02-01 21:15:09 +02:00
c85d4de431 Correcting some imports. By doing so, I have also broken the __main__.py
that was living in parser.py but repl.py is now usable :) The old tests
should probably be moved in the tests folder.
2023-01-31 23:03:35 +01:00
1acddb069f Trying out larl parser 2023-01-31 23:00:31 +02:00