python_wizard icon indicating copy to clipboard operation
python_wizard copied to clipboard

running multiple files in python_wizrd

Open adamsstephen opened this issue 2 years ago • 1 comments

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!

adamsstephen avatar Mar 12 '23 16:03 adamsstephen

This should do it:

find . -name "*.wav" -exec python3  /home/stephena/python_wizard/python_wizard -S -T tms5220 -f arduino {} \; > wavelpc.h

ptwz avatar Sep 11 '23 10:09 ptwz