def phaser(self,
               gain_in=0.9,
               gain_out=0.8,
               delay=1,
               decay=0.25,
               speed=2,
               triangular=False):
        """phaser takes 6 parameters: input gain (max 1.0), output gain (max
        1.0), delay, decay, speed and LFO shape=trianglar (which must be set to
        True or False)"""
        self.command.append("phaser")
        self.command.append(gain_in)
        self.command.append(gain_out)
        self.command.append(delay)
        self.command.append(decay)
        self.command.append(speed)
        if triangular:
            self.command.append('-t')
        else:
            self.command.append('-s')
        return self