You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sound files can also be opened as `SoundFile` objects. Every
124
-
SoundFile has a specific sample rate, data format and a set number of
124
+
`SoundFile` has a specific sample rate, data format and a set number of
125
125
channels.
126
126
127
-
If a file is opened, it is kept open for as long as the SoundFile
127
+
If a file is opened, it is kept open for as long as the `SoundFile`
128
128
object exists. The file closes when the object is garbage collected,
129
129
but you should use the `SoundFile.close()` method or the
130
130
context manager to close the file explicitly:
@@ -147,7 +147,7 @@ channels in the file.
147
147
RAW Files
148
148
---------
149
149
150
-
Pysoundfile can usually auto-detect the file type of sound files. This
150
+
`soundfile.read()` can usually auto-detect the file type of sound files. This
151
151
is not possible for RAW files, though:
152
152
153
153
.. code:: python
@@ -167,7 +167,7 @@ cases, a more expressive format is better and should be used instead.
167
167
Virtual IO
168
168
----------
169
169
170
-
If you have an open file-like object, Pysoundfile can open it just like
170
+
If you have an open file-like object, `soundfile.read()` can open it just like
171
171
regular files:
172
172
173
173
.. code:: python
@@ -197,7 +197,7 @@ For Python 2.x support, replace the third line with:
197
197
Known Issues
198
198
------------
199
199
200
-
Writing to OGG files can result in empty files with certain versions of libsndfile. See `#130 <https://github.com/bastibe/SoundFile/issues/130>`__ for news on this issue.
200
+
Writing to OGG files can result in empty files with certain versions of libsndfile. See `#130 <https://github.com/bastibe/python-soundfile/issues/130>`__ for news on this issue.
0 commit comments