1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
Network Working Group J. Salsman
Request for Comments: 2586 H. Alvestrand
Category: Informational UNINETT
May 1999
The Audio/L16 MIME content type
Status of this Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (1999). All Rights Reserved.
1. Introduction
This document defines the audio/L16 MIME type, a reasonable quality
audio format for use in Internet applications.
Possible application areas include E-mail, Web served content, file
upload in Web forms, and more.
2. The need for the Audio/L16 MIME type
The set of IETF standard MIME types for audio is small; it consists
of only the audio/basic and audio/32kadpcm types, which have a
sampling rate of 8000 samples/second.
Rates below 11025 may obscure consonant information, even for
single-voice speech. Common compressions, such as LPC, are known to
be microphone-dependant and lossy. Thus far all IETF MIME Audio
types either default to 8000 samples per second or use LPC.
In order for advanced speech recognition and related educational
applications to make use of internet transports (such as RFC 1867
file uploading) which use MIME typing, higher standards are required.
This type repairs that lack by registering a very simple MIME type
that allows higher rate, linear-encoded audio with multiple channels.
This is an IESG approved MIME type, and its definition is therefore
published as an RFC.
Salsman Informational [Page 1]
^L
RFC 2586 The Audio/L16 MIME content type May 1999
Please note that there are many other Audio types described in RFC
1890 [1] which IANA may wish to formally register; this one, of all
of them, seems to be most immediately needed. This document may also
serve as a template for further registrations of these audio types.
3. The definition of Audio/L16
Audio/L16 is based on the well know audio format "L16" described in
RFC 1890 section 4.4.8 for use with RTP transport. L16 denotes
uncompressed audio data, using 16-bit signed representation in twos-
complement notation and network byte order. (From section 4.4.8 of
RFC 1890)
It may be parametrized by varying the sample rate and the number of
channels; the parameters are given on the MIME type header.
In order to promote interoperability, only a few rate values are
standardized here. Other values may NOT be used except by bilateral
agreement.
If multiple audio channels are used, channels are numbered left-to-
right, starting at one. Samples are put into the data stream from
each channel in succession; information from lower-numbered channels
precedes that from higher-numbered channels.
For more than two channels, the convention followed by the AIFF-C
audio interchange format should be followed [1], using the following
notation:
l left
r right
c center
S surround
F front
R rear
channels description channel
1 2 3 4 5 6
___________________________________________________________
2 stereo l r
3 l r c
4 quadrophonic Fl Fr Rl Rr
4 l c r S
5 Fl Fr Fc Sl Sr
6 l lc c r rc S
(From RFC 1890 section 4.1)
Salsman Informational [Page 2]
^L
RFC 2586 The Audio/L16 MIME content type May 1999
4. IANA registration form for Audio/L16
MIME media type name : Audio
MIME subtype name : L16
Required parameters
rate: number of samples per second -- Permissible values for
rate are 8000, 11025, 16000, 22050, 24000, 32000, 44100, and
48000 samples per second.
Optional parameters
channels: how many audio streams are interleaved -- defaults
to 1; stereo would be 2, etc. Interleaving takes place
between individual two-byte samples.
Encoding considerations
Audio data is binary data, and must be encoded for non-binary
transport; the Base64 encoding is suitable for Email. Note
that audio data does not compress easily using lossless
compression.
Security considerations
Audio data is believed to offer no security risks.
Interoperability considerations
This type is compatible with the encoding used in the WAV
(Microsoft Windows RIFF) and Apple AIFF union types, and with
the public domain "sox" and "rateconv" programs.
Published specification
RFC 2586
Applications which use this media
The public domain "sox" and "rateconv" programs accept this
type.
1. Magic number(s) : None
2. File extension(s) : WAV L16
3. Macintosh file type code : AIFF
Person to contact for further information
1. Name : James Salsman
2. E-mail : jps-L16@bovik.org
Intended usage
Common
Salsman Informational [Page 3]
^L
RFC 2586 The Audio/L16 MIME content type May 1999
It is expected that many audio and speech applications will use
this type. Already the most popular platforms provide this type
with the rate=11025 parameter referred to as "radio quality
speech."
Author/Change controller
James Salsman
5. Security considerations
The audio data is believed to offer no security risks.
Note that RFC 1890 permits an application to choose to play a single
channel from a multichannel tranmission; an attacker who knows that
two different users will pick different channels could concievably
construct some confusing messages; this, however, is ridiculous.
This type is perfect for hiding data using steganography.
6. References
[1] Schulzrinne, H., "RTP Profile for Audio and Video Conferences
with Minimal Control", RFC 1890, January 1996.
7. Authors' Addresses
James Salsman
575 S. Rengstorff Avenue
Mountain View, CA 94040-1982 US
EMail: James@bovik.org
Harald Tveit Alvestrand
UNINETT
N-7034 TRONDHEIM
NORWAY
Phone: +47 73 59 70 94
EMail: Harald.T.Alvestrand@uninett.no
Salsman Informational [Page 4]
^L
RFC 2586 The Audio/L16 MIME content type May 1999
8. Full Copyright Statement
Copyright (C) The Internet Society (1999). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Salsman Informational [Page 5]
^L
|