77msgstr ""
88"Project-Id-Version :Python 3.10\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2021-09-13 00:11 +0000\n "
10+ "POT-Creation-Date :2022-03-23 00:14 +0000\n "
1111"PO-Revision-Date :2018-05-23 14:38+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -20,21 +20,25 @@ msgstr ""
2020
2121#: ../../library/aifc.rst:2
2222msgid ":mod:`aifc` --- Read and write AIFF and AIFC files"
23- msgstr ""
23+ msgstr ":mod:`aifc` --- 讀寫 AIFF 與 AIFC 檔案 "
2424
25- #: ../../library/aifc.rst:7
25+ #: ../../library/aifc.rst:8
2626msgid "**Source code:** :source:`Lib/aifc.py`"
2727msgstr "**原始碼:**\\ :source:`Lib/aifc.py`"
2828
2929#: ../../library/aifc.rst:16
30+ msgid "The :mod:`aifc` module is deprecated (see :pep:`594` for details)."
31+ msgstr ":mod:`aifc` 模組 (module) 即將被棄用(詳見 :pep:`594`\\ )。"
32+
33+ #: ../../library/aifc.rst:21
3034msgid ""
3135"This module provides support for reading and writing AIFF and AIFF-C files. "
3236"AIFF is Audio Interchange File Format, a format for storing digital audio "
3337"samples in a file. AIFF-C is a newer version of the format that includes "
3438"the ability to compress the audio data."
3539msgstr ""
3640
37- #: ../../library/aifc.rst:21
41+ #: ../../library/aifc.rst:26
3842msgid ""
3943"Audio files have a number of parameters that describe the audio data. The "
4044"sampling rate or frame rate is the number of times per second the sound is "
@@ -45,19 +49,19 @@ msgid ""
4549"samplesize * framerate`` bytes."
4650msgstr ""
4751
48- #: ../../library/aifc.rst:29
52+ #: ../../library/aifc.rst:34
4953msgid ""
5054"For example, CD quality audio has a sample size of two bytes (16 bits), uses "
5155"two channels (stereo) and has a frame rate of 44,100 frames/second. This "
5256"gives a frame size of 4 bytes (2\\ *2), and a second's worth occupies "
5357"2\\ *2\\ *44100 bytes (176,400 bytes)."
5458msgstr ""
5559
56- #: ../../library/aifc.rst:34
60+ #: ../../library/aifc.rst:39
5761msgid "Module :mod:`aifc` defines the following function:"
5862msgstr ":mod:`aifc` 模組定義了以下函式:"
5963
60- #: ../../library/aifc.rst:39
64+ #: ../../library/aifc.rst:44
6165msgid ""
6266"Open an AIFF or AIFF-C file and return an object instance with methods that "
6367"are described below. The argument *file* is either a string naming a file "
@@ -71,94 +75,94 @@ msgid ""
7175"keyword:`!with` block completes, the :meth:`~aifc.close` method is called."
7276msgstr ""
7377
74- #: ../../library/aifc.rst:50
78+ #: ../../library/aifc.rst:55
7579msgid "Support for the :keyword:`with` statement was added."
7680msgstr ""
7781
78- #: ../../library/aifc.rst:53
82+ #: ../../library/aifc.rst:58
7983msgid ""
8084"Objects returned by :func:`.open` when a file is opened for reading have the "
8185"following methods:"
8286msgstr ""
8387
84- #: ../../library/aifc.rst:59
88+ #: ../../library/aifc.rst:64
8589msgid "Return the number of audio channels (1 for mono, 2 for stereo)."
8690msgstr ""
8791
88- #: ../../library/aifc.rst:64
92+ #: ../../library/aifc.rst:69
8993msgid "Return the size in bytes of individual samples."
9094msgstr ""
9195
92- #: ../../library/aifc.rst:69
96+ #: ../../library/aifc.rst:74
9397msgid "Return the sampling rate (number of audio frames per second)."
9498msgstr ""
9599
96- #: ../../library/aifc.rst:74
100+ #: ../../library/aifc.rst:79
97101msgid "Return the number of audio frames in the file."
98102msgstr ""
99103
100- #: ../../library/aifc.rst:79
104+ #: ../../library/aifc.rst:84
101105msgid ""
102106"Return a bytes array of length 4 describing the type of compression used in "
103107"the audio file. For AIFF files, the returned value is ``b'NONE'``."
104108msgstr ""
105109
106- #: ../../library/aifc.rst:86
110+ #: ../../library/aifc.rst:91
107111msgid ""
108112"Return a bytes array convertible to a human-readable description of the type "
109113"of compression used in the audio file. For AIFF files, the returned value "
110114"is ``b'not compressed'``."
111115msgstr ""
112116
113- #: ../../library/aifc.rst:93
117+ #: ../../library/aifc.rst:98
114118msgid ""
115119"Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth, "
116120"framerate, nframes, comptype, compname)``, equivalent to output of the :meth:"
117121"`get\\ *` methods."
118122msgstr ""
119123
120- #: ../../library/aifc.rst:100
124+ #: ../../library/aifc.rst:105
121125msgid ""
122126"Return a list of markers in the audio file. A marker consists of a tuple of "
123127"three elements. The first is the mark ID (an integer), the second is the "
124128"mark position in frames from the beginning of the data (an integer), the "
125129"third is the name of the mark (a string)."
126130msgstr ""
127131
128- #: ../../library/aifc.rst:108
132+ #: ../../library/aifc.rst:113
129133msgid ""
130134"Return the tuple as described in :meth:`getmarkers` for the mark with the "
131135"given *id*."
132136msgstr ""
133137
134- #: ../../library/aifc.rst:114
138+ #: ../../library/aifc.rst:119
135139msgid ""
136140"Read and return the next *nframes* frames from the audio file. The returned "
137141"data is a string containing for each frame the uncompressed samples of all "
138142"channels."
139143msgstr ""
140144
141- #: ../../library/aifc.rst:121
145+ #: ../../library/aifc.rst:126
142146msgid ""
143147"Rewind the read pointer. The next :meth:`readframes` will start from the "
144148"beginning."
145149msgstr ""
146150
147- #: ../../library/aifc.rst:127
151+ #: ../../library/aifc.rst:132
148152msgid "Seek to the specified frame number."
149153msgstr ""
150154
151- #: ../../library/aifc.rst:132
155+ #: ../../library/aifc.rst:137
152156msgid "Return the current frame number."
153157msgstr ""
154158
155- #: ../../library/aifc.rst:137
159+ #: ../../library/aifc.rst:142
156160msgid ""
157161"Close the AIFF file. After calling this method, the object can no longer be "
158162"used."
159163msgstr ""
160164
161- #: ../../library/aifc.rst:140
165+ #: ../../library/aifc.rst:145
162166msgid ""
163167"Objects returned by :func:`.open` when a file is opened for writing have all "
164168"the above methods, except for :meth:`readframes` and :meth:`setpos`. In "
@@ -168,40 +172,40 @@ msgid ""
168172"parameters except for the number of frames must be filled in."
169173msgstr ""
170174
171- #: ../../library/aifc.rst:150
175+ #: ../../library/aifc.rst:155
172176msgid ""
173177"Create an AIFF file. The default is that an AIFF-C file is created, unless "
174178"the name of the file ends in ``'.aiff'`` in which case the default is an "
175179"AIFF file."
176180msgstr ""
177181
178- #: ../../library/aifc.rst:156
182+ #: ../../library/aifc.rst:161
179183msgid ""
180184"Create an AIFF-C file. The default is that an AIFF-C file is created, "
181185"unless the name of the file ends in ``'.aiff'`` in which case the default is "
182186"an AIFF file."
183187msgstr ""
184188
185- #: ../../library/aifc.rst:163
189+ #: ../../library/aifc.rst:168
186190msgid "Specify the number of channels in the audio file."
187191msgstr ""
188192
189- #: ../../library/aifc.rst:168
193+ #: ../../library/aifc.rst:173
190194msgid "Specify the size in bytes of audio samples."
191195msgstr ""
192196
193- #: ../../library/aifc.rst:173
197+ #: ../../library/aifc.rst:178
194198msgid "Specify the sampling frequency in frames per second."
195199msgstr ""
196200
197- #: ../../library/aifc.rst:178
201+ #: ../../library/aifc.rst:183
198202msgid ""
199203"Specify the number of frames that are to be written to the audio file. If "
200204"this parameter is not set, or not set correctly, the file needs to support "
201205"seeking."
202206msgstr ""
203207
204- #: ../../library/aifc.rst:189
208+ #: ../../library/aifc.rst:194
205209msgid ""
206210"Specify the compression type. If not specified, the audio data will not be "
207211"compressed. In AIFF files, compression is not possible. The name parameter "
@@ -211,42 +215,42 @@ msgid ""
211215"``b'ALAW'``, ``b'G722'``."
212216msgstr ""
213217
214- #: ../../library/aifc.rst:199
218+ #: ../../library/aifc.rst:204
215219msgid ""
216220"Set all the above parameters at once. The argument is a tuple consisting of "
217221"the various parameters. This means that it is possible to use the result of "
218222"a :meth:`getparams` call as argument to :meth:`setparams`."
219223msgstr ""
220224
221- #: ../../library/aifc.rst:206
225+ #: ../../library/aifc.rst:211
222226msgid ""
223227"Add a mark with the given id (larger than 0), and the given name at the "
224228"given position. This method can be called at any time before :meth:`close`."
225229msgstr ""
226230
227- #: ../../library/aifc.rst:213
231+ #: ../../library/aifc.rst:218
228232msgid ""
229233"Return the current write position in the output file. Useful in combination "
230234"with :meth:`setmark`."
231235msgstr ""
232236
233- #: ../../library/aifc.rst:219
237+ #: ../../library/aifc.rst:224
234238msgid ""
235239"Write data to the output file. This method can only be called after the "
236240"audio file parameters have been set."
237241msgstr ""
238242
239- #: ../../library/aifc.rst:222 ../../library/aifc.rst:231
243+ #: ../../library/aifc.rst:227 ../../library/aifc.rst:236
240244msgid "Any :term:`bytes-like object` is now accepted."
241245msgstr ""
242246
243- #: ../../library/aifc.rst:228
247+ #: ../../library/aifc.rst:233
244248msgid ""
245249"Like :meth:`writeframes`, except that the header of the audio file is not "
246250"updated."
247251msgstr ""
248252
249- #: ../../library/aifc.rst:238
253+ #: ../../library/aifc.rst:243
250254msgid ""
251255"Close the AIFF file. The header of the file is updated to reflect the "
252256"actual size of the audio data. After calling this method, the object can no "