picadae calibration programs
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
kevin 349a6be063 Merge branch 'master' of gitea.larke.org:kevin/picadae_ac_3 3 gadus atpakaļ
doc Merge branch 'master' of gitea.larke.org:kevin/picadae_ac_3 3 gadus atpakaļ
.gitignore AudioDevice.py : fixed linear_buffer() p_ac.py : changed dutyCyclePct to a list, added real-timen note analysis and multi-pitch tests. Added keyboard.py, rt_note_analysis.py, plot_note_analysis.py, plot_all_note_durations.ipynb. 4 gadus atpakaļ
AudioDevice.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
COPYING Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
LICENSE Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
MidiDevice.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
MidiFilePlayer.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
README.md README.md : Added first plot image. 3 gadus atpakaļ
calibrate.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
calibrate_plot.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
common.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
convert.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
elbow.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
keyboard.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
p_ac.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
p_ac.yml Many changes and additions. 4 gadus atpakaļ
plot_all_note_durations.ipynb AudioDevice.py : fixed linear_buffer() p_ac.py : changed dutyCyclePct to a list, added real-timen note analysis and multi-pitch tests. Added keyboard.py, rt_note_analysis.py, plot_note_analysis.py, plot_all_note_durations.ipynb. 4 gadus atpakaļ
plot_calibrate.ipynb Many changes and additions. First working version of calibrate.py Replaced analysis parameter dbRefWndMs with dbLinRef rms_analysis.py : Added samples_to_linear_residual() plot_seq_1.py : initial commit. 4 gadus atpakaļ
plot_calibrate.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
plot_note_analysis.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
plot_seq.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
plot_seq_1.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
plot_us_db_range.ipynb Many changes and additions. 4 gadus atpakaļ
result.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
rms_analysis.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
rt_note_analysis.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ
velMapD.h Many changes and additions. 4 gadus atpakaļ
velMapD.json Many changes and additions. 4 gadus atpakaļ
velTableToDataStruct.py Added license notices to all files. Initial commit: LICENCE and COPYRIGHT. 3 gadus atpakaļ

README.md

  • 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)] )