File size: 2,840 Bytes
3bb804c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
  "global_settings": {
    "coupling": 70
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "MediaSourceNode",
      "pos_x": 50,
      "pos_y": 100,
      "width": 200,
      "height": 180,
      "config": {
        "source_type": "Microphone",
        "device_id": 0
      }
    },
    {
      "id": 1,
      "class_name": "FFTCochleaNode",
      "pos_x": 300,
      "pos_y": 100,
      "width": 200,
      "height": 180,
      "config": {
        "freq_bins": 64
      }
    },
    {
      "id": 2,
      "class_name": "SpectrumAnalyzerNode",
      "pos_x": 550,
      "pos_y": 100,
      "width": 200,
      "height": 180,
      "config": {
        "low_split": 0.1,
        "high_split": 0.5
      }
    },
    {
      "id": 3,
      "class_name": "ReactiveSpaceNode",
      "pos_x": 550,
      "pos_y": 350,
      "width": 400,
      "height": 300,
      "config": {
        "particle_count": 300,
        "width": 400,
        "height": 300,
        "color_scheme": "plasma"
      }
    },
    {
      "id": 4,
      "class_name": "ImageDisplayNode",
      "pos_x": 1000,
      "pos_y": 350,
      "width": 300,
      "height": 250,
      "config": {}
    },
    {
      "id": 5,
      "class_name": "WaveletDecomposeNode",
      "pos_x": 300,
      "pos_y": 350,
      "width": 200,
      "height": 180,
      "config": {
        "wavelet_name": "haar",
        "size": 128
      }
    },
    {
      "id": 6,
      "class_name": "iFFTCochleaNode",
      "pos_x": 50,
      "pos_y": 350,
      "width": 200,
      "height": 180,
      "config": {}
    },
    {
      "id": 7,
      "class_name": "ImageDisplayNode",
      "pos_x": 50,
      "pos_y": 580,
      "width": 250,
      "height": 200,
      "config": {}
    }
  ],
  "edges": [
    {
      "from_node_id": 0,
      "from_port": "signal",
      "to_node_id": 1,
      "to_port": "signal"
    },
    {
      "from_node_id": 1,
      "from_port": "spectrum",
      "to_node_id": 2,
      "to_port": "spectrum_in"
    },
    {
      "from_node_id": 2,
      "from_port": "bass",
      "to_node_id": 3,
      "to_port": "bass_in"
    },
    {
      "from_node_id": 2,
      "from_port": "high",
      "to_node_id": 3,
      "to_port": "highs_in"
    },
    {
      "from_node_id": 3,
      "from_port": "image",
      "to_node_id": 4,
      "to_port": "image"
    },
    {
      "from_node_id": 4,
      "from_port": "image",
      "to_node_id": 5,
      "to_port": "image"
    },
    {
      "from_node_id": 5,
      "from_port": "LL",
      "to_node_id": 6,
      "to_port": "complex_spectrum"
    },
    {
      "from_node_id": 6,
      "from_port": "image",
      "to_node_id": 7,
      "to_port": "image"
    }
  ]
}