Commit Graph

147 Commits

Author SHA1 Message Date
730d3803f0 Create envelope factory functions 2020-05-30 12:49:41 +02:00
ff45e7e479 Overload synth() and wave() functions 2020-05-30 12:49:41 +02:00
900d3849f1 Create MapConfigSchema utility function 2020-05-30 12:49:40 +02:00
c28ae23774 Create working scaffolding for sound synthesizing module: smnp.audio.synth 2020-05-30 12:49:40 +02:00
518bc37108 Implement some new stdlib functions and methods 2020-05-30 12:49:40 +02:00
c41a02f880 Simplify wrapping with decorator pattern evaluation exceptions 2020-05-30 12:49:40 +02:00
53b92150c4 Refactor staff evaluator 2020-05-30 12:49:39 +02:00
2ab32b48fa Create staff evaluator and rewrite adeste.mus to use new staff notation 2020-05-30 12:49:39 +02:00
71da1e463c Create staff, measure and time signature parsers 2020-05-30 12:49:39 +02:00
f600308e9c Improve AbstractIterableParser to accept more abstract iterables 2020-05-30 12:49:38 +02:00
7b742f21da Introduce new tokens: $, | and || 2020-05-30 12:49:38 +02:00
0fb7875403 Fix lack of tempo settlement in midi() function 2020-05-30 12:49:38 +02:00
70cb2e85bc Refactor extend statement: remove unnecessary "as" keyword and push "this" variable context to the extend-statement scope 2020-05-30 12:49:38 +02:00
4cb234bdba Add ability to compile notes to MIDI file 2020-05-30 12:49:37 +02:00
8c3b6234ab Enable playing midi files with midi() function 2020-05-30 12:49:37 +02:00
15b77e2c8b Enable displaying errors with source (files with code) 2020-05-30 12:49:37 +02:00
0c0982596a Overload midi() functions with config-less versions in smnp.audio.midi 2020-05-30 12:49:37 +02:00
ec6eeadfa8 Create smnp.audio.mic module 2020-05-30 12:49:36 +02:00
165e572203 Create tuplet methods 2020-05-30 12:49:36 +02:00
5c0fe0daf3 Change note's duration type from int to Fraction and enable + operator support for note and int 2020-05-30 12:49:36 +02:00
eaf501f367 Introduce PPQ parameter to MIDI sequencer 2020-05-30 12:49:36 +02:00
c2103dab54 Fix list parser to parse expressions as items 2020-05-30 12:49:35 +02:00
db7d99dba7 Improve sound of alert 2020-05-30 12:49:35 +02:00
61e7793f24 Improve decoration design-pattern model of exceptions 2020-05-30 12:49:35 +02:00
2c1bae2974 Move global error handling to root main() function 2020-05-30 12:49:35 +02:00
2573363dca Create midi preset and improve the rest ones 2020-05-30 12:49:34 +02:00
b76b120d6f Improve alert and metronome presets 2020-05-30 12:49:34 +02:00
86ea9b51d4 Fix toNote() function in smnp.text module 2020-05-30 12:49:34 +02:00
0b27844195 Enable modifying default beats and accents of metronome in metronome preset 2020-05-30 12:49:33 +02:00
0a5a9a497a Implement string.toNote() method in smnp.text module 2020-05-30 12:49:33 +02:00
cc9d101609 Fix logic and relation operators precedence and enable lazy evaluation of logic's operators (and, or) operands 2020-05-30 12:49:33 +02:00
a68dc4f873 Add support for presets 2020-05-30 12:49:33 +02:00
88b841bb98 Add support for passing custom parameters to script 2020-05-30 12:49:32 +02:00
4ce35ce34c Create base for CLI 2020-05-30 12:49:32 +02:00
86fc8ae086 Introduce log4j and turn it off to disable logging and meet PF4J requirements 2020-05-30 12:49:32 +02:00
a74dafb60c Add missing modules to root settings.gradle 2020-05-30 12:49:32 +02:00
afe21e8565 Create midiHelp() function 2020-05-30 12:49:31 +02:00
769e9bf936 Create new module: smnp.music.tools 2020-05-30 12:49:31 +02:00
c5ac06a6f6 Fix lack of placed rests at the very end of MIDI tracks 2020-05-30 12:49:31 +02:00
5dd703682a Introduce some new standard library modules 2020-05-30 12:49:31 +02:00
8ee3195bef Improve callstack() debug function and rename it to stacktrace() 2020-05-30 12:49:30 +02:00
5c56060e70 Fix parsing optional arguments 2020-05-30 12:49:30 +02:00
07fc9f3dd2 Experimental: add support for function/method overloading 2020-05-30 12:49:30 +02:00
ba23545e1b Create validation on midi() function 2020-05-30 12:49:30 +02:00
d3f6138a8b Refactor code (rename allTypes matcher to anyType) and create unwrap*() methods which converts wrapped with Value values to raw Kotlin's objects 2020-05-30 12:49:29 +02:00
5b03f55cd4 Refactor Value and EvaluatorOutput models in order to get rid of optionals(?) 2020-05-30 12:49:29 +02:00
d8744670ed Refactor retrieving DataType's name 2020-05-30 12:49:29 +02:00
eb893c28f3 Enable stringification on all Values 2020-05-30 12:49:28 +02:00
26cfc72d14 Enable closing MidiSequencer on environment disposal 2020-05-30 12:49:28 +02:00
cc2d69e259 Enable disposing environment when code execution is done 2020-05-30 12:49:28 +02:00