Commit graph

24 commits

Author SHA1 Message Date
Alex McLean
f827201ee0
Switch 'operators' from .whatHow to .what.how, and make sure there are toplevel curried functions for all of them. Rename util.mod to util._mod, to make room for toplevel 'operator' of that name. (#285) 2022-12-07 19:07:55 +00:00
Felix Roos
9717c696d8 add s for sharp (fixes notes example) 2022-11-17 10:16:29 +01:00
Felix Roos
1a1363ef77 scheduler error handling 2022-11-10 22:25:58 +01:00
Felix Roos
0485632e22 Merge remote-tracking branch 'origin/main' into general-purpose-scheduler 2022-11-06 11:06:32 +01:00
Felix Roos
e128b02da1 support object arithmetic 2022-11-01 21:31:39 +01:00
Felix Roos
7e7e299bce Merge remote-tracking branch 'origin/main' into general-purpose-scheduler 2022-10-29 17:56:30 +02:00
MysteryHouse
113adcc5cc
Core util tests (#226)
* Error message formatting, deprecate unused functions
* Add 'test-coverage' script
* Additional test coverage for core util module
* Additional tests for core util module

by @mystery-house
2022-10-20 08:26:28 +01:00
Felix Roos
1cd31cfce9 fix getFrequency for .note 2022-08-17 21:25:04 +02:00
Felix Roos
f2b2f4f226
Merge pull request #183 from tidalcycles/soundfont-file-support
Soundfont file support
2022-08-14 16:04:14 +02:00
Felix Roos
48526824d6 support old way of setting frequencies 2022-08-14 15:51:01 +02:00
Felix Roos
467b3db824 handle objects in getPlayableNoteValue 2022-08-07 21:21:44 +02:00
Felix Roos
8d1c98f03e always throw error for invalid notes 2022-08-06 21:37:41 +02:00
Felix Roos
fd61001b4d getFreq + midi2note helpers 2022-07-28 23:55:17 +02:00
Felix Roos
dd3f4e4751 support "s" as "#" alternative inside note names 2022-06-27 00:03:06 +02:00
alex
f8f744dd87 standardise on hap rather than event, especially in function names 2022-05-05 17:20:36 +01:00
alex
53d82e5126 Prettify 2022-05-02 21:27:02 +01:00
alex
ee514ee8ba redo headers 2022-04-28 14:38:41 +01:00
alex
3742bf384c Remove recursion from mod 2022-04-22 17:01:28 +01:00
Felix Roos
f8739e341b respect midi numbers 2022-04-18 18:57:28 +02:00
Felix Roos
1b35dd0c55 add preliminary getFrequency 2022-04-16 21:34:05 +02:00
alex
544e32e0f8 add 'constant' 2022-04-16 10:02:35 +01:00
alex
9eba883978 move some utilities to utils.mjs 2022-04-13 09:03:31 +01:00
Felix Roos
de3c453763 add pipe + compose 2022-04-11 22:31:02 +02:00
Felix Roos
6f60a3a1d5 start packaging 2022-03-25 14:39:25 +01:00
Renamed from util.mjs (Browse further)