# Copyright (C) 2001-2016, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-12 13:37+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../Doc/library/aifc.rst:2
msgid ":mod:`aifc` --- Read and write AIFF and AIFC files"
msgstr ":mod:`aifc` --- Lis et écrit dans les fichiers AIFF et AIFC"

#: ../Doc/library/aifc.rst:7
msgid "**Source code:** :source:`Lib/aifc.py`"
msgstr "**Code source:** :source:`Lib/aifc.py`"

#: ../Doc/library/aifc.rst:16
msgid ""
"This module provides support for reading and writing AIFF and AIFF-C files. "
"AIFF is Audio Interchange File Format, a format for storing digital audio "
"samples in a file.  AIFF-C is a newer version of the format that includes "
"the ability to compress the audio data."
msgstr ""

#: ../Doc/library/aifc.rst:21
msgid ""
"Audio files have a number of parameters that describe the audio data. The "
"sampling rate or frame rate is the number of times per second the sound is "
"sampled.  The number of channels indicate if the audio is mono, stereo, or "
"quadro.  Each frame consists of one sample per channel.  The sample size is "
"the size in bytes of each sample.  Thus a frame consists of ``nchannels * "
"samplesize`` bytes, and a second's worth of audio consists of ``nchannels * "
"samplesize * framerate`` bytes."
msgstr ""

#: ../Doc/library/aifc.rst:29
msgid ""
"For example, CD quality audio has a sample size of two bytes (16 bits), uses "
"two channels (stereo) and has a frame rate of 44,100 frames/second.  This "
"gives a frame size of 4 bytes (2\\*2), and a second's worth occupies "
"2\\*2\\*44100 bytes (176,400 bytes)."
msgstr ""

#: ../Doc/library/aifc.rst:34
msgid "Module :mod:`aifc` defines the following function:"
msgstr "Le module :mod:`aifc` définit les fonctions suivantes :"

#: ../Doc/library/aifc.rst:39
msgid ""
"Open an AIFF or AIFF-C file and return an object instance with methods that "
"are described below.  The argument *file* is either a string naming a file "
"or a :term:`file object`.  *mode* must be ``'r'`` or ``'rb'`` when the file "
"must be opened for reading, or ``'w'``  or ``'wb'`` when the file must be "
"opened for writing. If omitted, ``file.mode`` is used if it exists, "
"otherwise ``'rb'`` is used.  When used for writing, the file object should "
"be seekable, unless you know ahead of time how many samples you are going to "
"write in total and use :meth:`writeframesraw` and :meth:`setnframes`. The :"
"func:`.open` function may be used in a :keyword:`with` statement.  When the :"
"keyword:`with` block completes, the :meth:`~aifc.close` method is called."
msgstr ""

#: ../Doc/library/aifc.rst:50
msgid "Support for the :keyword:`with` statement was added."
msgstr ""

#: ../Doc/library/aifc.rst:53
msgid ""
"Objects returned by :func:`.open` when a file is opened for reading have the "
"following methods:"
msgstr ""

#: ../Doc/library/aifc.rst:59
msgid "Return the number of audio channels (1 for mono, 2 for stereo)."
msgstr ""

#: ../Doc/library/aifc.rst:64
msgid "Return the size in bytes of individual samples."
msgstr "Donne la taille en octets des échantillons, individuellement."

#: ../Doc/library/aifc.rst:69
msgid "Return the sampling rate (number of audio frames per second)."
msgstr ""

#: ../Doc/library/aifc.rst:74
msgid "Return the number of audio frames in the file."
msgstr "Donne le nombre de trames (*frames*) audio du fichier."

#: ../Doc/library/aifc.rst:79
msgid ""
"Return a bytes array of length 4 describing the type of compression used in "
"the audio file.  For AIFF files, the returned value is ``b'NONE'``."
msgstr ""

#: ../Doc/library/aifc.rst:86
msgid ""
"Return a bytes array convertible to a human-readable description of the type "
"of compression used in the audio file.  For AIFF files, the returned value "
"is ``b'not compressed'``."
msgstr ""

#: ../Doc/library/aifc.rst:93
msgid ""
"Returns a :func:`~collections.namedtuple` ``(nchannels, sampwidth, "
"framerate, nframes, comptype, compname)``, equivalent to output of the :meth:"
"`get\\*` methods."
msgstr ""

#: ../Doc/library/aifc.rst:100
msgid ""
"Return a list of markers in the audio file.  A marker consists of a tuple of "
"three elements.  The first is the mark ID (an integer), the second is the "
"mark position in frames from the beginning of the data (an integer), the "
"third is the name of the mark (a string)."
msgstr ""

