47 Commits

Author SHA1 Message Date
Felix Roos
ca82796081 getDestination collides with tone
-> do not export for now (not needed)
-> can be refactored when tone is removed
-> also prevent loading worklets in node
2022-09-22 21:19:44 +02:00
Felix Roos
6dbb2cb98a encapsulate out
+ encapsulate destination
+ error handling
to simplify merge scheduler branch
2022-09-22 19:50:07 +02:00
Felix Roos
91934006d5 adjust default envelope 2022-09-22 19:09:38 +02:00
Felix Roos
014c258c57 sample adsr support 2022-09-22 15:33:06 +02:00
Felix Roos
7f6940f3a5 cut precision 2022-09-21 22:47:16 +02:00
Felix Roos
8d5682deb0 cut + loop 2022-09-21 22:44:56 +02:00
Felix Roos
819abbfa7a fix sample slicing + unit + nudge 2022-09-21 22:25:35 +02:00
Felix Roos
1ccc391c8e proper disconnect onend 2022-09-17 15:32:36 +02:00
Felix Roos
acf339ad13 load worklets on startup 2022-09-17 15:18:16 +02:00
Felix Roos
3c8acf9e0e comment out timeout:
it will cut of samples that are longer than hap..
2022-09-16 23:25:33 +02:00
Felix Roos
3fdfd12448 hotfix: disconnect chain after use 2022-09-16 00:53:43 +02:00
Felix Roos
a11d23ba62 hotfix: out should not be async 2022-09-16 00:30:37 +02:00
Felix Roos
b9173ebe50 add coarse, crush and shape 2022-09-16 00:14:28 +02:00
Felix Roos
4406dd88d1 add vowel 2022-09-15 20:09:07 +02:00
Felix Roos
a5f05b4715 hotfix: regression of #196
- samples loaded as arrays would not be repitched
2022-09-10 23:19:23 +02:00
Felix Roos
59e1664223 pull in midi logic 2022-09-09 22:02:24 +02:00
Felix Roos
42922a0d75 fix: support numbers in piano / sampler 2022-09-09 21:56:07 +02:00
Felix Roos
9478915cf4 work on scheduler:
- simplify clockworker (no audioContext)
- tick based scheduler with cps
- support cps in .out
2022-08-11 22:58:37 +02:00
Felix Roos
712a2ae018 .out error handling 2022-07-29 00:05:20 +02:00
Felix Roos
55f91143d9 rename choke -> clip 2022-06-28 21:50:08 +02:00
Felix Roos
e29eaf3785 fix splitSN 2022-06-27 00:57:27 +02:00
Felix Roos
720b1eeb27 fix soundfonts + samples without base 2022-06-27 00:49:58 +02:00
Felix Roos
e98829c96b tame oscillator gain 2022-06-27 00:26:11 +02:00
Felix Roos
c1ce72469c webaudio optimizations
- samples with obejct format for pitch declaration
- support note to repitch samples
- support choke to fit samples to hap duration
- support "legacy" context.velocity in .out
- support ":" inside s or note to set n
- fix sample fadeout for soundfonts and choke
- move gain before filters
2022-06-27 00:01:28 +02:00
Felix Roos
d5938a016c fix looping fonts 2022-06-20 20:55:20 +02:00
Felix Roos
82d6103907 began soundfont implementation 2022-06-20 20:02:55 +02:00
Felix Roos
925fb30e05 fix cracks + add tune 2022-06-18 17:25:36 +02:00
Felix Roos
71b6b83ab3 samples: support speed, begin and end 2022-06-18 13:56:41 +02:00
Felix Roos
d532f8007e move sampler to webaudio
+ add basic sample playback to .out
2022-06-18 13:11:25 +02:00
Felix Roos
44574af3eb use closures to simplify api 2022-06-18 00:56:58 +02:00
Felix Roos
faa4019b27 dont use tone audio context 2022-06-18 00:54:36 +02:00
Felix Roos
4c05876066 rewrite webaudio + migrate tunes + empty setters 2022-06-17 23:23:51 +02:00
Felix Roos
f69d776cf6 prepare webaudio rewrite 2022-06-16 23:53:29 +02:00
Felix Roos
43c2f46196 small fixes 2022-05-18 00:07:37 +02:00
Felix Roos
fb2f63ee26 unify barrel exports 2022-05-17 21:38:47 +02:00
alex
f8f744dd87 standardise on hap rather than event, especially in function names 2022-05-05 17:20:36 +01:00
Felix Roos
d56f151edb Merge branch 'main' of https://github.com/tidalcycles/strudel 2022-04-29 20:39:32 +02:00
Felix Roos
4b49c95e73 fix: .wave 2022-04-29 20:39:28 +02:00
alex
ee514ee8ba redo headers 2022-04-28 14:38:41 +01:00
Felix Roos
766cccf335 refactor event.duration references 2022-04-23 23:36:26 +02:00
Felix Roos
7dbdb005b0 fix adsr + add example tune 2022-04-20 20:15:36 +02:00
Felix Roos
1ead12a2a3 patternify filter 2022-04-18 18:57:02 +02:00
Felix Roos
c2feb6e214 remove logs 2022-04-18 18:45:18 +02:00
Felix Roos
6bba661e24 experiment with passing time to withAudioNode 2022-04-17 12:01:13 +02:00
Felix Roos
f210c4425b make webaudio compatible with repl
+ rename osc to wave
+ migrate repl.html
2022-04-16 21:39:14 +02:00
Felix Roos
7fb9c3bf1e move core repl + add package 2022-04-01 20:54:54 +02:00
Felix Roos
47a046ca1d begin webaudio package 2022-04-01 15:44:17 +02:00