picadae calibration programs
Go to file
2020-11-25 14:42:40 -05:00
doc README.md : Experiments with adding images. 2020-11-24 14:18:35 -05:00
.gitignore AudioDevice.py : fixed linear_buffer() 2019-11-18 11:44:47 -05:00
AudioDevice.py AudioDevice.py : Change default channel count from 1 (mono) to 2 (stereo). 2020-11-25 14:42:40 -05:00
calibrate_plot.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
calibrate.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
common.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
convert.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
COPYING Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
elbow.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
keyboard.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
LICENSE Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
MidiDevice.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
MidiFilePlayer.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
p_ac.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
p_ac.yml Many changes and additions. 2020-02-29 00:01:58 -05:00
plot_all_note_durations.ipynb AudioDevice.py : fixed linear_buffer() 2019-11-18 11:44:47 -05:00
plot_calibrate.ipynb Many changes and additions. 2019-12-09 17:37:24 -05:00
plot_calibrate.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
plot_note_analysis.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
plot_seq_1.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
plot_seq.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
plot_us_db_range.ipynb Many changes and additions. 2020-02-29 00:01:58 -05:00
README.md README.md : Experiments with adding images. 2020-11-24 14:18:35 -05:00
result.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
rms_analysis.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
rt_note_analysis.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00
velMapD.h Many changes and additions. 2020-02-29 00:01:58 -05:00
velMapD.json Many changes and additions. 2020-02-29 00:01:58 -05:00
velTableToDataStruct.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 2020-10-26 14:57:43 -04:00

  • 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

python plot_seq.py ~/temp/p_ac_3_od/60 p_ac.yml 12

Multi Plot 1

plot_seq.py do_td_multi_plot(inDir,cfg.analysisArgs,[(36,4), (48,2)] )