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
AudioSample does not require arguments for init method, and will use default values of start_time = None and duration=None. However these will raise errors when AudioSample.__repr__ is called, for example in an ipython environment. This is because it tries to calculate the "end time" for printing by calculating start_time + duration.
Raising
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
AudioSample does not require arguments for init method, and will use default values of
start_time = None
andduration=None
. However these will raise errors whenAudioSample.__repr__
is called, for example in an ipython environment. This is because it tries to calculate the "end time" for printing by calculatingstart_time + duration
.Raising
opensoundscape/opensoundscape/sample.py
Lines 31 to 33 in 03e8661
The text was updated successfully, but these errors were encountered: