1ESDSAMPLE(1)               Enlightened Sound Daemon               ESDSAMPLE(1)
2
3
4

NAME

6       esdsample - play a sample
7

SYNOPSIS

9       esdsample [-s hostname:port] [-b] [-d] [-e] [-h] [-m] [-r freq] sampleā€
10       name
11

DESCRIPTION

13       The esdsample utility plays a sample using the Enlighted  Sound  Daemon
14       (esd).
15

OPTIONS

17       The following options are supported:
18
19       -s hostname:portContact the esd server on hostname at port.
20
21
22
23       -b              Specify  that  the output should be in 8-bit format. By
24                       default, the output is in 16-bit format.
25
26
27
28       -d              Play the sample from file  as  raw  data.  The  default
29                       behavior  is  to read the data from a sound file (.wav,
30                       .au, and so on). If this option is  chosen,  samplename
31                       is the name of a file.
32
33
34
35       -e              Play  the  sample from the esd cache. If this option is
36                       chosen, samplename  is the name of the  sample  in  the
37                       cache.
38
39
40
41       -h              Display help text, and exit.
42
43
44
45       -m              Specify  that  the  output should be in mono format. By
46                       default, the output is in stereo format.
47
48
49
50       -r freq         Specify that the output rate should be set to freq.  By
51                       default, the output rate is set to 44.1 kHz.
52
53
54

OPERANDS

56       The following operands are supported:
57
58       samplename      The  name of the sample to be played.  If the -e option
59                       is used, samplename is the esd  cache name.  Otherwise,
60                       samplename is a filename.
61
62
63

EXAMPLES

65       Example 1: Playing a sample from a file
66
67       example% esdsample generic.wav
68
69       Example 2: Playing a sample from the esd cache
70
71       example% esdsample -e esdctl:generic.wav
72       (where esdctl:generic.wav is the cache name)
73

EXIT STATUS

75       The following exit values are returned:
76
77       0        Application exited successfully
78
79
80
81       >0       Application exited with failure
82
83
84

SEE ALSO

86       esd(1),  esdcat(1),  esddsp(1),  esdloop(1), esdplay(1), esd-config(1),
87       esdctl(1), esdfilt(1), esdmon(1), esdrec(1)
88
89
90
91
92February 2006                    EsounD 0.2.41                    ESDSAMPLE(1)
Impressum