134 Commits

Author SHA1 Message Date
6dd8333007 Fixed bug with subdivisions and added tests 2023-02-23 18:22:43 +02:00
63dab6fbdf Adding cycles for operations 2023-02-22 23:31:50 +02:00
805d7af216 Changed default options to immutable MappingProxyType
Options as immutable dicts are less prone to bugs
2023-02-22 22:14:10 +02:00
4dd0f12aca Fix for repeats 2023-02-22 19:41:17 +02:00
5e78ea9c4c Added reversed ranges 2023-02-22 19:23:24 +02:00
77cf10c95c Added lru_cache and range support for operations 2023-02-22 15:47:07 +02:00
acbfacee59 Simple support for re-evaluating cycles with get_item 2023-02-21 20:56: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
a9e2936a29 Some refactoring 2023-02-20 18:22:33 +02:00
65257217c5 Fix for subdiv looping 2023-02-20 00:29:56 +02:00
ffbff359fa Some fixes 2023-02-19 23:55:56 +02:00
9a4c970b95 Added euclidean evaluation 2023-02-19 22:56:11 +02:00
cca08b250f Evaluation of ListOperation for repeats 2023-02-19 21:34:18 +02:00
bae01efa58 Fixing some issues with repeats 2023-02-19 19:02:42 +02:00
c7a905f5a0 Added support for mote item in cyclic 2023-02-19 12:45:50 +02:00
f417f0282e Added evaluation for subdivision 2023-02-18 12:45:32 +02:00
5e9bf94d42 Added rest and update in RepeatedSequence 2023-02-17 17:28:23 +02:00
a7da9795a5 Added string replacement function for future use 2023-02-16 22:58:54 +02:00
0816ac65db Improvements in packaging.
The ziffers.lark file is not included in the installed package. This was
preventing users from importing the ziffers package from elsewhere.
2023-02-16 07:39:51 +01:00
1ff7e3b6d2 Added rest and chords to music21 converter 2023-02-16 00:41:31 +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
10f66d0027 Some refactoring 2023-02-15 19:44:40 +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
90d7b0bdff Added notes function to get list of notes 2023-02-13 17:55:04 +02:00
e240c45693 Added basic music21 converter 2023-02-13 17:28:42 +02:00
7cc89d3333 Added frequency and default key&scale 2023-02-13 01:21:55 +02:00
4f019bfda4 Refactored list operation to use product
Evaluated pitches are now stored to evaluated_valued variable
2023-02-12 22:05:48 +02:00
70b56dbc52 Merge pull request #1 from Bubobubobubobubo/lark
Lark implementation
2023-02-12 14:59:28 +01:00
666aec3767 Changed check for default opts 2023-02-12 01:38:27 +02:00
e08c172f68 Fixed bug with empty options 2023-02-12 01:24:43 +02:00
bd911b96cf Added some support for cycles 2023-02-12 01:09:54 +02:00
d91e9d230a Changed checks for dicts 2023-02-12 00:29:53 +02:00
707e700e37 mvp random generator & list operation evaluator 2023-02-12 00:21:21 +02:00
e04d202ad5 Merge branch 'lark' of https://github.com/Bubobubobubobubo/ziffers-python into lark 2023-02-09 00:16:29 +02:00
55b6940f35 Added parentheses support to eval and some formatting 2023-02-09 00:16:26 +02:00
0d9b1e5492 fix 2023-02-08 22:55:18 +01:00
691a2e400d better behaviour 2023-02-08 22:54:14 +01: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
9ae6f60325 Fixing but in addition 2023-02-06 20:39:17 +02:00
ab1e9bde9a Fixed add type 2023-02-06 20:30:08 +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