PD uses odd units for voltages and currents. Power too, but we don't work with power (yet). In the shell, we have to convert to and from these odd units. We had been doing this in-place every time, which was a bit crumby. Now it's done with macros in pd.h, making prettier and more maintainable code.
|
||
216 | 216 |
|
217 | 217 |
|
218 | 218 |
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
227 |
|
|
228 |
|
|
229 |
|
|
230 |
|
|
231 |
|
|
232 |
|
|
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
|
|
242 |
|
|
243 |
|
|
244 |
|
|
245 |
|
|
219 | 246 |
|
|
||
37 | 37 |
|
38 | 38 |
|
39 | 39 |
|
40 |
|
|
41 |
|
|
42 | 40 |
|
43 | 41 |
|
44 | 42 |
|
45 | 43 |
|
46 | 44 |
|
45 |
|
|
47 | 46 |
|
48 | 47 |
|
49 | 48 |
|
|
||
178 | 177 |
|
179 | 178 |
|
180 | 179 |
|
181 |
|
|
182 |
|
|
180 |
|
|
183 | 181 |
|
184 | 182 |
|
185 | 183 |
|
|
||
198 | 196 |
|
199 | 197 |
|
200 | 198 |
|
201 |
|
|
202 |
|
|
199 |
|
|
203 | 200 |
|
204 | 201 |
|
205 | 202 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
24 |
|
|
23 | 25 |
|
24 | 26 |
|
25 | 27 |
|
|
||
59 | 61 |
|
60 | 62 |
|
61 | 63 |
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
64 | 66 |
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
67 | 71 |
|
68 | 72 |
|
69 | 73 |
|