| @@ -1,233 +1,307 @@ | | | @@ -1,233 +1,307 @@ |
1 | .\" $NetBSD: speaker.4,v 1.24 2020/07/04 19:25:24 uwe Exp $ | | 1 | .\" $NetBSD: speaker.4,v 1.25 2020/07/04 23:09:43 uwe Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2016 Nathanial Sloss <nathanialsloss@yahoo.com.au> | | 3 | .\" Copyright (c) 2016 Nathanial Sloss <nathanialsloss@yahoo.com.au> |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Copyright (c) 1993 Christopher G. Demetriou | | 6 | .\" Copyright (c) 1993 Christopher G. Demetriou |
7 | .\" All rights reserved. | | 7 | .\" All rights reserved. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
15 | .\" notice, this list of conditions and the following disclaimer in the | | 15 | .\" notice, this list of conditions and the following disclaimer in the |
16 | .\" documentation and/or other materials provided with the distribution. | | 16 | .\" documentation and/or other materials provided with the distribution. |
17 | .\" 3. All advertising materials mentioning features or use of this software | | 17 | .\" 3. All advertising materials mentioning features or use of this software |
18 | .\" must display the following acknowledgement: | | 18 | .\" must display the following acknowledgement: |
19 | .\" This product includes software developed for the | | 19 | .\" This product includes software developed for the |
20 | .\" NetBSD Project. See http://www.NetBSD.org/ for | | 20 | .\" NetBSD Project. See http://www.NetBSD.org/ for |
21 | .\" information about NetBSD. | | 21 | .\" information about NetBSD. |
22 | .\" 4. The name of the author may not be used to endorse or promote products | | 22 | .\" 4. The name of the author may not be used to endorse or promote products |
23 | .\" derived from this software without specific prior written permission. | | 23 | .\" derived from this software without specific prior written permission. |
24 | .\" | | 24 | .\" |
25 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 25 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
26 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 26 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
27 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 27 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
28 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 28 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
29 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | | 29 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
30 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | | 30 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
31 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | | 31 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
32 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | | 32 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | | 35 | .\" |
36 | .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> | | 36 | .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> |
37 | .\" | | 37 | .\" |
38 | .Dd June 13, 2017 | | 38 | .Dd June 13, 2017 |
39 | .Dt SPEAKER 4 | | 39 | .Dt SPEAKER 4 |
40 | .Os | | 40 | .Os |
41 | .Sh NAME | | 41 | .Sh NAME |
42 | .Nm speaker | | 42 | .Nm speaker |
43 | .Nd console speaker audio device driver | | 43 | .Nd console speaker audio device driver |
44 | .Sh SYNOPSIS | | 44 | .Sh SYNOPSIS |
45 | .Cd "spkr* at pcppi?" | | 45 | .Cd "spkr* at pcppi?" |
46 | .Cd "spkr* at audio?" | | 46 | .Cd "spkr* at audio?" |
47 | .Pp | | 47 | .Pp |
48 | .In machine/spkr.h | | 48 | .In machine/spkr.h |
49 | .Pa /dev/speaker | | 49 | .Pa /dev/speaker |
50 | .Sh DESCRIPTION | | 50 | .Sh DESCRIPTION |
51 | The speaker device driver allows applications to control the console | | 51 | The speaker device driver allows applications to control the console |
52 | speaker on machines with a PC-like 8253 timer implementation or a synthesized | | 52 | speaker on machines with a PC-like 8253 timer implementation or a synthesized |
53 | speaker from an audio device/soundcard. | | 53 | speaker from an audio device/soundcard. |
54 | .Pp | | 54 | .Pp |
55 | Only one process may have this device open at any given time; | | 55 | Only one process may have this device open at any given time; |
56 | .Xr open 2 | | 56 | .Xr open 2 |
57 | and | | 57 | and |
58 | .Xr close 2 | | 58 | .Xr close 2 |
59 | are used to lock and relinquish it. | | 59 | are used to lock and relinquish it. |
60 | An attempt to | | 60 | An attempt to |
61 | .Xr open 2 | | 61 | .Xr open 2 |
62 | when another process has the device locked will return \-1 with an | | 62 | when another process has the device locked will return \-1 with an |
63 | .Er EBUSY | | 63 | .Er EBUSY |
64 | error indication. | | 64 | error indication. |
65 | Writes to the device are interpreted as 'play strings' in a | | 65 | Writes to the device are interpreted as |
66 | simple ASCII melody notation. | | 66 | .Dq play strings |
| | | 67 | in a simple |
| | | 68 | .Tn ASCII |
| | | 69 | melody notation. |
67 | An | | 70 | An |
68 | .Fn ioctl | | 71 | .Fn ioctl |
69 | for tone generation at arbitrary frequencies is also supported. | | 72 | for tone generation at arbitrary frequencies is also supported. |
70 | .Pp | | 73 | .Pp |
71 | For the pcppi device sound-generation does | | 74 | For the |
| | | 75 | .Xr pcppi 4 |
| | | 76 | device sound-generation does |
72 | .Em not | | 77 | .Em not |
73 | monopolize the processor; in fact, the driver | | 78 | monopolize the processor; in fact, the driver |
74 | spends most of its time sleeping while the PC hardware is emitting | | 79 | spends most of its time sleeping while the PC hardware is emitting |
75 | tones. | | 80 | tones. |
76 | Other processes may emit beeps while the driver is running. | | 81 | Other processes may emit beeps while the driver is running. |
77 | .Pp | | 82 | .Pp |
78 | For the audio device speaker, the speaker uses one of the virtual audio | | 83 | For the audio device speaker, the speaker uses one of the virtual audio |
79 | channels. | | 84 | channels. |
80 | Enabling this device will also provide a | | 85 | Enabling this device will also provide a |
81 | .Xr wsbell 4 | | 86 | .Xr wsbell 4 |
82 | keyboard bell. | | 87 | keyboard bell. |
83 | .Pp | | 88 | .Pp |
84 | Applications may call | | 89 | Applications may call |
85 | .Fn ioctl | | 90 | .Fn ioctl |
86 | on a speaker file descriptor to control the speaker driver directly; | | 91 | on a speaker file descriptor to control the speaker driver directly; |
87 | definitions for the | | 92 | definitions for the |
88 | .Fn ioctl | | 93 | .Fn ioctl |
89 | interface are in | | 94 | interface are in |
90 | .In dev/spkrio.h . | | 95 | .In dev/spkrio.h . |
91 | .Pp | | 96 | .Pp |
92 | The tone_t structure is as follows: | | 97 | The |
93 | .Bd -literal | | 98 | .Vt tone_t |
| | | 99 | structure is as follows: |
| | | 100 | .Bd -literal -offset indent |
94 | typedef struct { | | 101 | typedef struct { |
95 | int frequency; /* in hertz */ | | 102 | int frequency; /* in hertz */ |
96 | int duration; /* in 1/100ths of a second */ | | 103 | int duration; /* in 1/100ths of a second */ |
97 | } tone_t; | | 104 | } tone_t; |
98 | .Ed | | 105 | .Ed |
| | | 106 | .Pp |
99 | A frequency of zero is interpreted as a rest. | | 107 | A frequency of zero is interpreted as a rest. |
100 | .Pp | | 108 | .Pp |
101 | At present there are four ioctls: | | 109 | At present there are four ioctls: |
102 | .Bl -tag -width Dv | | 110 | .Bl -tag -width Dv |
103 | .It Dv SPKRGETVOL | | 111 | .It Dv SPKRGETVOL |
104 | Returns an integer, which is the current bell volume as a percentage (0-100). | | 112 | Returns an integer, which is the current bell volume as a percentage (0\(en100). |
105 | .It Dv SPKRSETVOL | | 113 | .It Dv SPKRSETVOL |
106 | Accepts an integer, which is the desired volume as a percentage. | | 114 | Accepts an integer, which is the desired volume as a percentage. |
107 | .It Dv SPKRTONE | | 115 | .It Dv SPKRTONE |
108 | Accepts a pointer to a single tone structure as third argument and plays it. | | 116 | Accepts a pointer to a single tone structure as third argument and plays it. |
109 | .It Dv SPKRTUNE | | 117 | .It Dv SPKRTUNE |
110 | Accepts a pointer to the first of an array of tone structures and plays | | 118 | Accepts a pointer to the first of an array of tone structures and plays |
111 | them in continuous sequence; this array must be terminated by a final member | | 119 | them in continuous sequence; this array must be terminated by a final member |
112 | with a zero duration. | | 120 | with a zero duration. |
113 | .El | | 121 | .El |
114 | .Pp | | 122 | .\" |
115 | The play-string language is modelled on the PLAY statement conventions of | | 123 | .Ss Play string language |
116 | IBM BASIC 2.0. | | 124 | .\" |
117 | The MB, MF and X primitives of PLAY are not useful in a UNIX | | 125 | The play string language is modelled on the |
| | | 126 | .Ic PLAY |
| | | 127 | statement conventions of |
| | | 128 | .Tn IBM BASIC No 2.0 . |
| | | 129 | The |
| | | 130 | .Ic MB , |
| | | 131 | .Ic MF |
| | | 132 | and |
| | | 133 | .Ic X |
| | | 134 | primitives of |
| | | 135 | .Ic PLAY |
| | | 136 | are not useful in a |
| | | 137 | .Tn UNIX |
118 | environment and are omitted. | | 138 | environment and are omitted. |
119 | The `octave-tracking' feature is also new. | | 139 | The |
| | | 140 | .Dq octave-tracking |
| | | 141 | feature is also new. |
120 | .Pp | | 142 | .Pp |
121 | There are 84 accessible notes numbered 1-84 in 7 octaves, each running from | | 143 | There are 84 accessible notes numbered 1\(en84 in 7 octaves, each running from |
122 | C to B, numbered 0-6; the scale is equal-tempered A440 and octave 3 starts | | 144 | C to B, numbered 0\(en6; the scale is equal-tempered A440 and octave\~3 starts |
123 | with middle C. | | 145 | with middle C. |
124 | By default, the play function emits half-second notes with the | | 146 | By default, the play function emits half-second notes with the |
125 | last 1/16th second being `rest time'. | | 147 | last 1/16th second being |
| | | 148 | .Dq rest time . |
126 | .Pp | | 149 | .Pp |
127 | Play strings are interpreted left to right as a series of play command groups; | | 150 | Play strings are interpreted left to right as a series of play command groups. |
128 | letter case is ignored. | | 151 | Letter case is ignored. |
| | | 152 | Whitespace is ignored and may be used to separate melody sections. |
129 | Play command groups are as follows: | | 153 | Play command groups are as follows: |
130 | .Pp | | 154 | .Bl -tag -width Ic |
131 | CDEFGAB -- letters A through G cause the corresponding note to be played in the | | 155 | .It Ic C , D , E , F , G , A , B |
132 | current octave. | | 156 | Letters |
| | | 157 | .Sq Ic A |
| | | 158 | through |
| | | 159 | .Sq Ic G |
| | | 160 | cause the corresponding note to be played in the current octave. |
133 | A note letter may optionally be followed by an | | 161 | A note letter may optionally be followed by an |
134 | .Em accidental sign , | | 162 | .Em accidental sign , |
135 | one of # + or -; the first two of these cause it to be sharped one | | 163 | one of |
| | | 164 | .Sq Ic \&# , |
| | | 165 | .Sq Ic \&+ , |
| | | 166 | or |
| | | 167 | .Sq Ic \&- ; |
| | | 168 | the first two of these cause it to be sharped one |
136 | half-tone, the last causes it to be flatted one half-tone. | | 169 | half-tone, the last causes it to be flatted one half-tone. |
137 | It may also be | | 170 | It may also be |
138 | followed by a time value number and by sustain dots (see below). | | 171 | followed by a time value number and by sustain dots (see below). |
139 | Time values | | 172 | Time values are interpreted as for the |
140 | are interpreted as for the L command below;. | | 173 | .Sq Ic L |
141 | .Pp | | 174 | command below;. |
142 | O <n> -- if <n> is numeric, this sets the current octave. | | 175 | .\" |
143 | <n> may also be one | | 176 | .It Ic O Ns Ar n , Ic OL , Ic ON |
144 | of 'L' or 'N' to enable or disable octave-tracking (it is disabled by default). | | 177 | If |
| | | 178 | .Ar n |
| | | 179 | is numeric, this sets the current octave. |
| | | 180 | .Sq Ic OL |
| | | 181 | enables, and |
| | | 182 | .Sq Ic ON |
| | | 183 | disables |
| | | 184 | .Em octave-tracking |
| | | 185 | (it is disabled by default). |
145 | When octave-tracking is on, interpretation of a pair of letter notes will | | 186 | When octave-tracking is on, interpretation of a pair of letter notes will |
146 | change octaves if necessary in order to make the smallest possible jump between | | 187 | change octaves if necessary in order to make the smallest possible jump between |
147 | notes. | | 188 | notes. |
148 | Thus "olbc" will be played as "olb>c", and "olcb" as "olc<b". | | 189 | Thus |
149 | Octave | | 190 | .Dq Li olbc |
150 | locking is disabled for one letter note following by >, < and O[0123456]. | | 191 | will be played as |
151 | .Pp | | 192 | .Dq Li olb>c , |
152 | > -- bump the current octave up one. | | 193 | and |
153 | .Pp | | 194 | .Dq Li olcb |
154 | < -- drop the current octave down one. | | 195 | as |
155 | .Pp | | 196 | .Dq Li olc<b . |
156 | N <n> -- play note n, n being 1 to 84 or 0 for a rest of current time value. | | 197 | Octave tracking is temporarily disabled for one letter note that follows |
| | | 198 | .Sq Ic \&> , |
| | | 199 | .Sq Ic \&< |
| | | 200 | or |
| | | 201 | .Sq Ic O Ns Ar n . |
| | | 202 | .\" |
| | | 203 | .It Ic \&> |
| | | 204 | Bump the current octave up one. |
| | | 205 | .\" |
| | | 206 | .It Ic \&< |
| | | 207 | Drop the current octave down one. |
| | | 208 | .\" |
| | | 209 | .It Ic N Ns Ar n |
| | | 210 | Play note |
| | | 211 | .Ar n , |
| | | 212 | .Ar n |
| | | 213 | being 1 to 84 or 0 for a rest of current time value. |
157 | May be followed by sustain dots. | | 214 | May be followed by sustain dots. |
158 | .Pp | | 215 | .\" |
159 | L <n> -- sets the current time value for notes. | | 216 | .It Ic L Ns Ar n |
160 | The default is L4, quarter notes. | | 217 | Sets the current time value for notes. |
| | | 218 | The default is |
| | | 219 | .Dq Li L4 , |
| | | 220 | quarter notes. |
161 | The lowest possible value is 1; values up to 64 are accepted. | | 221 | The lowest possible value is 1; values up to 64 are accepted. |
162 | L1 sets whole notes, L2 sets half notes, L4 sets quarter notes, etc.. | | 222 | .Dq Li L1 |
163 | .Pp | | 223 | sets whole notes, |
164 | P <n> -- pause (rest), with <n> interpreted as for L. | | 224 | .Dq Li L2 |
165 | May be followed by | | 225 | sets half notes, |
166 | sustain dots. | | 226 | .Dq Li L4 |
167 | May also be written '~'. | | 227 | sets quarter notes, etc... |
168 | .Pp | | 228 | .\" |
169 | T <n> -- Sets the number of quarter notes per minute; default is 120. | | 229 | .It Ic P Ns Ar n , Ic \&~ Ns Ar n |
| | | 230 | Pause (rest), with |
| | | 231 | .Ar n |
| | | 232 | interpreted as for |
| | | 233 | .Sq Ic L . |
| | | 234 | May be followed by sustain dots. |
| | | 235 | .\" |
| | | 236 | .It Ic T Ns Ar n |
| | | 237 | Sets the number of quarter notes per minute; default is 120. |
170 | Musical names for common tempi are: | | 238 | Musical names for common tempi are: |
171 | .Bl -column Description Prestissimo "Beats per Minute" -offset indent | | 239 | .Bl -column "very slow" "Larghissimo" "999\(en999" -offset indent |
172 | .It Ta Sy Tempo Ta Sy "Beats per Minute" | | 240 | .It Ta Sy "Tempo" Ta Sy "BPM" |
173 | .It very slow Ta Larghissimo Ta "" | | 241 | .It very slow Ta Larghissimo Ta "" |
174 | .It Ta Largo Ta 40-60 | | 242 | .It Ta Largo Ta 40\(en60 |
175 | .It Ta Larghetto Ta 60-66 | | 243 | .It Ta Larghetto Ta 60\(en66 |
176 | .It Ta Grave Ta "" | | 244 | .It Ta Grave Ta "" |
177 | .It Ta Lento Ta "" | | 245 | .It Ta Lento Ta "" |
178 | .It Ta Adagio Ta 66-76 | | 246 | .It Ta Adagio Ta 66\(en76 |
179 | .It slow Ta Adagietto Ta "" | | 247 | .It slow Ta Adagietto Ta "" |
180 | .It Ta Andante Ta 76-108 | | 248 | .It Ta Andante Ta 76\(en108 |
181 | .It medium Ta Andantino Ta "" | | 249 | .It medium Ta Andantino Ta "" |
182 | .It Ta Moderato Ta 108-120 | | 250 | .It Ta Moderato Ta 108\(en120 |
183 | .It fast Ta Allegretto Ta "" | | 251 | .It fast Ta Allegretto Ta "" |
184 | .It Ta Allegro Ta 120-168 | | 252 | .It Ta Allegro Ta 120\(en168 |
185 | .It Ta Vivace Ta "" | | 253 | .It Ta Vivace Ta "" |
186 | .It Ta Veloce Ta "" | | 254 | .It Ta Veloce Ta "" |
187 | .It Ta Presto Ta 168-208 | | 255 | .It Ta Presto Ta 168\(en208 |
188 | .It very fast Ta Prestissimo Ta "" | | 256 | .It very fast Ta Prestissimo Ta "" |
189 | .El | | 257 | .El |
190 | .Pp | | 258 | .\" |
191 | M[LNS] -- set articulation. | | 259 | .It Ic ML , Ic MN , Ic MS |
192 | MN (N for normal) is the default; the last 1/8th of | | 260 | Set articulation. |
| | | 261 | .Sq Ic MN |
| | | 262 | (for normal) is the default; the last 1/8th of |
193 | the note's value is rest time. | | 263 | the note's value is rest time. |
194 | You can set ML for legato (no rest space) or | | 264 | You can set |
195 | MS (staccato) 1/4 rest space. | | 265 | .Sq Ic ML |
| | | 266 | for legato (no rest time) or |
| | | 267 | .Sq Ic MS |
| | | 268 | for staccato (1/4 rest time). |
| | | 269 | .El |
196 | .Pp | | 270 | .Pp |
197 | Notes (that is, CDEFGAB or N command character groups) may be followed by | | 271 | Notes, that is, |
198 | sustain dots. | | 272 | .Ic C , D , E , F , G , A , B , |
| | | 273 | or |
| | | 274 | .Ic N |
| | | 275 | command character groups, may be followed by sustain dots. |
199 | Each dot causes the note's value to be lengthened by one-half | | 276 | Each dot causes the note's value to be lengthened by one-half |
200 | for each one. | | 277 | for each one. |
201 | Thus, a note dotted once is held for 3/2 of its undotted value; | | 278 | Thus, a note dotted once is held for 3/2 of its undotted value; |
202 | dotted twice, it is held 9/4, and three times would give 27/8. | | 279 | dotted twice, it is held 9/4, and three times would give 27/8. |
203 | .Pp | | | |
204 | Whitespace in play strings is simply skipped and may be used to separate | | | |
205 | melody sections. | | | |
206 | .Sh FILES | | 280 | .Sh FILES |
207 | .Bl -tag -width Pa -compact | | 281 | .Bl -tag -width Pa -compact |
208 | .It Pa /dev/speaker | | 282 | .It Pa /dev/speaker |
209 | .El | | 283 | .El |
210 | .Sh SEE ALSO | | 284 | .Sh SEE ALSO |
211 | .Xr audio 4 , | | 285 | .Xr audio 4 , |
212 | .Xr pcppi 4 , | | 286 | .Xr pcppi 4 , |
213 | .Xr wsbell 4 , | | 287 | .Xr wsbell 4 , |
214 | .Xr sysctl 8 | | 288 | .Xr sysctl 8 |
215 | .Sh HISTORY | | 289 | .Sh HISTORY |
216 | This | | 290 | This |
217 | .Nm | | 291 | .Nm |
218 | device was originally for the pcppi PC timer interface. | | 292 | device was originally for the pcppi PC timer interface. |
219 | Support was added for a synthesized device by Nathanial Sloss, first appearing | | 293 | Support was added for a synthesized device by Nathanial Sloss, first appearing |
220 | in | | 294 | in |
221 | .Nx 8.0 . | | 295 | .Nx 8.0 . |
222 | .Sh AUTHORS | | 296 | .Sh AUTHORS |
223 | .An Eric S. Raymond Aq Mt esr@snark.thyrsus.com | | 297 | .An Eric S. Raymond Aq Mt esr@snark.thyrsus.com |
224 | .Sh BUGS | | 298 | .Sh BUGS |
225 | Due to roundoff in the pitch tables and slop in the tone-generation and timer | | 299 | Due to roundoff in the pitch tables and slop in the tone-generation and timer |
226 | hardware (neither of which was designed for precision), neither pitch accuracy | | 300 | hardware (neither of which was designed for precision), neither pitch accuracy |
227 | nor timings will be mathematically exact. | | 301 | nor timings will be mathematically exact. |
228 | .Pp | | 302 | .Pp |
229 | There is no volume control. | | 303 | There is no volume control. |
230 | .Pp | | 304 | .Pp |
231 | In play strings which are very long (longer than your system's physical I/O | | 305 | In play strings which are very long (longer than your system's physical I/O |
232 | blocks) note suffixes or numbers may occasionally be parsed incorrectly due | | 306 | blocks) note suffixes or numbers may occasionally be parsed incorrectly due |
233 | to crossing a block boundary. | | 307 | to crossing a block boundary. |