@@ -14,10 +14,6 @@ class SoundInterval(Interval):
"""
self.sound = sound
duration = self.sound.length()
- if (duration == 0.0):
- Interval.notify.warning(
- 'SoundInterval(): zero length sound - setting duration = 1.0')
- duration = 1.0
self.loop = loop
self.isPlaying = 0
if (name == None):
@@ -140,7 +140,7 @@ class Track(Interval):
ival.setT(tc, entry=1)
self.currentInterval = ival
else:
- ival.setT(tc)
+ ival.setT(tc)
def printParams(self, indent=0):
""" printParams(indent)