parent
385853f018
commit
f8bd51f6b1
Binary file not shown.
Binary file not shown.
@ -0,0 +1,23 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
WAV2SKETCH="./wav2sketch" |
||||||
|
|
||||||
|
if [ ! -e "${WAV2SKETCH}" ] |
||||||
|
then |
||||||
|
gcc "${HOME}/Arduino-Teensy/MicroDexed/third-party/wav2sketch.c" -o "${WAV2SKETCH}" |
||||||
|
chmod 700 "${WAV2SKETCH}" |
||||||
|
fi |
||||||
|
|
||||||
|
"${WAV2SKETCH}" -16 |
||||||
|
|
||||||
|
rm *.h |
||||||
|
rm -f drumset.h |
||||||
|
touch drumset.h |
||||||
|
|
||||||
|
for i in `ls -1 *.cpp` |
||||||
|
do |
||||||
|
echo "# ${i}" >> drumset.h |
||||||
|
cat "${i}" | grep '^[A-Za-z0-9]' >> drumset.h |
||||||
|
echo "" >> drumset.h |
||||||
|
rm "${i}" |
||||||
|
done |
Loading…
Reference in new issue