Skip to content

Feat/v0.3#9

Merged
juntao merged 22 commits intomainfrom
feat/v0.3
Jan 19, 2026
Merged

Feat/v0.3#9
juntao merged 22 commits intomainfrom
feat/v0.3

Conversation

@L-jasmine
Copy link
Collaborator

  • update ui
  • support vowel
  • update setup.html

@juntao juntao requested a review from Copilot January 19, 2026 21:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces vowel detection support, enhances the UI system with improved rendering and avatar animations, and adds configurable AFE (Audio Front End) parameters through setup pages.

Changes:

  • Added vowel detection to audio protocol and processing pipeline
  • Refactored UI system with new display abstractions and avatar support
  • Added configurable AFE parameters (linear gain, AGC target level, compression gain) via Bluetooth

Reviewed changes

Copilot reviewed 18 out of 22 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/ws.rs Added vowel parameter to audio chunk events and updated WebSocket connection URLs to request vowel data
src/ui.rs Major refactor introducing display abstraction traits, GIF/PNG rendering, and modular image components
src/protocol.rs Extended ServerEvent enum with vowel field for audio chunks
src/main.rs Refactored settings management, integrated new UI system, and updated main application flow
src/bt.rs Added BLE characteristics for AFE parameter configuration
src/boards/mod.rs Implemented default UI components including ChatUI and ConfiguresUI
src/boards/cube2.rs Removed hardcoded AFE configuration values
src/boards/cube.rs Removed hardcoded AFE configuration values
src/boards/base.rs Removed hardcoded AFE configuration values
src/boards/atom_box.rs Implemented custom UI with chunked rendering for performance optimization
src/audio.rs Added vowel event handling and made AFE parameters configurable via global statics
src/app.rs Integrated vowel events for avatar animation and updated UI rendering throughout event handling
setup/index_zh.html Added advanced settings panel for AFE parameter configuration (Chinese)
setup/index.html Added advanced settings panel for AFE parameter configuration (English)
sdkconfig.defaults Commented out BT_NIMBLE_HOST_TASK_STACK_SIZE configuration
components/hal_driver/lcd.h Exposed lcd_dma_buffer for direct access
components/hal_driver/lcd.c Optimized DMA buffer allocation and LCD configuration
Cargo.toml Updated version to 0.3.0, replaced tinygif with image crate, added custom_ui feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@juntao juntao merged commit 0764976 into main Jan 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants