@audiofab-io/fv1-core 0.6.1 → 0.6.3
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.
- package/blocks/ATL_DEVELOPER_REFERENCE.md +156 -156
- package/blocks/control/constant.atl +36 -36
- package/blocks/control/entropy_lfo.atl +74 -74
- package/blocks/control/envelope.atl +120 -120
- package/blocks/control/invert.atl +33 -33
- package/blocks/control/pot.atl +149 -149
- package/blocks/control/power.atl +76 -76
- package/blocks/control/ramp_lfo.atl +122 -122
- package/blocks/control/scale_offset.atl +84 -84
- package/blocks/control/sincos_lfo.atl +126 -126
- package/blocks/control/smoother.atl +48 -48
- package/blocks/control/tremolizer.atl +54 -54
- package/blocks/effects/delay/micro_stutter.atl +77 -77
- package/blocks/effects/delay/mn3011.atl +280 -280
- package/blocks/effects/delay/simple_delay.atl +96 -96
- package/blocks/effects/delay/triple_tap_delay.atl +176 -176
- package/blocks/effects/lo-fi/bit_mangler.atl +74 -74
- package/blocks/effects/lo-fi/chiptune.atl +311 -311
- package/blocks/effects/lo-fi/tape_degrade.atl +181 -181
- package/blocks/effects/modulation/chorus.atl +141 -141
- package/blocks/effects/modulation/chorus_4voice.atl +188 -188
- package/blocks/effects/modulation/flanger.atl +184 -184
- package/blocks/effects/modulation/harmonic_trem.atl +129 -129
- package/blocks/effects/modulation/phaser.atl +299 -299
- package/blocks/effects/pitch/octave_up_down.atl +80 -80
- package/blocks/effects/pitch/pitch_offset.atl +149 -149
- package/blocks/effects/pitch/pitch_offset_dual.atl +197 -197
- package/blocks/effects/pitch/pitch_shift.atl +115 -115
- package/blocks/effects/pitch/sub_octave.atl +100 -100
- package/blocks/effects/reverb/ducking_reverb.atl +145 -145
- package/blocks/effects/reverb/min_reverb.atl +132 -132
- package/blocks/effects/reverb/plate_reverb.atl +344 -344
- package/blocks/effects/reverb/room_reverb.atl +293 -293
- package/blocks/effects/reverb/smear.atl +90 -90
- package/blocks/effects/reverb/spring_reverb.atl +353 -353
- package/blocks/filter/1p_high_pass.atl +62 -62
- package/blocks/filter/1p_low_pass.atl +58 -58
- package/blocks/filter/auto_wah.atl +207 -207
- package/blocks/filter/bbd_loss.atl +79 -79
- package/blocks/filter/shelving_high_pass.atl +76 -76
- package/blocks/filter/shelving_low_pass.atl +76 -76
- package/blocks/filter/svf_2p.atl +116 -116
- package/blocks/gain_mix/crossfade.atl +93 -93
- package/blocks/gain_mix/crossfade2.atl +86 -86
- package/blocks/gain_mix/crossfade3.atl +71 -71
- package/blocks/gain_mix/gainboost.atl +54 -54
- package/blocks/gain_mix/mixer2.atl +76 -76
- package/blocks/gain_mix/mixer3.atl +109 -109
- package/blocks/gain_mix/mixer4.atl +151 -151
- package/blocks/gain_mix/volume.atl +50 -50
- package/blocks/io/adc.atl +53 -53
- package/blocks/io/dac.atl +61 -61
- package/blocks/other/stickynote.atl +24 -24
- package/blocks/other/tone_gen_adjustable.atl +137 -137
- package/blocks/other/tone_gen_fixed.atl +109 -109
- package/dist/blockDiagram/builtinBlocks.js +107 -107
- package/dist/blockDiagram/builtinBlocks.js.map +1 -1
- package/dist/simulator/FV1Simulator.d.ts +12 -0
- package/dist/simulator/FV1Simulator.d.ts.map +1 -1
- package/dist/simulator/FV1Simulator.js +47 -1
- package/dist/simulator/FV1Simulator.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|