# Test a Gemini app's voice feature end-to-end with fake microphone audio

> Original title: Example prompt template:

- Source: Philipp Schmid
- Published: 2026-11-04T17:54:57.000Z
- Bad Influence: https://badinfluence.news/items/qpb56rkz08ur4m0y2vhhez1fr
- Original: https://x.com/_philschmid/status/2118039311648260384

## Summary

Philipp Schmid shows how to test a voice feature without a physical microphone by installing the gemini-api-cli skill and generating spoken WAV files with gemini-api tts. He says headless Chrome can then stream the WAV through getUserMedia using fake-device flags, starting from 0.0 seconds after the mic button is clicked.

## Post

Example prompt template:

Install npx skills add google-gemini/gemini-skills --skill gemini-api-cli -y and test the voice or audio feature in this project end-to-end without a physical mic. Find how the app opens microphone capture, generate spoken WAV test files with gemini-api tts, and launch headless Chrome with --use-fake-ui-for-media-stream --use-fake-device-for-media-stream --use-file-for-fake-audio-capture=/abs/path/voice.wav%noloop. Click the mic button so getUserMedia streams the WAV from 0.0s and verify the feature works.
