# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-10-01 16:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: library/winsound.rst:2 msgid ":mod:`winsound` --- Sound-playing interface for Windows" msgstr "" #: library/winsound.rst:13 msgid "" "The :mod:`winsound` module provides access to the basic sound-playing " "machinery provided by Windows platforms. It includes functions and several " "constants." msgstr "" #: library/winsound.rst:19 msgid "" "Beep the PC's speaker. The *frequency* parameter specifies frequency, in " "hertz, of the sound, and must be in the range 37 through 32,767. The " "*duration* parameter specifies the number of milliseconds the sound should " "last. If the system is not able to beep the speaker, :exc:`RuntimeError` is " "raised." msgstr "" #: library/winsound.rst:27 msgid "" "Call the underlying :c:func:`PlaySound` function from the Platform API. The " "*sound* parameter may be a filename, a system sound alias, audio data as a :" "term:`bytes-like object`, or ``None``. Its interpretation depends on the " "value of *flags*, which can be a bitwise ORed combination of the constants " "described below. If the *sound* parameter is ``None``, any currently playing " "waveform sound is stopped. If the system indicates an error, :exc:" "`RuntimeError` is raised." msgstr "" #: library/winsound.rst:38 msgid "" "Call the underlying :c:func:`MessageBeep` function from the Platform API. " "This plays a sound as specified in the registry. The *type* argument " "specifies which sound to play; possible values are ``-1``, " "``MB_ICONASTERISK``, ``MB_ICONEXCLAMATION``, ``MB_ICONHAND``, " "``MB_ICONQUESTION``, and ``MB_OK``, all described below. The value ``-1`` " "produces a \"simple beep\"; this is the final fallback if a sound cannot be " "played otherwise. If the system indicates an error, :exc:`RuntimeError` is " "raised." msgstr "" #: library/winsound.rst:49 msgid "" "The *sound* parameter is the name of a WAV file. Do not use with :const:" "`SND_ALIAS`." msgstr "" #: library/winsound.rst:55 msgid "" "The *sound* parameter is a sound association name from the registry. If the " "registry contains no such name, play the system default sound unless :const:" "`SND_NODEFAULT` is also specified. If no default sound is registered, raise :" "exc:`RuntimeError`. Do not use with :const:`SND_FILENAME`." msgstr "" #: library/winsound.rst:60 msgid "" "All Win32 systems support at least the following; most systems support many " "more:" msgstr "" #: library/winsound.rst:64 msgid ":func:`PlaySound` *name*" msgstr "" #: library/winsound.rst:64 msgid "Corresponding Control Panel Sound name" msgstr "" #: library/winsound.rst:66 msgid "``'SystemAsterisk'``" msgstr "``'SystemAsterisk'``" #: library/winsound.rst:66 msgid "Asterisk" msgstr "" #: library/winsound.rst:68 msgid "``'SystemExclamation'``" msgstr "``'SystemExclamation'``" #: library/winsound.rst:68 msgid "Exclamation" msgstr "" #: library/winsound.rst:70 msgid "``'SystemExit'``" msgstr "``'SystemExit'``" #: library/winsound.rst:70 msgid "Exit Windows" msgstr "" #: library/winsound.rst:72 msgid "``'SystemHand'``" msgstr "``'SystemHand'``" #: library/winsound.rst:72 msgid "Critical Stop" msgstr "" #: library/winsound.rst:74 msgid "``'SystemQuestion'``" msgstr "``'SystemQuestion'``" #: library/winsound.rst:74 msgid "Question" msgstr "" #: library/winsound.rst:77 msgid "For example::" msgstr "Par exemple ::" #: library/winsound.rst:90 msgid "" "Play the sound repeatedly. The :const:`SND_ASYNC` flag must also be used to " "avoid blocking. Cannot be used with :const:`SND_MEMORY`." msgstr "" #: library/winsound.rst:96 msgid "" "The *sound* parameter to :func:`PlaySound` is a memory image of a WAV file, " "as a :term:`bytes-like object`." msgstr "" #: library/winsound.rst:101 msgid "" "This module does not support playing from a memory image asynchronously, so " "a combination of this flag and :const:`SND_ASYNC` will raise :exc:" "`RuntimeError`." msgstr "" #: library/winsound.rst:107 msgid "Stop playing all instances of the specified sound." msgstr "" #: library/winsound.rst:135 msgid "This flag is not supported on modern Windows platforms." msgstr "" #: library/winsound.rst:116 msgid "Return immediately, allowing sounds to play asynchronously." msgstr "" #: library/winsound.rst:121 msgid "" "If the specified sound cannot be found, do not play the system default sound." msgstr "" #: library/winsound.rst:126 msgid "Do not interrupt sounds currently playing." msgstr "" #: library/winsound.rst:131 msgid "Return immediately if the sound driver is busy." msgstr "" #: library/winsound.rst:160 msgid "Play the ``SystemDefault`` sound." msgstr "" #: library/winsound.rst:145 msgid "Play the ``SystemExclamation`` sound." msgstr "" #: library/winsound.rst:150 msgid "Play the ``SystemHand`` sound." msgstr "" #: library/winsound.rst:155 msgid "Play the ``SystemQuestion`` sound." msgstr ""