Files
openmotion/scripts
huihui-crypto 6b9ae70d67 feat(studio): give the Sound Studio a home with a banner and audio templates (#726)
* feat(studio): give the Sound Studio a home with a banner and audio templates

The Sound Studio entry now opens a home page laid out like the 3D Studio:
a page-level back button, an intro banner with a featured template, and
an audio template grid. Each template card shows its type, duration,
recommended model and prompt; "Use prompt" opens the generation page
with the prompt filled in, and "Generate audio" opens it directly.

The top-nav Audio entry keeps the existing generation page. The two
entries shared one route, so the home uses `home=1`
(`?page=sound&home=1`); other studios are unchanged.

Templates add four repository-owned clips (two example scores, interface
cues and flight effects). Cues and effects are re-encoded to AAC and
posters resized to 800px WebP, adding about 575 KB to the Studio build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(studio): add more Sound Studio templates

Adds eight sound templates synthesized for this page (ambient pad,
notification chime, success sound, interface tap, transition whoosh,
title impact, tension riser, keyboard typing) and two narration
templates, bringing the home to 16 templates. Each clip is generated
in code and owned by the project; covers are gradient waveform images.
Together they add about 390 KB to the Studio build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(studio): open the same generation page as the top-nav Audio menu

After #719 the top-nav Audio entry opens the scene's generation page
(`?page=create`). Generate audio and Use prompt on the Sound Studio home
now open that page too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(studio): list only templates with an audio preview on the Sound Studio home

Narration templates have no preview yet, so the home shows the 13 music
and sound-effect templates. The Text to speech example on the generation
page is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(distribution): ship the Sound Studio template previews

The packaged Studio rejects unregistered media. Register the
fingerprinted template audio used offline by the Sound Studio home
alongside the welcome soundtrack, and assert that it ships.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:10:52 +08:00
..