#103
Fix echo feedback pot index and convert CLI bugs
Addresses items 1, 3, 4, and 5 reported in #101:
audio/echo.h(echo_init):echo_effect.potsdefines Delay, Depth, and Feedback at indices0..2, butecho_init()was readingpot[3]instead ofpot[2]forecho.feedback, leaving the Feedback knob ineffective on the pedal and CLI.convert.c(describe): Write effect and pot descriptions tostderrinstead ofstdoutso piping raws32leaudio to-(stdout) is not corrupted or misaligned by text output.convert.c(modify_pots): Allow live--controlupdates for all 10 pots (idx <= 9instead ofidx <= 3) and wrap thecase 'p':variable declarations in a block scope for standard C compliance.convert.c(main):- Match
short_namein addition tonamewhen looking up an effect (fixing./convert eq .../make eq). - Skip effects that do not implement
stepandinit(preventing a NULL dereference on./convert usb ...). - Exit cleanly with an error message when no effect is selected instead of dereferencing
eff == NULLindescribe().
- Match