Skip to content

An example for app_audio, so the site builds again - #9

Merged
lana-20 merged 1 commit into
mainfrom
audio-example
Oct 8, 2026
Merged

lana-20 merged 1 commit into
mainfrom
audio-example

Conversation

@lana-20

@lana-20 lana-20 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Why the site stopped updating: every scheduled build since Mobium #159 has failed at the example check with "app_audio: no example". The check requires an example for every tool, and the new audio tool had none. The live site stayed at the 2026-10-07 07:56 UTC manual build.

Added:

  • An app_audio scenario: start a capture for MobiumApp, then stop it, saving heard.wav and asserting that 440 Hz was heard (--expect 440).
  • Its translations in Python, JavaScript, Go, Java and .NET.
  • Its CLI output, captured on the Android 15 emulator. capture.py opens the Audio Demo and plays its tone between the two steps, so the stop is a real pass: "0.6–2.6s 440 Hz (-42 dBFS)".
  • A reason in no-picture.json for having no screenshot, since audio changes nothing on screen.

Checked locally:

  • check_examples: 109 scenarios, 0 problems. The Python, JavaScript, Go and Java snippets pass; there is no .NET SDK on this Mac, so this CI checks the .NET one.
  • generate.py writes 533 pages from Mobium a657c27.
  • npm run build succeeds, and the audio page exists on all seven surfaces.

The example check requires one for every tool, and app_audio (Mobium #159)
had none: every scheduled build failed with "app_audio: no example", and
the live site stayed at the 2026-10-07 07:56 UTC manual build.

The scenario starts a capture for MobiumApp and stops it, saving heard.wav
and asserting 440 Hz, translated into all five clients. Its CLI output is
captured on the Android 15 emulator, with the Audio Demo's tone played
between the two (capture.py), and audio's page gives its reason for no
picture. check_examples: 109 scenarios, 0 problems; the .NET snippet is
checked in CI.
@lana-20
lana-20 merged commit 01493eb into main Oct 8, 2026
2 checks passed
@lana-20
lana-20 deleted the audio-example branch October 8, 2026 04:04
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.

1 participant