-
Notifications
You must be signed in to change notification settings - Fork 1
/
pedalgen.json
66 lines (64 loc) · 2.23 KB
/
pedalgen.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"seed": 0,
"generate_how_many_pedals": 20,
"input": {
"amplitude": 0.1,
"frequency": 196,
"ls": 2.85,
"rs": 5360,
"cp": "258p",
"rp": "245k",
"capacitor": "10u",
"wav": "wav/chord.wav"
},
"output": {
"capacitor": "10u",
"load": "50k"
},
"supply": {
"voltage": 9
},
"complexity": {
"net": {"min": 2, "max": 5},
"resistor": {"min": 2, "max": 6, "pins": 2, "tune": true, "prefix": "R", "values": "series_e12", "values_min": "1", "values_max": "10M"},
"capacitor": {"min": 1, "max": 6, "pins": 2, "tune": true, "prefix": "C", "values": "series_e12", "values_min": "10p", "values_max": "470u"},
"transistor_npn": {"min": 1, "max": 2, "pins": 3, "tune": false, "prefix": "Q", "values": ["2N3904", "BC547", "2N2222A"]},
"transistor_pnp": {"min": 0, "max": 0, "pins": 3, "tune": false, "prefix": "Q", "values": ["2N3906", "BC557"]},
"diode": {"min": 0, "max": 2, "pins": 2, "tune": false, "prefix": "D", "values": ["1N34A", "1N4148", "1N5819", "1N60P", "1N5399", "FR207", "FR107", "1N4007", "BAT43", "LED_GREEN", "LED_BLUE", "LED_RED", "LED_YELLOW", "LED_WHITE"]},
"inductor": {"min": 0, "max": 0, "pins": 2, "tune": true, "prefix": "L", "values": "series_e12", "values_min": "1u", "values_max": "100m"}
},
"ac": {
"fstart": 16,
"fstop": "10k"
},
"tran": {
"start": 0,
"step": "20u",
"interval": "20m"
},
"fft": {
"interval": 0.3,
"fstop": "2k",
"harmonics": 10
},
"constraints": {
"gain": [
{"frequency": 196, "min": 1.1, "max": 99999},
{"frequency": 1000, "min": 0.1, "max": 99999}
],
"current": {"min": "40u", "max": "20m"},
"thd": {"min": 0.05, "max": 99999},
"even": {"min": 0, "max": 1},
"odd": {"min": 0, "max": 1}
},
"optimize": {
"max gain": false,
"min current": false,
"min thd": false,
"max thd": false,
"max even": false,
"max odd": false,
"max thd*even": false,
"max thd*odd": false
}
}