MaxMsp code for InkFrame amplitude analysis