1
0
Fork 0
python-docs-fr/library/sunau.po

360 lines
8.7 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2018-07-04 09:08:42 +00:00
# For licence information, see README file.
2016-10-30 09:46:26 +00:00
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2018-06-28 13:32:56 +00:00
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
2018-07-04 09:14:25 +00:00
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/sunau.rst:2
msgid ":mod:`sunau` --- Read and write Sun AU files"
msgstr ""
#: ../Doc/library/sunau.rst:9
msgid "**Source code:** :source:`Lib/sunau.py`"
msgstr "**Code source :** :source:`Lib/sunau.py`"
#: ../Doc/library/sunau.rst:13
msgid ""
"The :mod:`sunau` module provides a convenient interface to the Sun AU sound "
"format. Note that this module is interface-compatible with the modules :mod:"
"`aifc` and :mod:`wave`."
msgstr ""
#: ../Doc/library/sunau.rst:17
msgid ""
"An audio file consists of a header followed by the data. The fields of the "
"header are:"
msgstr ""
#: ../Doc/library/sunau.rst:21
msgid "Field"
msgstr ""
#: ../Doc/library/sunau.rst:21
msgid "Contents"
msgstr "Sommaire"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/sunau.rst:23
msgid "magic word"
msgstr ""
#: ../Doc/library/sunau.rst:23
msgid "The four bytes ``.snd``."
msgstr ""
#: ../Doc/library/sunau.rst:25
msgid "header size"
msgstr ""
#: ../Doc/library/sunau.rst:25
msgid "Size of the header, including info, in bytes."
msgstr ""
#: ../Doc/library/sunau.rst:27
msgid "data size"
msgstr ""
#: ../Doc/library/sunau.rst:27
msgid "Physical size of the data, in bytes."
msgstr ""
#: ../Doc/library/sunau.rst:29
msgid "encoding"
msgstr ""
#: ../Doc/library/sunau.rst:29
msgid "Indicates how the audio samples are encoded."
msgstr ""
#: ../Doc/library/sunau.rst:31
msgid "sample rate"
msgstr ""
#: ../Doc/library/sunau.rst:31
msgid "The sampling rate."
msgstr ""
#: ../Doc/library/sunau.rst:33
msgid "# of channels"
msgstr ""
#: ../Doc/library/sunau.rst:33
msgid "The number of channels in the samples."
msgstr ""
#: ../Doc/library/sunau.rst:35
msgid "info"
msgstr ""
#: ../Doc/library/sunau.rst:35
msgid ""
"ASCII string giving a description of the audio file (padded with null bytes)."
msgstr ""
#: ../Doc/library/sunau.rst:39
msgid ""
"Apart from the info field, all header fields are 4 bytes in size. They are "
"all 32-bit unsigned integers encoded in big-endian byte order."
msgstr ""
#: ../Doc/library/sunau.rst:42
msgid "The :mod:`sunau` module defines the following functions:"
msgstr ""
#: ../Doc/library/sunau.rst:47
msgid ""
"If *file* is a string, open the file by that name, otherwise treat it as a "
"seekable file-like object. *mode* can be any of"
msgstr ""
#: ../Doc/library/sunau.rst:51
msgid "``'r'``"
2017-08-10 05:17:13 +00:00
msgstr "``'r'``"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/sunau.rst:51
msgid "Read only mode."
msgstr ""
#: ../Doc/library/sunau.rst:54
msgid "``'w'``"
2017-08-10 05:17:13 +00:00
msgstr "``'w'``"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/sunau.rst:54
msgid "Write only mode."
msgstr ""
#: ../Doc/library/sunau.rst:56
msgid "Note that it does not allow read/write files."
msgstr ""
#: ../Doc/library/sunau.rst:58
msgid ""
"A *mode* of ``'r'`` returns an :class:`AU_read` object, while a *mode* of "
"``'w'`` or ``'wb'`` returns an :class:`AU_write` object."
msgstr ""
#: ../Doc/library/sunau.rst:64
msgid "A synonym for :func:`.open`, maintained for backwards compatibility."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:69
2016-10-30 09:46:26 +00:00
msgid "The :mod:`sunau` module defines the following exception:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:73
2016-10-30 09:46:26 +00:00
msgid ""
"An error raised when something is impossible because of Sun AU specs or "
"implementation deficiency."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:77
2016-10-30 09:46:26 +00:00
msgid "The :mod:`sunau` module defines the following data items:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:81
2016-10-30 09:46:26 +00:00
msgid ""
"An integer every valid Sun AU file begins with, stored in big-endian form. "
"This is the string ``.snd`` interpreted as an integer."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:92
2016-10-30 09:46:26 +00:00
msgid ""
"Values of the encoding field from the AU header which are supported by this "
"module."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:103
2016-10-30 09:46:26 +00:00
msgid ""
"Additional known values of the encoding field from the AU header, but which "
"are not supported by this module."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:110
2016-10-30 09:46:26 +00:00
msgid "AU_read Objects"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:112
2016-10-30 09:46:26 +00:00
msgid ""
"AU_read objects, as returned by :func:`.open` above, have the following "
"methods:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:117
2016-10-30 09:46:26 +00:00
msgid ""
"Close the stream, and make the instance unusable. (This is called "
"automatically on deletion.)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:123
2017-05-27 17:46:38 +00:00
msgid "Returns number of audio channels (1 for mono, 2 for stereo)."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:128
2016-10-30 09:46:26 +00:00
msgid "Returns sample width in bytes."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:133
2016-10-30 09:46:26 +00:00
msgid "Returns sampling frequency."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:138
2016-10-30 09:46:26 +00:00
msgid "Returns number of audio frames."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:143
2016-10-30 09:46:26 +00:00
msgid ""
"Returns compression type. Supported compression types are ``'ULAW'``, "
"``'ALAW'`` and ``'NONE'``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:149
2016-10-30 09:46:26 +00:00
msgid ""
"Human-readable version of :meth:`getcomptype`. The supported types have the "
"respective names ``'CCITT G.711 u-law'``, ``'CCITT G.711 A-law'`` and ``'not "
"compressed'``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:156
2016-10-30 09:46:26 +00:00
msgid ""
"Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth, "
"framerate, nframes, comptype, compname)``, equivalent to output of the :meth:"
"`get\\*` methods."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:163
2016-10-30 09:46:26 +00:00
msgid ""
"Reads and returns at most *n* frames of audio, as a :class:`bytes` object. "
"The data will be returned in linear format. If the original data is in u-"
"LAW format, it will be converted."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:170
2016-10-30 09:46:26 +00:00
msgid "Rewind the file pointer to the beginning of the audio stream."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:172
2016-10-30 09:46:26 +00:00
msgid ""
"The following two methods define a term \"position\" which is compatible "
"between them, and is otherwise implementation dependent."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:178
2016-10-30 09:46:26 +00:00
msgid ""
"Set the file pointer to the specified position. Only values returned from :"
"meth:`tell` should be used for *pos*."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:184
2016-10-30 09:46:26 +00:00
msgid ""
"Return current file pointer position. Note that the returned value has "
"nothing to do with the actual position in the file."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:187
2016-10-30 09:46:26 +00:00
msgid ""
"The following two functions are defined for compatibility with the :mod:"
"`aifc`, and don't do anything interesting."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:193
2016-10-30 09:46:26 +00:00
msgid "Returns ``None``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:198
2016-10-30 09:46:26 +00:00
msgid "Raise an error."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:204
2016-10-30 09:46:26 +00:00
msgid "AU_write Objects"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:206
2016-10-30 09:46:26 +00:00
msgid ""
"AU_write objects, as returned by :func:`.open` above, have the following "
"methods:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:211
2016-10-30 09:46:26 +00:00
msgid "Set the number of channels."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:216
2016-10-30 09:46:26 +00:00
msgid "Set the sample width (in bytes.)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:218
2016-10-30 09:46:26 +00:00
msgid "Added support for 24-bit samples."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:224
2016-10-30 09:46:26 +00:00
msgid "Set the frame rate."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:229
2016-10-30 09:46:26 +00:00
msgid ""
"Set the number of frames. This can be later changed, when and if more "
"frames are written."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:235
2016-10-30 09:46:26 +00:00
msgid ""
"Set the compression type and description. Only ``'NONE'`` and ``'ULAW'`` are "
"supported on output."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:241
2016-10-30 09:46:26 +00:00
msgid ""
"The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype, "
"compname)``, with values valid for the :meth:`set\\*` methods. Set all "
"parameters."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:248
2016-10-30 09:46:26 +00:00
msgid ""
"Return current position in the file, with the same disclaimer for the :meth:"
"`AU_read.tell` and :meth:`AU_read.setpos` methods."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:254
2016-10-30 09:46:26 +00:00
msgid "Write audio frames, without correcting *nframes*."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:256 ../Doc/library/sunau.rst:264
2016-10-30 09:46:26 +00:00
msgid "Any :term:`bytes-like object` is now accepted."
msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté."
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:262
2016-10-30 09:46:26 +00:00
msgid "Write audio frames and make sure *nframes* is correct."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:270
2016-10-30 09:46:26 +00:00
msgid "Make sure *nframes* is correct, and close the file."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:272
2016-10-30 09:46:26 +00:00
msgid "This method is called upon deletion."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/sunau.rst:274
2016-10-30 09:46:26 +00:00
msgid ""
"Note that it is invalid to set any parameters after calling :meth:"
"`writeframes` or :meth:`writeframesraw`."
msgstr ""
2017-08-09 22:23:54 +00:00
#, fuzzy
#~ msgid "'r'"
#~ msgstr "``'r'``"
#, fuzzy
#~ msgid "'w'"
#~ msgstr "``'w'``"