Anyone know loseless audio editors, like mp3DirectCut, for other formats?

May be some scripting for mplayer (or other command line players)?