From 49ef663176c365817c345c395c8ec24e24044942 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 24 Nov 2020 13:27:05 -0500 Subject: [PATCH] README.md : Added first plot image. --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/README.md b/README.md index d3dedfe..40ce5be 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,45 @@ * Picadae Calibration Programs +sudo dnf install python3-devel jack-audio-connection-kit-devel + + +prerequisites: +pyyaml +sounddevice +soundfile +pthon-rtmidi + +export PYTHONPATH=${HOME}/src/picadae/control/app +python p_ac.py -c p_ac.yml + +c 60 60 # caputre note 60 using the full_pulseL[] from the p_ac.yml + + + + + + +# plot third take of note 60 +python plot_seq.py ~/temp/p_ac_3_oa/60 p_ac.yml 3 + +# record a calibration take: CalibrateKeys.start +uses cfg.full_pulseL[] for the pulse sequence +use cfg.calibrateArgs.holdDutyPctD{} for hold PWM duty cycle + +# obsolete plotting function in calibrate_plot.py +python calibrate_plot.py ~/temp/p_ac_3_oa/60/2 p_ac.yml 60 + + + + + + +![Plot Seq 1](doc/plot_seq_0.png) + +`python plot_seq.py ~/temp/p_ac_3_od/60 p_ac.yml 12` + + +![Multi Plot 1](doc/multi_plot.svg) + +plot_seq.py `do_td_multi_plot(inDir,cfg.analysisArgs,[(36,4), (48,2)] )` +