File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ class Audio(DisplayObject):
3333 * Bytestring containing raw PCM data or
3434 * URL pointing to a file on the web.
3535
36- If the array option is used the waveform will be normalized.
36+ If the array option is used, the waveform will be normalized.
3737
38- If a filename or url is used the format support will be browser
38+ If a filename or url is used, the format support will be browser
3939 dependent.
4040 url : unicode
4141 A URL to download the data from.
@@ -63,7 +63,7 @@ class Audio(DisplayObject):
6363 import numpy as np
6464 framerate = 44100
6565 t = np.linspace(0,5,framerate*5)
66- data = np.sin(2*np.pi*220*t) + np.sin(2*np.pi*224*t))
66+ data = np.sin(2*np.pi*220*t) + np.sin(2*np.pi*224*t)
6767 Audio(data,rate=framerate)
6868
6969 # Can also do stereo or more channels
You can’t perform that action at this time.
0 commit comments