Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

17.4: Amplitude Analysis - p5.js Sound Tutorial

30.1K views
•
June 9, 2016
by
The Coding Train
YouTube video player
17.4: Amplitude Analysis - p5.js Sound Tutorial

TL;DR

Learn to visualize sound amplitudes by creating responsive shapes in p5.js.

Transcript

hello welcome to one more video but this is not the last one about sound in the browser using p5.js sound library so in this video what i want to demonstrate to you is how to listen to the audio that's playing back and draw something according to how loud that sound is so we can have a responsive shape on the screen responding to a particular audio... Read More

Key Insights

  • ▶️ Delaying the play button appearance until sound loading ensures smooth playback.
  • 👂 Visualizing sound amplitudes enhances user experience and interaction.
  • 💨 Amplitude analysis in p5.js is a simple yet effective way to engage users with sound visuals.
  • ❓ Future exploration can include FFT for nuanced frequency analysis.
  • 🥺 Shape responsiveness to sound amplitudes can lead to creative artistic applications.
  • 🫀 Mic input can also be used to control visuals based on voice amplitude.
  • 👂 Sound visualization tutorials in p5.js offer endless creative possibilities.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How can you ensure the play button appears only after the sound is loaded?

By moving the play button creation code into the sound loaded callback function, you can delay its appearance until the sound is ready to play, avoiding errors.

Q: What is amplitude in sound analysis?

Amplitude in sound analysis refers to the volume or loudness of the sound, represented as a waveform's height, with higher amplitudes indicating louder sounds.

Q: How can you use the p5.js library to analyze sound amplitudes?

You can create an amplitude object in p5.js to listen to sound volume changes, enabling you to visualize these amplitudes by connecting them to shape properties like size or color.

Q: What additional sound analysis can be performed beyond amplitude in P5.js?

Apart from amplitude analysis, you can delve into frequency analysis using FFT (Fast Fourier Transform) in p5.js, which allows you to examine different sound frequencies and amplitudes across the spectrum.

Summary & Key Takeaways

  • Tutorial in p5.js on visualizing sound amplitudes through shape responsiveness.

  • Demonstrates how to connect sound loading with visual elements effectively.

  • Introduces basic sound analysis using amplitude and potential future frequency analysis.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js Part 2
The Coding Train
ITP/IMA Winter Show 2019 thumbnail
ITP/IMA Winter Show 2019
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train
9.4: Genetic Algorithm: Looking at Code - The Nature of Code thumbnail
9.4: Genetic Algorithm: Looking at Code - The Nature of Code
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.