[img:http://ooooo.be/cmdp/images/cmdp-mertsen.jpg|300px]
LOCAL SCRIPT
#/bin/bash
python3 circle.py
pdf2svg out$1.pdf out$1.svg
CONNECT
REVERSE TUNNEL
ssh root@188.210.92.35 -p 8022 -R 12345:localhost:22
ssh pi@localhost -p 12345 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
launch audio stream to bolwerk streaming server
gst-launch-1.0 -v alsasrc device=plughw:0 ! queue ! audioconvert ! vorbisenc ! oggmux ! shout2send mount=/axidraw.ogg port=80 password=jonctions ip=188.210.92.35
SCREEN SESSION
screen
ctrlA N (new)
REMOTE SCRIPT
./replace.sh
DOWNLOAD LOCAL OUPUT
wget https://www.ooooo.be/transfer/cmdp/code/*
wget -O out1.pdf https://www.ooooo.be/transfer/cmdp/out.svg
---------------------------------------------------------------------------------------------
WELCOME
espeak -s 130 -f voice/0_welcome.txt --stdout | aplay -D plughw:1
INTRO
espeak -s 130 -f voice/1_print.txt --stdout | aplay -D plughw:1
disable steppermotors
python axicli.py -m align
ACTION ALIGN
espeak -s 130 -f voice/2_actions.txt --stdout | aplay -D plughw:1
ACTION UP/DOWN > TOGGLE
python axicli.py -m toggle
espeak -s 130 -f voice/3_penput.txt --stdout | aplay -D plughw:1
ACTION PUT PEN
espeak -s 140 -f voice/4_penput.txt --stdout | aplay -D plughw:1
ACTION UP/DOWN > TOGGLE
python axicli.py -m toggle
espeak -s 130 -f voice/5_pentest.txt --stdout | aplay -D plughw:1
It is quine time.
espeak -s 130 -f voice/6_quine.txt --stdout | aplay -D plughw:1
PRINT
python axicli.py ../cmdp/prints/date-outline9.svg
https://www.ooooo.be/transfer/cmdp/code/*
SPEAK
espeak -s 130 " hello" --stdout | aplay -D plughw:1
espeak -s 130 "if you touch the stone, your fingerprints will be on the print" --stdout | aplay -D plughw:1