spectrogram now renders with request animation frame