New Tool (2.7): "Smart" Volume Adjust

So I came across this post a few days ago, and I decided to write a script in an attempt to address the complaint. So here it comes, the “Smart” Volume Adjust tool.

The tool behaves like the normal “Volume Adjust…” entry in the Sample Editor’s “Process” menu, but it remembers your last adjustment so that you can repeat the same volume adjustment over and over without having to bring up a dialog every time. The “Smart Set and Adjust Volume…” menu entry brings up a dialog that lets you select a dB adjustment, and the “Smart Adjust Volume” entry repeats the last (smart) volume adjustment without prompting the user. There are keybindings for both of these functions. Enjoy the minor convenience.

Edit: updated version uploaded

thanks cocoa!

Smart, thanks B)

Uploaded new version 0.62. Fixed a bug where the volume adjustment would apply to the whole sample (instead of just the selection) if the sample was less than 32-bit, reworked a few bits of code, and fixed behavior for keybindings on read-only or no-data samples