@audiofab-io/fv1-core 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/blocks/ATL_DEVELOPER_REFERENCE.md +156 -156
  2. package/blocks/control/constant.atl +36 -36
  3. package/blocks/control/entropy_lfo.atl +74 -74
  4. package/blocks/control/envelope.atl +120 -120
  5. package/blocks/control/invert.atl +33 -33
  6. package/blocks/control/pot.atl +149 -149
  7. package/blocks/control/power.atl +76 -76
  8. package/blocks/control/ramp_lfo.atl +122 -122
  9. package/blocks/control/scale_offset.atl +84 -84
  10. package/blocks/control/sincos_lfo.atl +126 -126
  11. package/blocks/control/smoother.atl +48 -48
  12. package/blocks/control/tremolizer.atl +54 -54
  13. package/blocks/effects/delay/micro_stutter.atl +77 -77
  14. package/blocks/effects/delay/mn3011.atl +280 -280
  15. package/blocks/effects/delay/simple_delay.atl +96 -96
  16. package/blocks/effects/delay/triple_tap_delay.atl +176 -176
  17. package/blocks/effects/lo-fi/bit_mangler.atl +74 -74
  18. package/blocks/effects/lo-fi/chiptune.atl +311 -311
  19. package/blocks/effects/lo-fi/tape_degrade.atl +181 -181
  20. package/blocks/effects/modulation/chorus.atl +141 -141
  21. package/blocks/effects/modulation/chorus_4voice.atl +188 -188
  22. package/blocks/effects/modulation/flanger.atl +184 -184
  23. package/blocks/effects/modulation/harmonic_trem.atl +129 -129
  24. package/blocks/effects/modulation/phaser.atl +299 -299
  25. package/blocks/effects/pitch/octave_up_down.atl +80 -80
  26. package/blocks/effects/pitch/pitch_offset.atl +149 -149
  27. package/blocks/effects/pitch/pitch_offset_dual.atl +197 -197
  28. package/blocks/effects/pitch/pitch_shift.atl +115 -115
  29. package/blocks/effects/pitch/sub_octave.atl +100 -100
  30. package/blocks/effects/reverb/ducking_reverb.atl +145 -145
  31. package/blocks/effects/reverb/min_reverb.atl +132 -132
  32. package/blocks/effects/reverb/plate_reverb.atl +344 -344
  33. package/blocks/effects/reverb/room_reverb.atl +293 -293
  34. package/blocks/effects/reverb/smear.atl +90 -90
  35. package/blocks/effects/reverb/spring_reverb.atl +353 -353
  36. package/blocks/filter/1p_high_pass.atl +62 -62
  37. package/blocks/filter/1p_low_pass.atl +58 -58
  38. package/blocks/filter/auto_wah.atl +207 -207
  39. package/blocks/filter/bbd_loss.atl +79 -79
  40. package/blocks/filter/shelving_high_pass.atl +76 -76
  41. package/blocks/filter/shelving_low_pass.atl +76 -76
  42. package/blocks/filter/svf_2p.atl +116 -116
  43. package/blocks/gain_mix/crossfade.atl +93 -93
  44. package/blocks/gain_mix/crossfade2.atl +86 -86
  45. package/blocks/gain_mix/crossfade3.atl +71 -71
  46. package/blocks/gain_mix/gainboost.atl +54 -54
  47. package/blocks/gain_mix/mixer2.atl +76 -76
  48. package/blocks/gain_mix/mixer3.atl +109 -109
  49. package/blocks/gain_mix/mixer4.atl +151 -151
  50. package/blocks/gain_mix/volume.atl +50 -50
  51. package/blocks/io/adc.atl +53 -53
  52. package/blocks/io/dac.atl +61 -61
  53. package/blocks/other/stickynote.atl +24 -24
  54. package/blocks/other/tone_gen_adjustable.atl +137 -137
  55. package/blocks/other/tone_gen_fixed.atl +109 -109
  56. package/dist/blockDiagram/builtinBlocks.js +107 -107
  57. package/dist/blockDiagram/builtinBlocks.js.map +1 -1
  58. package/dist/blockDiagram/compiler/BlockTemplate.d.ts.map +1 -1
  59. package/dist/blockDiagram/compiler/BlockTemplate.js +18 -0
  60. package/dist/blockDiagram/compiler/BlockTemplate.js.map +1 -1
  61. package/package.json +2 -2
