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"
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"POT-Creation-Date: 2023-07-23 14:38+0200\n"
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"PO-Revision-Date: 2019-05-31 15:21+0200\n"
|
2017-08-11 17:15:07 +00:00
|
|
|
|
"Last-Translator: Julien Palard <julien@palard.fr>\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"
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"X-Generator: Poedit 2.0.6\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
|
#: library/wave.rst:2
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ":mod:`wave` --- Read and write WAV files"
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr ":mod:`wave` --- Lecture et écriture des fichiers WAV"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
|
#: library/wave.rst:10
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "**Source code:** :source:`Lib/wave.py`"
|
|
|
|
|
msgstr "**Code source :** :source:`Lib/wave.py`"
|
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
|
#: library/wave.rst:14
|
2023-01-15 21:42:07 +00:00
|
|
|
|
#, fuzzy
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"The :mod:`wave` module provides a convenient interface to the Waveform Audio "
|
|
|
|
|
"\"WAVE\" (or \"WAV\") file format. Only files using ``WAVE_FORMAT_PCM`` are "
|
|
|
|
|
"supported. Note that this does not include files using "
|
|
|
|
|
"``WAVE_FORMAT_EXTENSIBLE`` even if the subformat is PCM."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Le module :mod:`wave` fournit une interface pratique pour le format de son "
|
|
|
|
|
"WAV. Il ne gère pas la compression ni la décompression, mais gère le mono et "
|
|
|
|
|
"le stéréo."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:19
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "The :mod:`wave` module defines the following function and exception:"
|
2023-04-14 11:16:50 +00:00
|
|
|
|
msgstr "Le module :mod:`wave` définit la fonction et l'exception suivante :"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:24
|
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 "
|
|
|
|
|
"file-like object. *mode* can be:"
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Si *file* est une chaîne de caractères, ouvre le fichier sous ce nom, sinon, "
|
2023-04-14 11:16:50 +00:00
|
|
|
|
"il est traité comme un objet de type fichier. *mode* peut être :"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:28
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "``'rb'``"
|
|
|
|
|
msgstr "``'rb'``"
|
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:28
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Read only mode."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Mode lecture seule."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:31
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "``'wb'``"
|
|
|
|
|
msgstr "``'wb'``"
|
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:31
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Write only mode."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Mode écriture seule."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:33
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Note that it does not allow read/write WAV files."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +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
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:35
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"A *mode* of ``'rb'`` returns a :class:`Wave_read` object, while a *mode* of "
|
|
|
|
|
"``'wb'`` returns a :class:`Wave_write` object. If *mode* is omitted and a "
|
|
|
|
|
"file-like object is passed as *file*, ``file.mode`` is used as the default "
|
|
|
|
|
"value for *mode*."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Un *mode* ``'rb'`` renvoie un objet :class:`Wave_read`, alors qu'un *mode* "
|
|
|
|
|
"``'wb'`` renvoie un objet :class:`Wave_write`. Si *mode* est omis et qu'un "
|
|
|
|
|
"objet de type fichier est donné au paramètre *file*, ``file.mode`` est "
|
|
|
|
|
"utilisé comme valeur par défaut pour *mode*."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:40
|
|
|
|
|
#, fuzzy
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"If you pass in a file-like object, the wave object will not close it when "
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"its ``close()`` method is called; it is the caller's responsibility to close "
|
|
|
|
|
"the file object."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Si vous donnez un objet de type fichier, l'objet *wave* ne le ferme pas "
|
|
|
|
|
"lorsque sa méthode :meth:`close` est appelée car c'est l'appelant qui est "
|
|
|
|
|
"responsable de la fermeture."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:44
|
|
|
|
|
#, fuzzy
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"The :func:`.open` function may be used in a :keyword:`with` statement. When "
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"the :keyword:`!with` block completes, the :meth:`Wave_read.close()` or :meth:"
|
|
|
|
|
"`Wave_write.close()` method is called."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"La fonction :func:`.open` peut être utilisée dans une instruction :keyword:"
|
|
|
|
|
"`with`. Lorsque le :keyword:`!with` est terminé, la méthode :meth:`Wave_read."
|
|
|
|
|
"close() <wave.Wave_read.close>` ou la méthode :meth:`Wave_write.close() "
|
|
|
|
|
"<wave.Wave_write.close()>` est appelée."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:172
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Added support for unseekable files."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Ajout de la gestion des fichiers non navigables."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-01-15 21:42:07 +00:00
|
|
|
|
#: library/wave.rst:53
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"An error raised when something is impossible because it violates the WAV "
|
|
|
|
|
"specification or hits an implementation deficiency."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Une erreur est levée lorsque quelque chose est impossible car elle enfreint "
|
|
|
|
|
"la spécification WAV ou rencontre un problème d'implémentation."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-01-15 21:42:07 +00:00
|
|
|
|
#: library/wave.rst:60
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Wave_read Objects"
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Objets Wave_read"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:64
|
|
|
|
|
msgid "Read a WAV file."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: library/wave.rst:66
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Wave_read objects, as returned by :func:`.open`, have the following methods:"
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Les objets Wave_read, tels qu'ils sont renvoyés par :func:`.open`, ont les "
|
2023-04-14 11:16:50 +00:00
|
|
|
|
"méthodes suivantes :"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:71
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Close the stream if it was opened by :mod:`wave`, and make the instance "
|
|
|
|
|
"unusable. This is called automatically on object collection."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Ferme le flux s'il a été ouvert par :mod:`wave` et rend l'instance "
|
|
|
|
|
"inutilisable. Ceci est appelé automatiquement lorsque l'objet est détruit ."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:77
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Returns number of audio channels (``1`` for mono, ``2`` for stereo)."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Renvoie le nombre de canaux audio (``1`` pour mono, ``2`` pour stéréo)."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:82
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Returns sample width in bytes."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Renvoie la largeur de l'échantillon en octets."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:87
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Returns sampling frequency."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Renvoie la fréquence d'échantillonnage."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:92
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Returns number of audio frames."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Renvoie le nombre de trames audio."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:97
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Returns compression type (``'NONE'`` is the only supported type)."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Renvoie le type de compression (``'NONE'`` est le seul type géré)."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:102
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Human-readable version of :meth:`getcomptype`. Usually ``'not compressed'`` "
|
|
|
|
|
"parallels ``'NONE'``."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Version compréhensible de :meth:`getcomptype`. Généralement, ``'not "
|
|
|
|
|
"compressed'`` équivaut à ``'NONE'``."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:108
|
|
|
|
|
#, fuzzy
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth, "
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"framerate, nframes, comptype, compname)``, equivalent to output of the "
|
|
|
|
|
"``get*()`` methods."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +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
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:115
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Reads and returns at most *n* frames of audio, as a :class:`bytes` object."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Lit et renvoie au plus *n* trames audio, sous forme d'objet :class:`bytes`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:120
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Rewind the file pointer to the beginning of the audio stream."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Remet le pointeur de fichier au début du flux audio."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:122
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"The following two methods are defined for compatibility with the :mod:`aifc` "
|
|
|
|
|
"module, and don't do anything interesting."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Les deux méthodes suivantes sont définies pour la compatibilité avec le "
|
|
|
|
|
"module :mod:`aifc` ; elles ne font rien d’intéressant."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:128
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Returns ``None``."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Renvoie ``None``."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:133
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Raise an error."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Lève une erreur."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:135
|
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-02 13:23:58 +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
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:141
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Set the file pointer to the specified position."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Place le pointeur du fichier sur la position spécifiée."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:146
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Return current file pointer position."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Renvoie la position actuelle du pointeur du fichier."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:152
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Wave_write Objects"
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Objets Wave_write"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:156
|
|
|
|
|
msgid "Write a WAV file."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: library/wave.rst:158
|
|
|
|
|
#, fuzzy
|
|
|
|
|
msgid "Wave_write objects, as returned by :func:`.open`."
|
|
|
|
|
msgstr ""
|
|
|
|
|
"Les objets Wave_write, tels qu'ils sont renvoyés par :func:`.open`, ont les "
|
|
|
|
|
"méthodes suivantes :"
|
|
|
|
|
|
|
|
|
|
#: library/wave.rst:160
|
|
|
|
|
#, fuzzy
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"For seekable output streams, the ``wave`` header will automatically be "
|
|
|
|
|
"updated to reflect the number of frames actually written. For unseekable "
|
|
|
|
|
"streams, the *nframes* value must be accurate when the first frame data is "
|
|
|
|
|
"written. An accurate *nframes* value can be achieved either by calling :"
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"meth:`setnframes` or :meth:`setparams` with the number of frames that will "
|
|
|
|
|
"be written before :meth:`close` is called and then using :meth:"
|
|
|
|
|
"`writeframesraw` to write the frame data, or by calling :meth:`writeframes` "
|
|
|
|
|
"with all of the frame data to be written. In the latter case :meth:"
|
|
|
|
|
"`writeframes` will calculate the number of frames in the data and set "
|
|
|
|
|
"*nframes* accordingly before writing the frame data."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Pour les flux de sortie navigables, l'en-tête ``wave`` est automatiquement "
|
|
|
|
|
"mis à jour pour refléter le nombre de trames réellement écrites. Pour les "
|
|
|
|
|
"flux non indexables, la valeur *nframes* doit être précise lorsque la "
|
|
|
|
|
"première trame est écrite. Une valeur précise de *nframes* peut être obtenue "
|
|
|
|
|
"en appelant les méthodes :meth:`~Wave_write.setnframes` ou :meth:"
|
|
|
|
|
"`~Wave_write.setparams` en passant en paramètre le nombre de trames qui "
|
|
|
|
|
"seront écrites avant que :meth:`~Wave_write.close` soit appelé puis en "
|
|
|
|
|
"utilisant la méthode :meth:`~Wave_write.writeframesraw` pour écrire les "
|
|
|
|
|
"trames audio, ou en appelant la méthode :meth:`~Wave_write.writeframes` avec "
|
|
|
|
|
"toutes les trames audio. Dans ce dernier cas, la méthode :meth:`~Wave_write."
|
|
|
|
|
"writeframes` calcule le nombre de trames dans le flux audio et définit "
|
|
|
|
|
"*nframes* en conséquence avant d'écrire les données des trames."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:175
|
|
|
|
|
#, fuzzy
|
|
|
|
|
msgid "Wave_write objects have the following methods:"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Les objets Wave_write, tels qu'ils sont renvoyés par :func:`.open`, ont les "
|
2023-04-14 11:16:50 +00:00
|
|
|
|
"méthodes suivantes :"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:179
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Make sure *nframes* is correct, and close the file if it was opened by :mod:"
|
|
|
|
|
"`wave`. This method is called upon object collection. It will raise an "
|
|
|
|
|
"exception if the output stream is not seekable and *nframes* does not match "
|
|
|
|
|
"the number of frames actually written."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Assurez-vous que *nframes* soit correct et fermez le fichier s'il a été "
|
|
|
|
|
"ouvert par :mod:`wave`. Cette méthode est appelée à la destruction de "
|
|
|
|
|
"l'objet. Il lève une erreur si le flux de sortie n'est pas navigable et si "
|
|
|
|
|
"*nframes* ne correspond pas au nombre de trames réellement écrites."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:187
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Set the number of channels."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Définit le nombre de canaux."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:192
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Set the sample width to *n* bytes."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Définit la largeur de l'échantillon à *n* octets."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:197
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Set the frame rate to *n*."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Définit la fréquence des trames à *n*."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:199
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "A non-integral input to this method is rounded to the nearest integer."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Un paramètre non-entier passé à cette méthode est arrondi à l'entier le plus "
|
|
|
|
|
"proche."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:206
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Set the number of frames to *n*. This will be changed later if the number "
|
|
|
|
|
"of frames actually written is different (this update attempt will raise an "
|
|
|
|
|
"error if the output stream is not seekable)."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Définit le nombre de trames à *n*. Cela sera modifié ultérieurement si le "
|
|
|
|
|
"nombre de trames réellement écrites est différent (la tentative de mise à "
|
|
|
|
|
"jour générera une erreur si le flux de sortie n'est pas indexable)."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:213
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Set the compression type and description. At the moment, only compression "
|
|
|
|
|
"type ``NONE`` is supported, meaning no compression."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Définit le type de compression et la description. Pour le moment, seul le "
|
|
|
|
|
"type de compression ``NONE`` est géré, c'est-à-dire aucune compression."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:219
|
|
|
|
|
#, fuzzy
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype, "
|
2023-07-23 12:39:39 +00:00
|
|
|
|
"compname)``, with values valid for the ``set*()`` methods. Sets all "
|
2016-10-30 09:46:26 +00:00
|
|
|
|
"parameters."
|
|
|
|
|
msgstr ""
|
2020-12-02 22:45:10 +00:00
|
|
|
|
"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
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:226
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Return current position in the file, with the same disclaimer for the :meth:"
|
|
|
|
|
"`Wave_read.tell` and :meth:`Wave_read.setpos` methods."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +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
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:232
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid "Write audio frames, without correcting *nframes*."
|
2019-06-02 13:23:58 +00:00
|
|
|
|
msgstr "Écrit les trames audio sans corriger *nframes*."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:245
|
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é."
|
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:240
|
2016-10-30 09:46:26 +00:00
|
|
|
|
msgid ""
|
|
|
|
|
"Write audio frames and make sure *nframes* is correct. It will raise an "
|
|
|
|
|
"error if the output stream is not seekable and the total number of frames "
|
|
|
|
|
"that have been written after *data* has been written does not match the "
|
|
|
|
|
"previously set value for *nframes*."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Écrit des trames audio et s'assure que *nframes* est correct. Une erreur est "
|
|
|
|
|
"levée si le flux de sortie est non-navigable et si le nombre total de trames "
|
|
|
|
|
"écrites après que *data* soit écrit ne correspond pas à la valeur "
|
|
|
|
|
"précédemment définie pour *nframes*."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
2023-07-23 12:39:39 +00:00
|
|
|
|
#: library/wave.rst:248
|
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`, and any attempt to do so will "
|
|
|
|
|
"raise :exc:`wave.Error`."
|
|
|
|
|
msgstr ""
|
2019-06-02 13:23:58 +00:00
|
|
|
|
"Notez qu'il est impossible de définir des paramètres après avoir appelé :"
|
|
|
|
|
"meth:`writeframes` ou :meth:`writeframesraw`, et toute tentative en ce sens "
|
|
|
|
|
"lève une :exc:`wave.Error`."
|
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é."
|