Perform the check above the loop using '''wav.getsampwidth()''' https://github.com/CorbanSwain/Poem-Visualization/blob/e5a9322d62eecf5b08e12636ae2935910a95aa8b/vis_script.py#L17