• Home
  • Raw
  • Download

Lines Matching refs:sound

7    :synopsis: Access to the sound-playing machinery for Windows.
14 The :mod:`winsound` module provides access to the basic sound-playing machinery
21 of the sound, and must be in the range 37 through 32,767. The *duration*
22 parameter specifies the number of milliseconds the sound should last. If the
28 .. function:: PlaySound(sound, flags)
31 *sound* parameter may be a filename, audio data as a string, or ``None``. Its
33 combination of the constants described below. If the *sound* parameter is
34 ``None``, any currently playing waveform sound is stopped. If the system
41 plays a sound as specified in the registry. The *type* argument specifies which
42 sound to play; possible values are ``-1``, ``MB_ICONASTERISK``,
45 fallback if a sound cannot be played otherwise.
52 The *sound* parameter is the name of a WAV file. Do not use with
58 The *sound* parameter is a sound association name from the registry. If the
59 registry contains no such name, play the system default sound unless
60 :const:`SND_NODEFAULT` is also specified. If no default sound is registered,
83 # Play Windows exit sound.
86 # Probably play Windows default sound, if any is registered (because
87 # "*" probably isn't the registered name of any sound).
93 Play the sound repeatedly. The :const:`SND_ASYNC` flag must also be used to
99 The *sound* parameter to :func:`PlaySound` is a memory image of a WAV file, as a
110 Stop playing all instances of the specified sound.
124 If the specified sound cannot be found, do not play the system default sound.
134 Return immediately if the sound driver is busy.
143 Play the ``SystemDefault`` sound.
148 Play the ``SystemExclamation`` sound.
153 Play the ``SystemHand`` sound.
158 Play the ``SystemQuestion`` sound.
163 Play the ``SystemDefault`` sound.