a simple shortcut function to easily get freq spectrum