diff --git a/content/blog/2022/03/audio-scope-with-p5js/amen.mp3 b/content/blog/2022/03/audio-scope-with-p5js/amen.mp3 new file mode 100644 index 0000000..615c0db Binary files /dev/null and b/content/blog/2022/03/audio-scope-with-p5js/amen.mp3 differ diff --git a/content/blog/2022/03/audio-scope-with-p5js/index.md b/content/blog/2022/03/audio-scope-with-p5js/index.md new file mode 100644 index 0000000..10b94e2 --- /dev/null +++ b/content/blog/2022/03/audio-scope-with-p5js/index.md @@ -0,0 +1,197 @@ +--- +title: "Making an Audio Scope with P5.js" +date: 2022-03-24T08:48:37-07:00 +draft: true +tags: ["P5.js", "Programming", "Tech", "Web"] +resources: + - src: sketch.js + params: + is_module: false +--- + +{{< audio id="amen" mp3="amen.mp3" >}} + +This is a quick write-up to share with y'all a small project I've been working +on using [P5.js][p5] and [Web Audio][webaudio] to implement some audio +visualizations. By the end, we'll have something like this: + +{{< p5_sketch id="oscilloscopeFinal" bordered=1 >}} + +## Embedding an Audio File + +HTML has the ability to [embed audio][mdn-audio-tag] in a page with the +`