Python tools for the KTMicro KT02H20 USB Audio DSP chip for dongles like JCALLY JM12 reverse-engineered from KT_USB_APP.exe protocol.
TUI demo:
ktmicro.py- CLI for the full DSP register set: volume (PGA + digital gains), 5-band PEQ per channel (ADC/DAC), NoiseGate, Limiter, state dump, register read/writektmicro_tui.py- interactive curses TUI with live biquad frequency response graph (--demomode works without hardware)kt02h20.py- device driver class with semantic get/set for every parameterkt02h20_boot.py- bootloader firmware flasher (HID feature reports)hid_transport.py- low-level HID transport (Linux/dev/hidraw)
Requires Python 3 and hidapi (pip install hidapi). Linux only.
# Read full DSP state
python3 ktmicro.py state
# Read / set EQ band
python3 ktmicro.py eq adc --set 0 --freq 1000 --gain +3.0 --q 1.0
# Toggle NoiseGate
python3 ktmicro.py ng --set en 0
# Interactive TUI
python3 ktmicro_tui.py python3 -m unittest test_ktmicro -vSee ../KT_USB_PROTOCOL.md for the complete register map and protocol documentation.