Broken AI server Part 1
its 5:30 in the morning
This commit is contained in:
BIN
V3.1/build/usr/local/bin/jibo-audio-convert
Normal file
BIN
V3.1/build/usr/local/bin/jibo-audio-convert
Normal file
Binary file not shown.
28
V3.1/build/usr/local/bin/jibo-audio-convertall
Normal file
28
V3.1/build/usr/local/bin/jibo-audio-convertall
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
CONVERT="jibo-audio-convert -f planar -F interleaved -w"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
LOC="/tmp"
|
||||
else
|
||||
LOC="$1"
|
||||
fi
|
||||
|
||||
if [ -s $LOC/sin.raw ]; then
|
||||
$CONVERT --infile $LOC/sin.raw --outfile $LOC/sin.wav -c 6 -r 16000
|
||||
fi
|
||||
if [ -s $LOC/sout.raw ]; then
|
||||
$CONVERT --infile $LOC/sout.raw --outfile $LOC/sout.wav -c 2 -r 16000
|
||||
fi
|
||||
if [ -s $LOC/ref.raw ]; then
|
||||
$CONVERT --infile $LOC/ref.raw --outfile $LOC/ref.wav -c 2 -r 16000
|
||||
fi
|
||||
if [ -s $LOC/rin.raw ]; then
|
||||
$CONVERT --infile $LOC/rin.raw --outfile $LOC/rin.wav -c 1 -r 48000
|
||||
fi
|
||||
if [ -s $LOC/rout.raw ]; then
|
||||
$CONVERT --infile $LOC/rout.raw --outfile $LOC/rout.wav -c 1 -r 48000
|
||||
fi
|
||||
if [ -s $LOC/hotphrase.raw ]; then
|
||||
$CONVERT --infile $LOC/hotphrase.raw --outfile $LOC/hotphrase.wav -c 2 -r 16000
|
||||
fi
|
||||
BIN
V3.1/build/usr/local/bin/jibo-audio-dump-state
Normal file
BIN
V3.1/build/usr/local/bin/jibo-audio-dump-state
Normal file
Binary file not shown.
BIN
V3.1/build/usr/local/bin/jibo-audio-ping-test
Normal file
BIN
V3.1/build/usr/local/bin/jibo-audio-ping-test
Normal file
Binary file not shown.
BIN
V3.1/build/usr/local/bin/jibo-audio-pong-test
Normal file
BIN
V3.1/build/usr/local/bin/jibo-audio-pong-test
Normal file
Binary file not shown.
BIN
V3.1/build/usr/local/bin/jibo-audio-pump-device
Normal file
BIN
V3.1/build/usr/local/bin/jibo-audio-pump-device
Normal file
Binary file not shown.
BIN
V3.1/build/usr/local/bin/jibo-audio-service
Normal file
BIN
V3.1/build/usr/local/bin/jibo-audio-service
Normal file
Binary file not shown.
Reference in New Issue
Block a user