|
@@ -1,2 +1,45 @@
|
1
|
1
|
* Picadae Calibration Programs
|
2
|
2
|
|
|
3
|
+sudo dnf install python3-devel jack-audio-connection-kit-devel
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+prerequisites:
|
|
7
|
+pyyaml
|
|
8
|
+sounddevice
|
|
9
|
+soundfile
|
|
10
|
+pthon-rtmidi
|
|
11
|
+
|
|
12
|
+export PYTHONPATH=${HOME}/src/picadae/control/app
|
|
13
|
+python p_ac.py -c p_ac.yml
|
|
14
|
+
|
|
15
|
+c 60 60 # caputre note 60 using the full_pulseL[] from the p_ac.yml
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+# plot third take of note 60
|
|
23
|
+python plot_seq.py ~/temp/p_ac_3_oa/60 p_ac.yml 3
|
|
24
|
+
|
|
25
|
+# record a calibration take: CalibrateKeys.start
|
|
26
|
+uses cfg.full_pulseL[] for the pulse sequence
|
|
27
|
+use cfg.calibrateArgs.holdDutyPctD{} for hold PWM duty cycle
|
|
28
|
+
|
|
29
|
+# obsolete plotting function in calibrate_plot.py
|
|
30
|
+python calibrate_plot.py ~/temp/p_ac_3_oa/60/2 p_ac.yml 60
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+![Plot Seq 1](doc/plot_seq_0.png)
|
|
38
|
+
|
|
39
|
+`python plot_seq.py ~/temp/p_ac_3_od/60 p_ac.yml 12`
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+![Multi Plot 1](doc/multi_plot.svg)
|
|
43
|
+
|
|
44
|
+plot_seq.py `do_td_multi_plot(inDir,cfg.analysisArgs,[(36,4), (48,2)] )`
|
|
45
|
+
|