moved scaleBuffer as a instance property rather then being global.
udpdated audioInputExample