Debian Codegraph @

documentation/source/api/functions/sndfile.rst

raw
1 Soundfile
2 =============================
3
4 Functions to inspect or write an audio file on disk.
5
6 .. currentmodule:: pyo
7
8 Functions in this category
9 ------------------------------
10
11 - :py:func:`sndinfo` : Retrieve informations about a soundfile.
12 - :py:func:`savefile` : Creates an audio file from a list of floats.
13 - :py:func:`savefileFromTable` : Creates an audio file from the content of a table.
14
15 *sndinfo*
16 ---------------------------------
17
18 .. autofunction:: sndinfo(path, print=False)
19
20 *savefile*
21 ---------------------------------
22
23 .. autofunction:: savefile(samples, path, sr=44100, channels=1, fileformat=0, sampletype=0, quality=0.4)
24
25 *savefileFromTable*
26 ---------------------------------
27
28 .. autofunction:: savefileFromTable(table, path, fileformat=0, sampletype=0, quality=0.4)
29