~ubuntu-branches/ubuntu/quantal/python-pyo/quantal

« back to all changes in this revision

Viewing changes to pyolib/analysis.py

  • Committer: Package Import Robot
  • Author(s): Tiago Bortoletto Vaz
  • Date: 2012-07-03 23:45:41 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120703234541-jh5jg00lvljnwq8m
Tags: 0.6.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
        [obj.setFreq(wrap(x,i)) for i, obj in enumerate(self._base_objs)]
113
113
 
114
114
    def out(self, chnl=0, inc=1, dur=0, delay=0):
115
 
        return self
 
115
        return self.play(dur, delay)
116
116
 
117
117
    def ctrl(self, map_list=None, title=None, wxnoserver=False):
118
118
        self._map_list = [SLMap(1., 500., 'log', 'freq', self._freq)]
233
233
        [obj.setFalltime(wrap(x,i)) for i, obj in enumerate(self._base_objs)]
234
234
 
235
235
    def out(self, chnl=0, inc=1, dur=0, delay=0):
236
 
        return self
 
236
        return self.play(dur, delay)
237
237
 
238
238
    def ctrl(self, map_list=None, title=None, wxnoserver=False):
239
239
        self._map_list = [SLMap(0.001, 1., 'log', 'risetime', self._risetime)]
345
345
        [obj.setThresh(wrap(x,i)) for i, obj in enumerate(self._base_objs)]
346
346
 
347
347
    def out(self, chnl=0, inc=1, dur=0, delay=0):
348
 
        return self
 
348
        return self.play(dur, delay)
349
349
 
350
350
    def ctrl(self, map_list=None, title=None, wxnoserver=False):
351
351
        self._map_list = []