1. Create the project and copy audio
luastra/media · live media_state events · about 20 minutesstarter + admitted WAV fixture
Start from a normal project and copy the recipe fixture into its assets directory.
When to use it
Run this where the new project should live, then save the supplied focus.wav fixture at exactly assets/focus.wav.
- The documentation validator tests the same WAV fixture from examples/media-player/assets/focus.wav.
- Use your own admitted WAV, MP3, M4A, or OGG file later; browser codec support still varies by format.
Focused example
luastra create media-recipe cd media-recipe # Copy focus.wav from this recipe into assets/focus.wav.