Audio Support for Jupyter on Visual Studio Code

less than 1 minute read

Published:

I realized that the audio generation now renders the audio to iPyWidget.

import IPython.display as ipd
import numpy as np
fs = 16000.
ipd.Audio(np.sin(2\*np.pi\*440\*np.arange(5 \* fs)/fs), rate=fs)

How cool is this?