Skip to content

Commit

Permalink
updated test 2 with audio instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
janvda authored and janvda committed Sep 23, 2019
1 parent 88c697b commit c9a17a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file added pulseaudio-client-test/.DS_Store
Binary file not shown.
6 changes: 5 additions & 1 deletion pulseaudio-client-test/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,21 @@ case $test_id in
;;
2) echo "Starting test 2: "
echo "- Starting recording audio within 5 sec !"
paplay
paplay ./test_id_2/step1_welcome.wav
sleep 5
echo "- Recording for $recording_time seconds started ... (SAY SOMETHING) "
paplay ./test_id_2/step2_recording_starts.wav
parecord --channels=1 record_session1.wav &
sleep $recording_time
kill $! #$! expands to the PID of the last process executed in the background
echo "- Recording finished !"
paplay ./test_id_2/step3_recording_finished.wav
sleep 3
paplay ./test_id_2/step4_play_recording.wav
echo "- Playing recorded audio..."
paplay record_session1.wav
echo "... end of test 2"
paplay ./test_id_2/step5_end_of_playing.wav
;;
3) if [ "$remote_display" = "" ]; then
echo "ERROR: \$remote_display must be set for test 3 and is not set !"
Expand Down

0 comments on commit c9a17a1

Please sign in to comment.