返回列表
声浪飞行
firmwarecommunityai-passportgame

声浪飞行

麦克风声控躲避飞行小游戏

作者 @account-w版本 未发布更新 2026/08/270

关于

简体中文 · English

Voice Flight

Voice Flight project cover

Voice Flight is a microphone-controlled obstacle game for FoloToy AI Passport. Make noise to give the plane lift, stay quiet to let it descend, and fly through each opening to score.

This project builds on the hardware BSP and project structure from FoloToy/ai-passport, with a new standalone voice-controlled game, gameplay logic, tests, and documentation.

Play

  1. Keep the area quiet while the game performs its roughly 1.2-second microphone calibration.
  2. Press OK to start.
  3. Use ordinary voice volume or a gentle breath near the microphone to climb. Reduce the sound level to descend.
  4. Avoid the top, bottom, and moving obstacles. Each passed obstacle adds one point.

Controls:

  • OK: start, pause, resume, or retry.
  • UP / DOWN while not actively flying: raise or lower microphone sensitivity.
  • Hold DOWN while not actively flying: recalibrate the ambient noise floor.
  • Hold OK: return to the title screen.

The best score lasts for the current power session. Gameplay intentionally uses visual feedback only because speaker output can feed back into the microphone and move the plane.

Build

The target is ESP32-C3 with ESP-IDF 5.5.3. Activate the toolchain, then run:

./tools/validate.sh --static
./tools/validate.sh --firmware

The verified installer image is written to build/FoloToy-AI-Passport-full.bin. See Build and Test for environment, flash, and recovery details.

Hardware-dependent acceptance still requires a real AI Passport: verify calibration in quiet and noisy rooms, sensitivity levels, control latency, display smoothness, and clean recovery after microphone or button initialization failure.

特性

▸发声控制飞机升力,安静时下降
▸自动环境噪声校准与灵敏度调节
▸穿越障碍物计分,本次开机保留最高分
▸仅用视觉反馈,避免扬声器声音干扰麦克风

一键安装

通过 Web Serial API 在浏览器内直接刷写固件到你的 AI Passport

查看 GitHub 仓库 ↗

需要 Chrome/Edge 89+ · 不支持时可查看手动教程

手动安装教程 ↗

项目信息

仓库https://github.com/account-w/Voice-Flight
Star0
固件版本未发布
兼容硬件AI Passport v1