Hi All. My feedback : the process is working. Now I would like to create a small bash + zenity tool. I need anyone's help to make it work.<br><br>For now, I have :<br><br><div style="margin-left: 40px;">#!/bin/bash<br>
zenity --question --title="Voice-note" --text="Click Validate to START recording"; gostart=$? <br><br>if [ "$gostart" = 1 ]<br> then<br> echo "Operation canceled"<br> exit<br>
else<br> echo "Recording..."<br>fi<br>zenity --info --title="Voice-note" --text="Click Validate to STOP recording"; gostop=$?<br>arecord -D hw -f cd -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav<br>
alsactl -f /usr/share/openmoko/scenarios/voip-handset.state restore<br>alsactl -f /usr/share/openmoko/scenarios/gsmstereoout.state restore<br>killall -TERM arecord<br><br>zenity --info --title="Voice note" --text="Your voice-note has been recorded"; goread=$? <br>
</div><br>This is not working because I don't know how to load the arecord thing AND show a windows which asks the user to stop recording. Does anyone have any clue ?<br><br>thanks in advance<br><br>kimaidou<br>