ESP32 4 different animated sound waves display on OLED by pressing a button.
Автор: Electricum
Загружено: 2024-12-21
Просмотров: 78
Описание:
Sound-Reactive Animations:
Dynamically adjust amplitude, turns, and radius based on sound input.
Three Animation Styles:
Dynamic Helix: Vibrating helix structure.
Pulsing Ring: Breathing ring that modulates with sound.
Spiral: Expanding and contracting spiral with sound levels.
Smooth Sound Input:
A moving average filter for more stable animations.
Interactive Button Control:
Switch between animation styles with a button.
Features Included
Sound Smoothing:
Exponential smoothing for gradual sound level transitions.
Animation Interpolation:
Smooth transitions for amplitude, rotation, and number of turns.
Three Animation Styles:
Helix: Dynamic spring-like structure.
Pulsing Ring: Expanding and contracting ring.
Spiral: Expanding spiral pattern.
Button Interaction:
Change animations by pressing the button.
Stable Frame Rate:
Adjusted frame rate for better performance.
Adding a New Animation
Example: "Sound Wave"
Create a new animation that simulates sound waves propagating outward:
Modify Button Logic
Update the button press logic to include the new animation:
Update loop()
Add the new animation to the loop:
Code:
https://github.com/ukkokalevala/4Anim...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: