##// END OF EJS Templates
Read wav files in binary mode....
Thomas Kluyver -
Show More
@@ -67,6 +67,7 b' class Audio(DisplayObject):'
67 Audio(data=b'RAW_WAV_DATA..)
67 Audio(data=b'RAW_WAV_DATA..)
68
68
69 """
69 """
70 _read_flags = 'rb'
70
71
71 def __init__(self, data=None, filename=None, url=None, embed=None, rate=None, autoplay=False):
72 def __init__(self, data=None, filename=None, url=None, embed=None, rate=None, autoplay=False):
72 if filename is None and url is None and data is None:
73 if filename is None and url is None and data is None:
General Comments 0
You need to be logged in to leave comments. Login now