python_wizard
python_wizard copied to clipboard
running multiple files in python_wizrd
I thought I had raised this as an issue, but it seems to have disappeared.
python3 /home/stephena/python_wizard/python_wizard -S -T tms5220 -f arduino you.wav2 > wavelpc.h
This is the original code in your original instructions, my file names.
But it overwrites the same file, each time you use it.
It should be
python3 /home/stephena/python_wizard/python_wizard -S -T tms5220 -f arduino you.wav2 >> wavelpc.h
which adds the lines to the existing file.
Secondly how do you run repeated command lines like this in python or shell script?
I have 43 wave files to process into one lpc file!
This should do it:
find . -name "*.wav" -exec python3 /home/stephena/python_wizard/python_wizard -S -T tms5220 -f arduino {} \; > wavelpc.h