p5 js Tutorial - Audio Visualization with getPeaks method

Опубликовано: 28 Сентябрь 2024
на канале: Mister Bomb
2,294
45

This video shows how to visualize the amplitude data of an audio file using the getPeaks( ) method of the soundfile object in the p5.Sound library. It also shows how to visualize the playing time of the audio file in real time using the .duration( ) and .currentTime( ) methods of the soundfile object.

p5 sketch in web editor: https://editor.p5js.org/mrbombmusic/s...

getPeaks( ) reference on p5js.org: https://p5js.org/reference/#/p5.Sound...

Twitter: @mrbombmusic