1
0
Fork 0

Remove all .sh extensions

This commit is contained in:
Rodrigo Franco 2023-12-10 12:09:53 -03:00
parent f26482c9eb
commit 5f4120d620
6 changed files with 25 additions and 0 deletions

5
bin/build Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
pkill sox
gcc jerdehl.c -lm -o jerdehl
./jerdehl | play --ignore-length -t raw -e signed-integer -S -b 32 -c 1 -r 16000 -

4
bin/generate_raw Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
gcc jerdehl.c -lm -o jerdehl
./jerdehl >jerdehl.raw

3
bin/generate_wav Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
ffmpeg -f s16le -ar 16000 -ac 2 -i jerdehl.raw jerdehl.wav

3
bin/play Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
./snapshots/bin/jerdehl | play --ignore-length -t raw -e signed-integer -S -b 32 -c 1 -r 16000 -

5
bin/session Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
while true; do
ls *.c | entr ./build.sh
done

5
bin/snapshot Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
cp jerdehl.c snapshots/src
gcc jerdehl.c -lm -o jerdehl
cp ./jerdehl snapshots/bin