1 verses of the Young's Literal Translation have both "sing" and "when".
Psalms 71:23 My lips cry aloud when I sing praise to Thee, And my soul that Thou hast redeemed,
In other translations: KJV WEB ASV Darby Webster DRC Geneva