@staticmethod
    def sayRandomText():
        text = Concertina.getRandomText()
        if Concertina.isLinux:
            if DEBUG:
                print >> sys.stderr, 'Saying "%s" using festival' % text
            pipe = subprocess.Popen(['/usr/bin/festival'])
            pipe.communicate('(SayText "%s")' % text)
            pipe.terminate()
        elif Concertina.isDarwin:
            if DEBUG:
                print >> sys.stderr, 'Saying "%s"' % text
            #subprocess.check_call(['/usr/bin/say', 'OK Google'])
            #time.sleep(2)
            subprocess.check_call(['/usr/bin/say', text])
dataset/ETHPy150Open dtmilano/AndroidViewClient/src/com/dtmilano/android/concertina.py/Concertina.sayRandomText/original