Skip to content

Commit b03f18a

Browse files
committed
fix #137
1 parent 4491340 commit b03f18a

File tree

1 file changed

+5
-349
lines changed

1 file changed

+5
-349
lines changed

library/audioop.po

+5-349
Original file line numberDiff line numberDiff line change
@@ -19,366 +19,22 @@ msgstr ""
1919

2020
#: ../../library/audioop.rst:2
2121
msgid ":mod:`!audioop` --- Manipulate raw audio data"
22-
msgstr ""
22+
msgstr ":mod:`!audioop` --- 원시 오디오 데이터 조작"
2323

2424
#: ../../library/audioop.rst:10
2525
msgid ""
2626
"This module is no longer part of the Python standard library. It was "
2727
":ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated"
2828
" in Python 3.11. The removal was decided in :pep:`594`."
2929
msgstr ""
30+
"이 모듈은 더는 파이썬 표준 라이브러리에 포함되지 않습니다. 파이썬 3.11 에서 폐지된 후 :ref:`파이썬 3.13 에서 제거 "
31+
"<whatsnew313-pep594>`\\되었습니다. 제거는 :pep:`594` 에서 결정되었습니다."
3032

3133
#: ../../library/audioop.rst:14
3234
msgid ""
3335
"The last version of Python that provided the :mod:`!audioop` module was "
3436
"`Python 3.12 <https://docs.python.org/3.12/library/audioop.html>`_."
3537
msgstr ""
36-
37-
#~ msgid ":mod:`audioop` --- Manipulate raw audio data"
38-
#~ msgstr ""
39-
40-
#~ msgid ""
41-
#~ "The :mod:`audioop` module contains some "
42-
#~ "useful operations on sound fragments. It"
43-
#~ " operates on sound fragments consisting "
44-
#~ "of signed integer samples 8, 16, "
45-
#~ "24 or 32 bits wide, stored in "
46-
#~ ":term:`bytes-like objects <bytes-like "
47-
#~ "object>`. All scalar items are "
48-
#~ "integers, unless specified otherwise."
49-
#~ msgstr ""
50-
51-
#~ msgid ""
52-
#~ "Support for 24-bit samples was added."
53-
#~ " All functions now accept any :term"
54-
#~ ":`bytes-like object`. String input now "
55-
#~ "results in an immediate error."
56-
#~ msgstr ""
57-
58-
#~ msgid ""
59-
#~ "This module provides support for a-LAW,"
60-
#~ " u-LAW and Intel/DVI ADPCM encodings."
61-
#~ msgstr ""
62-
63-
#~ msgid ""
64-
#~ "A few of the more complicated "
65-
#~ "operations only take 16-bit samples, "
66-
#~ "otherwise the sample size (in bytes) "
67-
#~ "is always a parameter of the "
68-
#~ "operation."
69-
#~ msgstr ""
70-
71-
#~ msgid "The module defines the following variables and functions:"
72-
#~ msgstr ""
73-
74-
#~ msgid ""
75-
#~ "This exception is raised on all "
76-
#~ "errors, such as unknown number of "
77-
#~ "bytes per sample, etc."
78-
#~ msgstr ""
79-
80-
#~ msgid ""
81-
#~ "Return a fragment which is the "
82-
#~ "addition of the two samples passed "
83-
#~ "as parameters. *width* is the sample "
84-
#~ "width in bytes, either ``1``, ``2``, "
85-
#~ "``3`` or ``4``. Both fragments should"
86-
#~ " have the same length. Samples are"
87-
#~ " truncated in case of overflow."
88-
#~ msgstr ""
89-
90-
#~ msgid ""
91-
#~ "Decode an Intel/DVI ADPCM coded fragment"
92-
#~ " to a linear fragment. See the "
93-
#~ "description of :func:`lin2adpcm` for details"
94-
#~ " on ADPCM coding. Return a tuple "
95-
#~ "``(sample, newstate)`` where the sample "
96-
#~ "has the width specified in *width*."
97-
#~ msgstr ""
98-
99-
#~ msgid ""
100-
#~ "Convert sound fragments in a-LAW "
101-
#~ "encoding to linearly encoded sound "
102-
#~ "fragments. a-LAW encoding always uses 8"
103-
#~ " bits samples, so *width* refers only"
104-
#~ " to the sample width of the "
105-
#~ "output fragment here."
106-
#~ msgstr ""
107-
108-
#~ msgid "Return the average over all samples in the fragment."
109-
#~ msgstr ""
110-
111-
#~ msgid ""
112-
#~ "Return the average peak-peak value "
113-
#~ "over all samples in the fragment. "
114-
#~ "No filtering is done, so the "
115-
#~ "usefulness of this routine is "
116-
#~ "questionable."
117-
#~ msgstr ""
118-
119-
#~ msgid ""
120-
#~ "Return a fragment that is the "
121-
#~ "original fragment with a bias added "
122-
#~ "to each sample. Samples wrap around "
123-
#~ "in case of overflow."
124-
#~ msgstr ""
125-
126-
#~ msgid ""
127-
#~ "\"Byteswap\" all samples in a fragment"
128-
#~ " and returns the modified fragment. "
129-
#~ "Converts big-endian samples to "
130-
#~ "little-endian and vice versa."
131-
#~ msgstr ""
132-
133-
#~ msgid ""
134-
#~ "Return the number of zero crossings "
135-
#~ "in the fragment passed as an "
136-
#~ "argument."
137-
#~ msgstr ""
138-
139-
#~ msgid ""
140-
#~ "Return a factor *F* such that "
141-
#~ "``rms(add(fragment, mul(reference, -F)))`` is "
142-
#~ "minimal, i.e., return the factor with"
143-
#~ " which you should multiply *reference* "
144-
#~ "to make it match as well as "
145-
#~ "possible to *fragment*. The fragments "
146-
#~ "should both contain 2-byte samples."
147-
#~ msgstr ""
148-
149-
#~ msgid "The time taken by this routine is proportional to ``len(fragment)``."
150-
#~ msgstr ""
151-
152-
#~ msgid ""
153-
#~ "Try to match *reference* as well "
154-
#~ "as possible to a portion of "
155-
#~ "*fragment* (which should be the longer"
156-
#~ " fragment). This is (conceptually) done"
157-
#~ " by taking slices out of *fragment*,"
158-
#~ " using :func:`findfactor` to compute the"
159-
#~ " best match, and minimizing the "
160-
#~ "result. The fragments should both "
161-
#~ "contain 2-byte samples. Return a tuple"
162-
#~ " ``(offset, factor)`` where *offset* is "
163-
#~ "the (integer) offset into *fragment* "
164-
#~ "where the optimal match started and "
165-
#~ "*factor* is the (floating-point) factor"
166-
#~ " as per :func:`findfactor`."
167-
#~ msgstr ""
168-
169-
#~ msgid ""
170-
#~ "Search *fragment* for a slice of "
171-
#~ "length *length* samples (not bytes!) "
172-
#~ "with maximum energy, i.e., return *i*"
173-
#~ " for which ``rms(fragment[i*2:(i+length)*2])`` is"
174-
#~ " maximal. The fragments should both "
175-
#~ "contain 2-byte samples."
176-
#~ msgstr ""
177-
178-
#~ msgid "The routine takes time proportional to ``len(fragment)``."
179-
#~ msgstr ""
180-
181-
#~ msgid "Return the value of sample *index* from the fragment."
182-
#~ msgstr ""
183-
184-
#~ msgid ""
185-
#~ "Convert samples to 4 bit Intel/DVI "
186-
#~ "ADPCM encoding. ADPCM coding is an "
187-
#~ "adaptive coding scheme, whereby each 4"
188-
#~ " bit number is the difference between"
189-
#~ " one sample and the next, divided "
190-
#~ "by a (varying) step. The Intel/DVI "
191-
#~ "ADPCM algorithm has been selected for"
192-
#~ " use by the IMA, so it may "
193-
#~ "well become a standard."
194-
#~ msgstr ""
195-
196-
#~ msgid ""
197-
#~ "*state* is a tuple containing the "
198-
#~ "state of the coder. The coder "
199-
#~ "returns a tuple ``(adpcmfrag, newstate)``, "
200-
#~ "and the *newstate* should be passed "
201-
#~ "to the next call of :func:`lin2adpcm`."
202-
#~ " In the initial call, ``None`` can"
203-
#~ " be passed as the state. *adpcmfrag*"
204-
#~ " is the ADPCM coded fragment packed"
205-
#~ " 2 4-bit values per byte."
206-
#~ msgstr ""
207-
208-
#~ msgid ""
209-
#~ "Convert samples in the audio fragment"
210-
#~ " to a-LAW encoding and return this"
211-
#~ " as a bytes object. a-LAW is "
212-
#~ "an audio encoding format whereby you "
213-
#~ "get a dynamic range of about 13"
214-
#~ " bits using only 8 bit samples. "
215-
#~ "It is used by the Sun audio "
216-
#~ "hardware, among others."
217-
#~ msgstr ""
218-
219-
#~ msgid "Convert samples between 1-, 2-, 3- and 4-byte formats."
220-
#~ msgstr ""
221-
222-
#~ msgid ""
223-
#~ "In some audio formats, such as "
224-
#~ ".WAV files, 16, 24 and 32 bit "
225-
#~ "samples are signed, but 8 bit "
226-
#~ "samples are unsigned. So when "
227-
#~ "converting to 8 bit wide samples "
228-
#~ "for these formats, you need to "
229-
#~ "also add 128 to the result::"
230-
#~ msgstr ""
231-
232-
#~ msgid ""
233-
#~ "The same, in reverse, has to be"
234-
#~ " applied when converting from 8 to"
235-
#~ " 16, 24 or 32 bit width "
236-
#~ "samples."
237-
#~ msgstr ""
238-
239-
#~ msgid ""
240-
#~ "Convert samples in the audio fragment"
241-
#~ " to u-LAW encoding and return this"
242-
#~ " as a bytes object. u-LAW is "
243-
#~ "an audio encoding format whereby you "
244-
#~ "get a dynamic range of about 14"
245-
#~ " bits using only 8 bit samples. "
246-
#~ "It is used by the Sun audio "
247-
#~ "hardware, among others."
248-
#~ msgstr ""
249-
250-
#~ msgid ""
251-
#~ "Return the maximum of the *absolute "
252-
#~ "value* of all samples in a "
253-
#~ "fragment."
254-
#~ msgstr ""
255-
256-
#~ msgid "Return the maximum peak-peak value in the sound fragment."
257-
#~ msgstr ""
258-
259-
#~ msgid ""
260-
#~ "Return a tuple consisting of the "
261-
#~ "minimum and maximum values of all "
262-
#~ "samples in the sound fragment."
263-
#~ msgstr ""
264-
265-
#~ msgid ""
266-
#~ "Return a fragment that has all "
267-
#~ "samples in the original fragment "
268-
#~ "multiplied by the floating-point value"
269-
#~ " *factor*. Samples are truncated in "
270-
#~ "case of overflow."
271-
#~ msgstr ""
272-
273-
#~ msgid "Convert the frame rate of the input fragment."
274-
#~ msgstr ""
275-
276-
#~ msgid ""
277-
#~ "*state* is a tuple containing the "
278-
#~ "state of the converter. The converter"
279-
#~ " returns a tuple ``(newfragment, "
280-
#~ "newstate)``, and *newstate* should be "
281-
#~ "passed to the next call of "
282-
#~ ":func:`ratecv`. The initial call should "
283-
#~ "pass ``None`` as the state."
284-
#~ msgstr ""
285-
286-
#~ msgid ""
287-
#~ "The *weightA* and *weightB* arguments "
288-
#~ "are parameters for a simple digital "
289-
#~ "filter and default to ``1`` and "
290-
#~ "``0`` respectively."
291-
#~ msgstr ""
292-
293-
#~ msgid "Reverse the samples in a fragment and returns the modified fragment."
294-
#~ msgstr ""
295-
296-
#~ msgid ""
297-
#~ "Return the root-mean-square of the"
298-
#~ " fragment, i.e. ``sqrt(sum(S_i^2)/n)``."
299-
#~ msgstr ""
300-
301-
#~ msgid "This is a measure of the power in an audio signal."
302-
#~ msgstr ""
303-
304-
#~ msgid ""
305-
#~ "Convert a stereo fragment to a "
306-
#~ "mono fragment. The left channel is "
307-
#~ "multiplied by *lfactor* and the right"
308-
#~ " channel by *rfactor* before adding "
309-
#~ "the two channels to give a mono"
310-
#~ " signal."
311-
#~ msgstr ""
312-
313-
#~ msgid ""
314-
#~ "Generate a stereo fragment from a "
315-
#~ "mono fragment. Each pair of samples "
316-
#~ "in the stereo fragment are computed "
317-
#~ "from the mono sample, whereby left "
318-
#~ "channel samples are multiplied by "
319-
#~ "*lfactor* and right channel samples by"
320-
#~ " *rfactor*."
321-
#~ msgstr ""
322-
323-
#~ msgid ""
324-
#~ "Convert sound fragments in u-LAW "
325-
#~ "encoding to linearly encoded sound "
326-
#~ "fragments. u-LAW encoding always uses 8"
327-
#~ " bits samples, so *width* refers only"
328-
#~ " to the sample width of the "
329-
#~ "output fragment here."
330-
#~ msgstr ""
331-
332-
#~ msgid ""
333-
#~ "Note that operations such as "
334-
#~ ":func:`.mul` or :func:`.max` make no "
335-
#~ "distinction between mono and stereo "
336-
#~ "fragments, i.e. all samples are treated"
337-
#~ " equal. If this is a problem "
338-
#~ "the stereo fragment should be split "
339-
#~ "into two mono fragments first and "
340-
#~ "recombined later. Here is an example"
341-
#~ " of how to do that::"
342-
#~ msgstr ""
343-
344-
#~ msgid ""
345-
#~ "If you use the ADPCM coder to "
346-
#~ "build network packets and you want "
347-
#~ "your protocol to be stateless (i.e. "
348-
#~ "to be able to tolerate packet "
349-
#~ "loss) you should not only transmit "
350-
#~ "the data but also the state. Note"
351-
#~ " that you should send the *initial*"
352-
#~ " state (the one you passed to "
353-
#~ ":func:`lin2adpcm`) along to the decoder, "
354-
#~ "not the final state (as returned "
355-
#~ "by the coder). If you want to "
356-
#~ "use :class:`struct.Struct` to store the "
357-
#~ "state in binary you can code the"
358-
#~ " first element (the predicted value) "
359-
#~ "in 16 bits and the second (the "
360-
#~ "delta index) in 8."
361-
#~ msgstr ""
362-
363-
#~ msgid ""
364-
#~ "The ADPCM coders have never been "
365-
#~ "tried against other ADPCM coders, only"
366-
#~ " against themselves. It could well "
367-
#~ "be that I misinterpreted the standards"
368-
#~ " in which case they will not be"
369-
#~ " interoperable with the respective "
370-
#~ "standards."
371-
#~ msgstr ""
372-
373-
#~ msgid ""
374-
#~ "The :func:`find\\*` routines might look "
375-
#~ "a bit funny at first sight. They"
376-
#~ " are primarily meant to do echo "
377-
#~ "cancellation. A reasonably fast way to"
378-
#~ " do this is to pick the most"
379-
#~ " energetic piece of the output "
380-
#~ "sample, locate that in the input "
381-
#~ "sample and subtract the whole output "
382-
#~ "sample from the input sample::"
383-
#~ msgstr ""
38+
":mod:`!audioop` 모듈을 제공한 마지막 파이썬 버전은 `파이썬 3.12 "
39+
"<https://docs.python.org/ko/3.12/library/audioop.html>`_ 입니다."
38440

0 commit comments

Comments
 (0)