piccal/README.md
2020-11-24 13:27:05 -05:00

46 lines
861 B
Markdown

* 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)] )`