Develop a real-time audio visualizer that displays waveforms and spectrograms of audio input using Matplotlib and NumPy.