@@ -1,90 +1,90 @@
1
- ---
2
- {
3
- "type": "effects.smear",
4
- "name": "Spectral Smear",
5
- "category": "Effects",
6
- "subcategory": "Reverb",
7
- "description": "Diffusion bank of prime-numbered all-pass filters.",
8
- "color": "#6f24f2",
9
- "inputs": [
10
- { "id": "input", "name": "Audio In", "type": "audio" },
11
- { "id": "density", "name": "Density", "type": "control", "required": false, "parameter": "feedback" }
12
- ],
13
- "outputs": [
14
- { "id": "out", "name": "Audio Out", "type": "audio" }
15
- ],
16
- "parameters": [
17
- {
18
- "id": "feedback",
19
- "name": "Density (Feedback)",
20
- "type": "number",
21
- "default": 0.5,
22
- "min": 0.0,
23
- "max": 0.65,
24
- "step": 0.01,
25
- "description": "Density of the smear. Capped at 0.65 for stability."
26
- }
27
- ],
28
- "memories": [
29
- { "id": "ap1", "size": 151 },
30
- { "id": "ap2", "size": 211 },
31
- { "id": "ap3", "size": 331 },
32
- { "id": "ap4", "size": 439 }
33
- ],
34
- "registers": [ "fb_reg", "ap_in", "ap_out", "ap_temp" ]
35
- }
36
- ---
37
- ; Spectral Smear - Multi-tap Diffusion (Stable Unity Gain)
38
-
39
- @section main
40
- @if pinConnected(input)
41
- ; Load feedback (parameter JSON already caps max at 0.65 for stability)
42
- @cv density
43
- wrax ${reg.fb_reg}, 0.0
44
-
45
- rdax ${input.input}, 1.0
46
- wrax ${reg.ap_in}, 1.0
47
-
48
- ; --- AP Stages (Discrete Unrolled All-pass) ---
49
- ; Stage 1
50
- rda ${mem.ap1}#, 1.0
51
- wrax ${reg.ap_out}, -1.0
52
- mulx ${reg.fb_reg}
53
- rdax ${reg.ap_in}, 1.0
54
- wra ${mem.ap1}, 1.0
55
- mulx ${reg.fb_reg}
56
- rdax ${reg.ap_out}, 1.0
57
- wrax ${reg.ap_in}, 0.0
58
-
59
- ; Stage 2
60
- rda ${mem.ap2}#, 1.0
61
- wrax ${reg.ap_out}, -1.0
62
- mulx ${reg.fb_reg}
63
- rdax ${reg.ap_in}, 1.0
64
- wra ${mem.ap2}, 1.0
65
- mulx ${reg.fb_reg}
66
- rdax ${reg.ap_out}, 1.0
67
- wrax ${reg.ap_in}, 0.0
68
-
69
- ; Stage 3
70
- rda ${mem.ap3}#, 1.0
71
- wrax ${reg.ap_out}, -1.0
72
- mulx ${reg.fb_reg}
73
- rdax ${reg.ap_in}, 1.0
74
- wra ${mem.ap3}, 1.0
75
- mulx ${reg.fb_reg}
76
- rdax ${reg.ap_out}, 1.0
77
- wrax ${reg.ap_in}, 0.0
78
-
79
- ; Stage 4
80
- rda ${mem.ap4}#, 1.0
81
- wrax ${reg.ap_out}, -1.0
82
- mulx ${reg.fb_reg}
83
- rdax ${reg.ap_in}, 1.0
84
- wra ${mem.ap4}, 1.0
85
- mulx ${reg.fb_reg}
86
- rdax ${reg.ap_out}, 1.0
87
-
88
- ; Output (Unity Gain)
89
- wrax ${output.out}, 0.0
90
- @endif
1
+ ---
2
+ {
3
+ "type": "effects.smear",
4
+ "name": "Spectral Smear",
5
+ "category": "Effects",
6
+ "subcategory": "Reverb",
7
+ "description": "Diffusion bank of prime-numbered all-pass filters.",
8
+ "color": "#6f24f2",
9
+ "inputs": [
10
+ { "id": "input", "name": "Audio In", "type": "audio" },
11
+ { "id": "density", "name": "Density", "type": "control", "required": false, "parameter": "feedback" }
12
+ ],
13
+ "outputs": [
14
+ { "id": "out", "name": "Audio Out", "type": "audio" }
15
+ ],
16
+ "parameters": [
17
+ {
18
+ "id": "feedback",
19
+ "name": "Density (Feedback)",
20
+ "type": "number",
21
+ "default": 0.5,
22
+ "min": 0.0,
23
+ "max": 0.65,
24
+ "step": 0.01,
25
+ "description": "Density of the smear. Capped at 0.65 for stability."
26
+ }
27
+ ],
28
+ "memories": [
29
+ { "id": "ap1", "size": 151 },
30
+ { "id": "ap2", "size": 211 },
31
+ { "id": "ap3", "size": 331 },
32
+ { "id": "ap4", "size": 439 }
33
+ ],
34
+ "registers": [ "fb_reg", "ap_in", "ap_out", "ap_temp" ]
35
+ }
36
+ ---
37
+ ; Spectral Smear - Multi-tap Diffusion (Stable Unity Gain)
38
+
39
+ @section main
40
+ @if pinConnected(input)
41
+ ; Load feedback (parameter JSON already caps max at 0.65 for stability)
42
+ @cv density
43
+ wrax ${reg.fb_reg}, 0.0
44
+
45
+ rdax ${input.input}, 1.0
46
+ wrax ${reg.ap_in}, 1.0
47
+
48
+ ; --- AP Stages (Discrete Unrolled All-pass) ---
49
+ ; Stage 1
50
+ rda ${mem.ap1}#, 1.0
51
+ wrax ${reg.ap_out}, -1.0
52
+ mulx ${reg.fb_reg}
53
+ rdax ${reg.ap_in}, 1.0
54
+ wra ${mem.ap1}, 1.0
55
+ mulx ${reg.fb_reg}
56
+ rdax ${reg.ap_out}, 1.0
57
+ wrax ${reg.ap_in}, 0.0
58
+
59
+ ; Stage 2
60
+ rda ${mem.ap2}#, 1.0
61
+ wrax ${reg.ap_out}, -1.0
62
+ mulx ${reg.fb_reg}
63
+ rdax ${reg.ap_in}, 1.0
64
+ wra ${mem.ap2}, 1.0
65
+ mulx ${reg.fb_reg}
66
+ rdax ${reg.ap_out}, 1.0
67
+ wrax ${reg.ap_in}, 0.0
68
+
69
+ ; Stage 3
70
+ rda ${mem.ap3}#, 1.0
71
+ wrax ${reg.ap_out}, -1.0
72
+ mulx ${reg.fb_reg}
73
+ rdax ${reg.ap_in}, 1.0
74
+ wra ${mem.ap3}, 1.0
75
+ mulx ${reg.fb_reg}
76
+ rdax ${reg.ap_out}, 1.0
77
+ wrax ${reg.ap_in}, 0.0
78
+
79
+ ; Stage 4
80
+ rda ${mem.ap4}#, 1.0
81
+ wrax ${reg.ap_out}, -1.0
82
+ mulx ${reg.fb_reg}
83
+ rdax ${reg.ap_in}, 1.0
84
+ wra ${mem.ap4}, 1.0
85
+ mulx ${reg.fb_reg}
86
+ rdax ${reg.ap_out}, 1.0
87
+
88
+ ; Output (Unity Gain)
89
+ wrax ${output.out}, 0.0
90
+ @endif