This code is provided in case you were curious about the implementation of speech visualizations that I wrote about here.

Unfortunately the code is not super portable: if you wanted to run it, you'll need to install the dependencies, download Facebook's wav2vec_small from fairseq, and setup a Google Cloud project for speech-to-text transcription.