Search finished, found 43 page(s) matching the search query.
- winsound (module, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.Beep (function, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.MB_ICONASTERISK (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.MB_ICONEXCLAMATION (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.MB_ICONHAND (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.MB_ICONQUESTION (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.MB_OK (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.MessageBeep (function, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.PlaySound (function, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_ALIAS (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_ASYNC (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_FILENAME (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_LOOP (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_MEMORY (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_NODEFAULT (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_NOSTOP (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_NOWAIT (data, in 34.4. winsound — Sound-playing interface for Windows)
- winsound.SND_PURGE (data, in 34.4. winsound — Sound-playing interface for Windows)
- 11.1. pickle — Python object serialization
...you to produce such a class. Or you could raise an error if you
want to disallow all unpickling of instances. If this sounds like a hack,
you're right. Refer to the source code to make this work.
Things are a little cleaner with :mod:`c...
- 15.8. curses — Terminal handling for character-cell displays
...and
occasionally to change interfaces depending on the line speed.
.. function:: beep()
Emit a short attention sound.
.. function:: can_change_color()
Returns true or false, depending on whether the programmer can change the...
- 21. Multimedia Services
.. _mmedia:
*******************
Multimedia Services
*******************
The modules described in this chapter implement various algorithms or interfaces
that are mainly useful for multimedia applications. They are available at the
discr...
- 21.1. audioop — Manipulate raw audio data
...odule:: audioop
:synopsis: Manipulate raw audio data.
The :mod:`audioop` module contains some useful operations on sound fragments.
It operates on sound fragments consisting of signed integer samples 8, 16 or 32
bits wide, stored in Py...
- 21.10. ossaudiodev — Access to OSS-compatible audio devices
...nopsis: Access to OSS-compatible audio devices.
.. versionadded:: 2.3
This module allows you to access the OSS (Open Sound System) audio interface.
OSS is available for a wide range of open-source and commercial Unices, and is
the standa...
- 21.3. aifc — Read and write AIFF and AIFC files
...umber 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...
- 21.4. sunau — Read and write Sun AU files
...files
============================================
.. module:: sunau
:synopsis: Provide an interface to the Sun AU sound format.
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
The :mod:`sunau` module provides a convenient i...
- 21.5. wave — Read and write WAV files
...rite WAV files
========================================
.. module:: wave
:synopsis: Provide an interface to the WAV sound format.
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
.. Documentations stolen from comments in file....
- 21.9. sndhdr — Determine type of sound file
:mod:`sndhdr` --- Determine type of sound file
==============================================
.. module:: sndhdr
:synopsis: Determine type of a sound file.
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
.. Based on comments in...
- 3. reStructuredText Primer
...ame level of
indentation. (There needs to be a blank line between explicit markup and normal
paragraphs. This may all sound a bit complicated, but it is intuitive enough
when you write it.)
Directives
----------
A directive is a generi...
- 34. MS Windows Specific Services
...dules that are only available on MS Windows platforms.
.. toctree::
msilib.rst
msvcrt.rst
_winreg.rst
winsound.rst...
- 34.4. winsound — Sound-playing interface for Windows
:mod:`winsound` --- Sound-playing interface for Windows
=======================================================
.. module:: winsound
:platform: Windows
:synopsis: Access to the sound-playing machinery for Windows.
.. moduleauthor::...
- 36. Mac OS X specific services
.. _mac-specific-services:
**************************
Mac OS X specific services
**************************
This chapter describes modules that are only available on the Mac OS X platform.
See the chapters :ref:`mac-scripting` and :ref:`...
- 36.8. Mac OS Toolbox Modules
...Manager gives a lot of useful information
about using the Scrap Manager in applications.
:mod:`Carbon.Snd` --- Sound Manager
===================================
.. module:: Carbon.Snd
:platform: Mac
:synopsis: Interface to t...
- 39.1. sunaudiodev — Access to Sun audio hardware
...ing output. It can be used avoid the slow response
to a user's stop request (due to buffering of up to one second of sound).
.. method:: audio device.getinfo()
This method retrieves status information like input and output volume,...
- 40. Undocumented Modules
...audio headers (may become obsolete or a tool/demo).
Removed in Python 3.x.
:mod:`toaiff`
--- Convert "arbitrary" sound files to AIFF files; should probably become a tool
or demo. Requires the external program :program:`sox`. Rem...
- 5. Embedding Python in Another Application
...edded
interpreter. That is, the embedded interpreter gets extended with routines
provided by the application. While it sounds complex, it is not so bad. Simply
forget for a while that the application starts the Python interpreter. Instea...
- 6. Modules
...ach other's module names.
Suppose you want to design a collection of modules (a "package") for the uniform
handling of sound files and sound data. There are many different sound file
formats (usually recognized by their extension, for exa...
- HOWTO Use Python in the web
...eration" template engines and are a good place to start.
Data persistence
----------------
*Data persistence*, while sounding very complicated, is just about storing data.
This data might be the text of blog entries, the postings on a bu...
- Installing Python Modules
...e directory of a different Python installation (or
something that looks like a different Python installation). If this sounds a
trifle unusual, it is---that's why the "home scheme" comes first. However,
there are at least two known cases...
- Library and Extension FAQ
...hat exercise the behaviours. A test
suite can be associated with each module which automates a sequence of tests.
This sounds like a lot of work, but since Python is so terse and flexible it's
surprisingly easy. You can make coding much m...
- Python Documentation contents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Python Documentation contents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
.. toctree::
whatsnew/index.rst
tutorial/index.rst
using/index.rst
reference/index.rst
library/index.rst
extending/index.rs...
- The Python Standard Library
.. _library-index:
###############################
The Python Standard Library
###############################
:Release: |version|
:Date: |today|
While :ref:`reference-index` describes the exact syntax and
semantics of the Python langu...
- What’s New in Python 2.3
...been deprecated,
and a new version named :mod:`ossaudiodev` has been added. The module was
renamed because the OSS sound drivers can be used on platforms other than Linux,
and the interface has also been tidied and brought up to date...
- What’s New in Python 2.6
...True if either the real or imaginary part of
its argument is infinite.
The revisions also improved the numerical soundness of the
:mod:`cmath` module. For all functions, the real and imaginary
parts of the results are accurate t...