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

385 lines
10 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 ""
2019-12-05 22:15:54 +00:00
"Project-Id-Version: Python 3\n"
2016-10-30 09:46:26 +00:00
"Report-Msgid-Bugs-To: \n"
2022-05-22 21:15:02 +00:00
"POT-Creation-Date: 2022-05-22 23:13+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"
#: library/sunau.rst:2
2016-10-30 09:46:26 +00:00
msgid ":mod:`sunau` --- Read and write Sun AU files"
msgstr ""
2022-03-23 17:40:12 +00:00
#: library/sunau.rst:10
2016-10-30 09:46:26 +00:00
msgid "**Source code:** :source:`Lib/sunau.py`"
msgstr "**Code source :** :source:`Lib/sunau.py`"
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:15
2022-03-23 17:40:12 +00:00
#, fuzzy
2022-05-22 21:15:02 +00:00
msgid ""
"The :mod:`sunau` module is deprecated (see :pep:`PEP 594 <594#sunau>` for "
"details)."
2022-03-23 17:40:12 +00:00
msgstr "Le module :mod:`uu` définit les fonctions suivantes :"
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:18
2016-10-30 09:46:26 +00:00
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:22
2016-10-30 09:46:26 +00:00
msgid ""
"An audio file consists of a header followed by the data. The fields of the "
"header are:"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:26
2016-10-30 09:46:26 +00:00
msgid "Field"
msgstr "Champ"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:26
2016-10-30 09:46:26 +00:00
msgid "Contents"
msgstr "Sommaire"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:28
2016-10-30 09:46:26 +00:00
msgid "magic word"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:28
2016-10-30 09:46:26 +00:00
msgid "The four bytes ``.snd``."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:30
2016-10-30 09:46:26 +00:00
msgid "header size"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:30
2016-10-30 09:46:26 +00:00
msgid "Size of the header, including info, in bytes."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:32
2016-10-30 09:46:26 +00:00
msgid "data size"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:32
2016-10-30 09:46:26 +00:00
msgid "Physical size of the data, in bytes."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:34
2016-10-30 09:46:26 +00:00
msgid "encoding"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:34
2016-10-30 09:46:26 +00:00
msgid "Indicates how the audio samples are encoded."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:36
2016-10-30 09:46:26 +00:00
msgid "sample rate"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:36
2016-10-30 09:46:26 +00:00
msgid "The sampling rate."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:38
2016-10-30 09:46:26 +00:00
msgid "# of channels"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:38
2016-10-30 09:46:26 +00:00
msgid "The number of channels in the samples."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:40
2016-10-30 09:46:26 +00:00
msgid "info"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:40
2016-10-30 09:46:26 +00:00
msgid ""
"ASCII string giving a description of the audio file (padded with null bytes)."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:44
2016-10-30 09:46:26 +00:00
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:47
2020-02-14 10:18:53 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid "The :mod:`sunau` module defines the following functions:"
msgstr "Le module :mod:`uu` définit les fonctions suivantes :"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:52
2020-02-14 10:18:53 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
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 ""
2020-02-14 10:18:53 +00:00
"Si *file* est une chaîne de caractères, ouvre le fichier sous ce nom, sinon, "
"il est traité comme un objet de type fichier. *mode* peut être :"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:56
2016-10-30 09:46:26 +00:00
msgid "``'r'``"
2017-08-10 05:17:13 +00:00
msgstr "``'r'``"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:56
2016-10-30 09:46:26 +00:00
msgid "Read only mode."
2019-06-10 09:12:05 +00:00
msgstr "Mode lecture seule."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:59
2016-10-30 09:46:26 +00:00
msgid "``'w'``"
2017-08-10 05:17:13 +00:00
msgstr "``'w'``"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:59
2016-10-30 09:46:26 +00:00
msgid "Write only mode."
2019-06-10 09:12:05 +00:00
msgstr "Mode écriture seule."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:61
2020-02-14 10:18:53 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid "Note that it does not allow read/write files."
msgstr ""
2020-02-14 10:18:53 +00:00
"Notez que ce module ne permet pas de manipuler des fichiers WAV en lecture/"
"écriture."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:63
2016-10-30 09:46:26 +00:00
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:67
2020-02-14 10:18:53 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid "The :mod:`sunau` module defines the following exception:"
2020-02-14 10:18:53 +00:00
msgstr "Le module :mod:`csv` définit les exceptions suivantes :"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:71
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:75
2016-10-30 09:46:26 +00:00
msgid "The :mod:`sunau` module defines the following data items:"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:79
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:90
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:101
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:108
2016-10-30 09:46:26 +00:00
msgid "AU_read Objects"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:110
2016-10-30 09:46:26 +00:00
msgid ""
"AU_read objects, as returned by :func:`.open` above, have the following "
"methods:"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:115
2016-10-30 09:46:26 +00:00
msgid ""
"Close the stream, and make the instance unusable. (This is called "
"automatically on deletion.)"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:121
2020-02-14 10:18:53 +00:00
#, fuzzy
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 ""
2020-02-14 10:18:53 +00:00
"Renvoie le nombre de canaux audio (``1`` pour mono, ``2`` pour stéréo)."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:126
2016-10-30 09:46:26 +00:00
msgid "Returns sample width in bytes."
2019-06-10 09:12:05 +00:00
msgstr "Renvoie la largeur de l'échantillon en octets."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:131
2016-10-30 09:46:26 +00:00
msgid "Returns sampling frequency."
2019-06-10 09:12:05 +00:00
msgstr "Renvoie la fréquence d'échantillonnage."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:136
2016-10-30 09:46:26 +00:00
msgid "Returns number of audio frames."
2019-06-10 09:12:05 +00:00
msgstr "Renvoie le nombre de trames audio."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:141
2016-10-30 09:46:26 +00:00
msgid ""
"Returns compression type. Supported compression types are ``'ULAW'``, "
"``'ALAW'`` and ``'NONE'``."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:147
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:154
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 ""
2019-06-10 09:12:05 +00:00
"Renvoie une :func:`~collections.namedtuple` ``(nchannels, sampwidth, "
"framerate, nframes, comptype, compname)``, équivalent à la sortie des "
"méthodes :meth:`get\\*`."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:161
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:168
2016-10-30 09:46:26 +00:00
msgid "Rewind the file pointer to the beginning of the audio stream."
2019-06-10 09:12:05 +00:00
msgstr "Remet le pointeur de fichier au début du flux audio."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:170
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 ""
2019-06-10 09:12:05 +00:00
"Les deux fonctions suivantes utilisent le vocabulaire \"position\". Ces "
"positions sont compatible entre elles, la \"position\" de l'un est "
"compatible avec la \"position\" de l'autre. Cette position est dépendante de "
"l'implémentation."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:176
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:182
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:185
2020-02-14 10:18:53 +00:00
#, fuzzy
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 ""
2020-02-14 10:18:53 +00:00
"Les deux méthodes suivantes sont définies pour la compatibilité avec le "
"module :mod:`aifc` ; elles ne font rien dintéressant."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:191
2016-10-30 09:46:26 +00:00
msgid "Returns ``None``."
2019-06-10 09:12:05 +00:00
msgstr "Renvoie ``None``."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:196
2016-10-30 09:46:26 +00:00
msgid "Raise an error."
2019-06-10 09:12:05 +00:00
msgstr "Lève une erreur."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:202
2016-10-30 09:46:26 +00:00
msgid "AU_write Objects"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:204
2016-10-30 09:46:26 +00:00
msgid ""
"AU_write objects, as returned by :func:`.open` above, have the following "
"methods:"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:209
2016-10-30 09:46:26 +00:00
msgid "Set the number of channels."
2019-06-10 09:12:05 +00:00
msgstr "Définit le nombre de canaux."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:214
2016-10-30 09:46:26 +00:00
msgid "Set the sample width (in bytes.)"
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:216
2016-10-30 09:46:26 +00:00
msgid "Added support for 24-bit samples."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:222
2016-10-30 09:46:26 +00:00
msgid "Set the frame rate."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:227
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 ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:233
2016-10-30 09:46:26 +00:00
msgid ""
"Set the compression type and description. Only ``'NONE'`` and ``'ULAW'`` are "
"supported on output."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:239
2020-02-14 10:18:53 +00:00
#, fuzzy
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 ""
"Le sextuplet doit être ``(nchannels, sampwidth, framerate, nframes, "
2022-03-23 17:40:12 +00:00
"comptype, compname)``, avec des valeurs valides pour les méthodes :meth:"
"`set\\*`. Tous les paramètres sont obligatoires et doivent être définis."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:246
2020-02-14 10:18:53 +00:00
#, fuzzy
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 ""
2020-02-14 10:18:53 +00:00
"Renvoie la position actuelle dans le fichier, avec les mêmes réserves que "
"pour les méthodes :meth:`Wave_read.tell` et :meth:`Wave_read.setpos`."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:252
2016-10-30 09:46:26 +00:00
msgid "Write audio frames, without correcting *nframes*."
2019-06-10 09:12:05 +00:00
msgstr "Écrit les trames audio sans corriger *nframes*."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:262
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é."
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:260
2016-10-30 09:46:26 +00:00
msgid "Write audio frames and make sure *nframes* is correct."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:268
2016-10-30 09:46:26 +00:00
msgid "Make sure *nframes* is correct, and close the file."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:270
2016-10-30 09:46:26 +00:00
msgid "This method is called upon deletion."
msgstr ""
2022-05-22 21:15:02 +00:00
#: library/sunau.rst:272
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 ""
2020-07-20 08:56:42 +00:00
#~ msgid "A synonym for :func:`.open`, maintained for backwards compatibility."
#~ msgstr "Un synonyme de :func:`.open`, maintenu pour la rétrocompatibilité."