update & complete basic signal processing example