In DCC decoders that don't run a motor are accessory decoders. Typical ones have 2 or 4 functions and can control lights or other items. Another option, all major decoder manufacturers have sound only decoders ie Soundtraxx Soundcar. Of course, these are useless if you don't have a DCC system.
Brendan