implementing sound tool with square splines