#: ../Doc/library/aifc.rst:108
msgid ""
"Return the tuple as described in :meth:`getmarkers` for the mark with the "
"given *id*."
msgstr ""

#: ../Doc/library/aifc.rst:114
msgid ""
"Read and return the next *nframes* frames from the audio file.  The returned "
"data is a string containing for each frame the uncompressed samples of all "
"channels."
msgstr ""

#: ../Doc/library/aifc.rst:121
msgid ""
"Rewind the read pointer.  The next :meth:`readframes` will start from the "
"beginning."
msgstr ""

#: ../Doc/library/aifc.rst:127
msgid "Seek to the specified frame number."
msgstr "Va à la trame de numéro donné."

#: ../Doc/library/aifc.rst:132
msgid "Return the current frame number."
msgstr "Donne le numéro de la trame courante."

#: ../Doc/library/aifc.rst:137
msgid ""
"Close the AIFF file.  After calling this method, the object can no longer be "
"used."
msgstr ""

#: ../Doc/library/aifc.rst:140
msgid ""
"Objects returned by :func:`.open` when a file is opened for writing have all "
"the above methods, except for :meth:`readframes` and :meth:`setpos`.  In "
"addition the following methods exist.  The :meth:`get\\*` methods can only "
"be called after the corresponding :meth:`set\\*` methods have been called.  "
"Before the first :meth:`writeframes` or :meth:`writeframesraw`, all "
"parameters except for the number of frames must be filled in."
msgstr ""

#: ../Doc/library/aifc.rst:150
msgid ""
"Create an AIFF file.  The default is that an AIFF-C file is created, unless "
"the name of the file ends in ``'.aiff'`` in which case the default is an "
"AIFF file."
msgstr ""

#: ../Doc/library/aifc.rst:156
msgid ""
"Create an AIFF-C file.  The default is that an AIFF-C file is created, "
"unless the name of the file ends in ``'.aiff'`` in which case the default is "
"an AIFF file."
msgstr ""

#: ../Doc/library/aifc.rst:163
msgid "Specify the number of channels in the audio file."
msgstr "Définit le nombre de canaux du fichier audio."

#: ../Doc/library/aifc.rst:168
msgid "Specify the size in bytes of audio samples."
msgstr "Définit la taille en octets des échantillons audio."

#: ../Doc/library/aifc.rst:173
msgid "Specify the sampling frequency in frames per second."
msgstr ""

#: ../Doc/library/aifc.rst:178
msgid ""
"Specify the number of frames that are to be written to the audio file. If "
"this parameter is not set, or not set correctly, the file needs to support "
"seeking."
msgstr ""

#: ../Doc/library/aifc.rst:189
msgid ""
"Specify the compression type.  If not specified, the audio data will not be "
"compressed.  In AIFF files, compression is not possible. The name parameter "
"should be a human-readable description of the compression type as a bytes "
"array, the type parameter should be a bytes array of length 4.  Currently "
"the following compression types are supported: ``b'NONE'``, ``b'ULAW'``, "
"``b'ALAW'``, ``b'G722'``."
msgstr ""

#: ../Doc/library/aifc.rst:199
msgid ""
"Set all the above parameters at once.  The argument is a tuple consisting of "
"the various parameters.  This means that it is possible to use the result of "
"a :meth:`getparams` call as argument to :meth:`setparams`."
msgstr ""

#: ../Doc/library/aifc.rst:206
msgid ""
"Add a mark with the given id (larger than 0), and the given name at the "
"given position.  This method can be called at any time before :meth:`close`."
msgstr ""

#: ../Doc/library/aifc.rst:212
msgid ""
"Return the current write position in the output file.  Useful in combination "
"with :meth:`setmark`."
msgstr ""

#: ../Doc/library/aifc.rst:218
msgid ""
"Write data to the output file.  This method can only be called after the "
"audio file parameters have been set."
msgstr ""

#: ../Doc/library/aifc.rst:221 ../Doc/library/aifc.rst:230
msgid "Any :term:`bytes-like object` is now accepted."
msgstr "N'importe quel :term:`bytes-like object` est maintenant accepté."

#: ../Doc/library/aifc.rst:227
msgid ""
"Like :meth:`writeframes`, except that the header of the audio file is not "
"updated."
msgstr ""

#: ../Doc/library/aifc.rst:236
msgid ""
"Close the AIFF file.  The header of the file is updated to reflect the "
"actual size of the audio data. After calling this method, the object can no "
"longer be used."
msgstr ""
