source: trunk/third/esound/test-script @ 15363

Revision 15363, 3.0 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15362, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
RevLine 
[15362]1#!/bin/tcsh
2echo welcome to the test.
3
4echo ""
5echo Please start the server, esd, in another terminal.
6echo You should hear a series of ascending tones.
7echo press enter to continue...
8echo $< >& /dev/null
9
10#####################################################################
11echo ""
12echo Test "#1": esdcat
13echo -----------------
14echo This test should play a sound to the server.
15echo press enter to continue...
16echo $< >& /dev/null
17
18esdcat -b -m -r 11025 test.wav
19
20#####################################################################
21echo ""
22echo Test "#2": esdcat
23echo -----------------
24echo This test should play the same sound twice as fast.
25echo press enter to continue...
26echo $< >& /dev/null
27
28esdcat -b -m -r 22050 test.wav
29
30#####################################################################
31echo ""
32echo Test "#3": esdmon
33echo -----------------
34echo This first part of this test should monitor the sound
35echo to a temporary file.  The second part of the test
36echo should play it back identical to the original.
37echo press enter to continue...
38echo $< >& /dev/null
39
40esdmon > sample.raw &
41esdcat -b -m -r 11025 test.wav
42sleep 3
43killall esdmon
44
45echo press enter to continue...
46echo $< >& /dev/null
47esdcat sample.raw
48rm -f sample.raw
49
50#####################################################################
51echo ""
52echo Test "#4": esdrec
53echo -----------------
54echo This part of this test connects the audio input
55echo to the speaker.  You should hear that signal
56echo echoed to the speaker.
57echo press enter to continue...
58echo $< >& /dev/null
59
60esdrec | esdcat &
61
62echo press enter when you are done...
63echo $< >& /dev/null
64
65killall esdrec
66
67#####################################################################
68echo ""
69echo Test "#5": esdctl
70echo -----------------
71if ( $?ESPEAKER ) then
72echo This part of the test does not yet work
73echo properly with the ESPEAKER variable set
74echo and will be bypassed.
75echo press enter to continue...
76echo $< >& /dev/null
77else
78echo This part of this test confirms the control
79echo signals are operational.  you should see
80echo the messages locked, unlocked, standby,
81echo and resume, on the server terminal.
82echo press enter to continue...
83echo $< >& /dev/null
84
85esdctl unlock lock standby resume
86endif
87#####################################################################
88echo ""
89echo Test "#6": esdsample
90echo --------------------
91echo This part of this test confirms the sample
92echo functionality is operational.  Follow the
93echo directions presented.
94echo press enter to continue...
95echo $< >& /dev/null
96
97esdsample -b -m -r 11025 test.wav
98
99#####################################################################
100echo ""
101echo Test "#7": esdlooop
102echo -------------------
103echo This part of this test confirms the looping
104echo functionality is operational.  Follow the
105echo directions presented.
106echo press enter to continue...
107echo $< >& /dev/null
108
109esdloop -b -m -r 11025 test.wav
110
111#####################################################################
112echo ""
113echo Test concluded.
Note: See TracBrowser for help on using the repository browser.