File: sndfile.rst.txt

package info (click to toggle)
python-pyo 1.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 52,332 kB
  • sloc: python: 135,133; ansic: 127,822; javascript: 16,116; sh: 395; makefile: 388; cpp: 242
file content (29 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Soundfile
=============================

Functions to inspect or write an audio file on disk.

.. currentmodule:: pyo

Functions in this category
------------------------------

- :py:func:`sndinfo` :     Retrieve informations about a soundfile.
- :py:func:`savefile` :     Creates an audio file from a list of floats.
- :py:func:`savefileFromTable` :     Creates an audio file from the content of a table.

*sndinfo*
---------------------------------

.. autofunction:: sndinfo(path, print=False)

*savefile*
---------------------------------

.. autofunction:: savefile(samples, path, sr=44100, channels=1, fileformat=0, sampletype=0, quality=0.4)

*savefileFromTable*
---------------------------------

.. autofunction:: savefileFromTable(table, path, fileformat=0, sampletype=0, quality=0.4)