examples: short headers

This commit is contained in:
4DBug committed 2026-11-01 01:49:44 -05:00
1 parent 2591255694
commit e23adf2a2d
13 files changed
+16 -36

No files matched your search

+1 -3
View File
@@ -1,6 +1,4 @@
-- Music example (rosetta): write a MIDI file from scratch, read it back, and render it to audio with the built-in
-- waveforms (pass a SoundFont as { soundfont = sf2Bytes } for real instruments). Run from the repository root:
-- luau examples/music.luau (docs/guide/music.md explains the API).
-- examples/music.luau: write a MIDI file, read it back, render it to audio (docs/guide/music.md).
local F = require("@rosetta")
-- 1. a Midi: 480 ticks per quarter note, absolute ticks, a tempo, a track name and a little melody