Looking for tool for riping

Any one know about a tool to automatically ripin 30 seconds of a cd Song?