rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
This commit is contained in:
1 parent
2956576d7f
commit
22ddcd78fa
941 files changed
+3364
-3364
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
-- Music example (formats-luau): write a MIDI file from scratch, read it back, and render it to audio with the built-in
|
||||
-- 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).
|
||||
local F = require("@formats")
|
||||
local F = require("@rosetta")
|
||||
|
||||
-- 1. a Midi: 480 ticks per quarter note, absolute ticks, a tempo, a track name and a little melody
|
||||
local midi = F.Types.Midi.new(480)
|
||||
|
||||
Reference in new issue
Block a user