24 Commits

Author SHA1 Message Date
Alex McLean
ce9d23049a
Polish, rename, and document stepwise functions (#1262)
* polish, rename, and document stepwise functions: `pace`, `take`, `drop`, `expand`, `contract`, `repeat`, `zip`, `grow`, `shrink`, and `tour`
2025-02-02 20:26:44 +00:00
Felix Roos
4ade86f75c hotfix: rebuild parser to remove logs 2024-05-16 10:59:57 +02:00
Alex McLean
34e9d73908
Improve performance of ! (replicate) (#1084)
* Implement ! with weighted repeatCycles
* reimplement repeatCycles without array filling
2024-05-02 23:37:32 +01:00
Alex McLean
2fd2bdba60
Feature: tactus marking (#1021)
* rename `beat` option to `stackBy` to `repeat`
* fix parse error reporting
* rename `weight` to `tactus` (it might in the end be pulse, step, or tap)
* tactus marking with ^
* and add some tests
2024-03-27 12:06:05 +00:00
Alex McLean
491c99c348
Mini-notation additions towards tidal compatibility (#926)
- `.` feet now work, e.g. `"a b c . d e . f"` is the same as `"[a b c] [d e] [f]"`
- `_` elongation now works, e.g. `"a _ _ b"` is the same as `"a@3 b"` (`"a @ @ b"` also works, like in tidal)
- standalone `!` now works, e.g. `"a ! ! b"` is the same as `"a!3 b"`

Reworks #47 and #49
Ref #30
2024-01-19 14:10:47 +00:00
Felix Roos
ca3eda8fc7 support , in < > 2024-01-03 21:54:10 +01:00
Felix Roos
1d32da075d mini: tolerate non-breaking space (alt+spacebar on macos) 2023-12-31 16:44:35 +01:00
Alexandre G.-Raymond
87f37e3d87
Add a human-readable error message for invalid char in step 2023-10-21 23:20:04 +02:00
Alexandre G.-Raymond
cb8edd9b8f
Support international alphabets in mininotation 2023-10-21 22:51:20 +02:00
Alex McLean
fd316c81c0
support mininotation '..' range operator, fixes #715 (#716)
* support mininotation .. range operator, fixes #715

* remove logs
2023-10-01 13:20:49 +01:00
Felix Roos
13088e4001 - remove gh-pages
- update peggy
- rebuild parser
2023-04-30 07:48:08 +02:00
Felix Roos
a9811ee955 fix: allow whitespace at the end of a mini pattern
- fixes #546
2023-03-29 21:57:55 +02:00
Ian Clester
5490b01004 Maintain random seed state in parser, not globally 2023-03-20 14:59:43 -04:00
Alex McLean
bf72908dc9
Support list syntax in mininotation (#512)
fixes #504

* support list syntax in mininotation
* support compound controls
* remove redundant : splitting of s/n and note/n from webaudio
* patternable scale names
2023-03-04 18:06:18 +00:00
Felix Roos
a675815529 hotfix: preview command + build peg without logs 2023-01-09 23:55:45 +01:00
Alex McLean
f57fe182ed
Support for multiple mininotation operators WIP (#350)
* support for multiple operators
* fix false test failures by sorting by part
* snapshot
2023-01-09 22:23:27 +00:00
Alex McLean
db7ef01dbb
Patternify euclid, fast, slow and polymeter step parameters in mininotation (#341)
* patternify the mininotation bjorklund, and fast (*) slow (/) and pattern step (%) parameters
* simplify replicate (!), should be closer to tidal now
* highlight atoms rather than elements
* tests
2023-01-02 20:28:07 +00:00
Alex McLean
8bb460701f
Tidy parser, implement polymeters (#336)
* rename parser stuff to be more explicit and fit with tidal concepts. qualify all strudel function calls
* Add {,}%n polymeter support, with a few tests
2022-12-31 21:42:49 +00:00
Felix Roos
fb14865785 fix: can now multiply floats in mini notation
- fixes #314
2022-12-29 14:02:50 +01:00
Felix Roos
c7c90b0647 fix mini repl + improve repl api 2022-11-10 16:36:51 +01:00
Bradford Powell
8988408d18 update krill-parser for the changes to .pegjs file 2022-08-06 18:22:02 -04:00
Felix Roos
a89fa766ea support colon sign as normal char 2022-06-27 00:02:33 +02:00
alex
ee514ee8ba redo headers 2022-04-28 14:38:41 +01:00
Felix Roos
6f60a3a1d5 start packaging 2022-03-25 14:39:25 +01:00