23 Commits

Author SHA1 Message Date
Felix Roos
038e6c312b dedupe .pianoroll 2023-08-27 16:05:58 +02:00
Felix Roos
e301090704 pianoroll improvements:
- add label / activeLabel controls
- add new pianoroll options:
  - fill
  - fillActive
  - strokeActive
  - stroke
  - hideInactive
  - colorizeInactive
  - fontFamily
- add wordfall method
- fix: some haps were drawn with wrong length
- pianoroll labels now use set fontFamily
- hide fold gutter
2023-08-27 15:27:30 +02:00
Felix Roos
36fa9d81fb fix: pianoroll isActive still used whole.end 2023-07-09 18:51:26 +02:00
Felix Roos
ce09443e48 delete tone 2023-07-04 23:43:49 +02:00
Felix Roos
8c9e06c329 - clip now works like legato in tidal
- supports floats
- hap.duration now respects clip value
- hap.endClipped is now end*clip
- visualizations show clipped length
- clip(0) will now be silence
2023-06-12 22:39:32 +02:00
Felix Roos
3ccbd35fad add label support to pianoroll 2023-06-09 00:25:54 +02:00
Felix Roos
8679dc63be pianoroll: also reflect gain in transparency 2023-05-29 02:18:27 +02:00
Felix Roos
6e02bf59e9 Revert "refactor: remove old draw logic"
This reverts commit 95719654f3bfc5d3cc98c33816b402e2c0e38bd7.
2023-05-10 11:44:55 +02:00
Felix Roos
9ec7109dc8 + simplify vanilla setup drastically
+ move repl + drawer boilerplate inside StrudelMirror
2023-05-05 23:43:07 +02:00
Felix Roos
1f4c2f8c5a draw scheduler in vanilla js 2023-05-05 10:52:21 +02:00
Felix Roos
95719654f3 refactor: remove old draw logic
+ pianoroll now uses .onPaint
2023-05-05 09:52:07 +02:00
Felix Roos
ba35a81e9b - feat: add freq support to gm soundfonts
- refactor: toMidi -> noteToMidi
- refactor: fromMidi -> midiToFreq
2023-03-23 10:18:24 +01:00
Felix Roos
e4f538b674 fix option handling 2023-01-13 13:00:11 +01:00
Felix Roos
ea0e0b4396 reset canvas when pattern changes
+ rename noteroll -> punchcard
2023-01-13 12:57:35 +01:00
Felix Roos
1ac784dc7a localize draw logic 2023-01-13 12:03:34 +01:00
Felix Roos
dd736130a0 improve pianoroll value mapping 2022-12-29 13:03:28 +01:00
Felix Roos
9f058bd88a add examples page with prerendered swatches 2022-12-28 14:40:53 +01:00
Felix Roos
b37f3c819d remove color magic for now 2022-12-26 23:12:16 +01:00
Felix Roos
36f837730a better color support 2022-12-26 22:13:41 +01:00
Felix Roos
2d1b62a978 begin reimplementing draw logic for parallel use 2022-12-26 20:58:57 +01:00
Felix Roos
4de477d46c support freq in pianoroll 2022-12-15 21:21:20 +01:00
Felix Roos
e2898ee5bf add eslint + fix lint errors 2022-11-24 15:30:11 +01:00
Felix Roos
e769ed2fd8 move draw stuff from tone to core + fix getPhase 2022-11-13 01:42:00 +01:00