Tool to automatically rip parts of songs?

hello!

i’m not sure if this belongs here but i’m looking for a tool which automatically rips parts (eg 30 seconds) of songs of a whole cd. are you aware of a piece of software which can do that task?

thanks for your help!