From bf36a773918959eeb6ffe7dae2fb8b0874438eb4 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sun, 12 Jul 2026 17:58:19 +0900 Subject: feat(ppmck): mckc準拠の構文拡張とIR保持コマンド追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @をデューティ比、qをクオンタイズに修正(mckc原本準拠) - ^タイ、Dディチューン、sスイープ、v+/v-相対音量を追加 - @v/@@/@MP/@EP/@EN エンベロープ・LFO系を構文解析してIR保持 - 上記IR保持コマンドは合成未対応を SEMANTIC_UNSUPPORTED_FEATURE で警告 - Design.md / MML_BNF.md を更新 - 全200テスト + ruff チェック通過 --- tests/test_error_codes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_error_codes.py') diff --git a/tests/test_error_codes.py b/tests/test_error_codes.py index f9bd5bb..538056f 100644 --- a/tests/test_error_codes.py +++ b/tests/test_error_codes.py @@ -192,7 +192,7 @@ def test_semantic_note_out_of_range_pyxel(compose_mml): # --- SEMANTIC_CHANNEL_MISMATCH --- def test_semantic_channel_mismatch_ppmck_triangle_duty(compose_mml): - result = compose_mml(action="validate", mml="T t120 l4 q2\n c", mode="ppmck") + result = compose_mml(action="validate", mml="T t120 l4 @2\n c", mode="ppmck") assert _find_code(result, ErrorCode.SEMANTIC_CHANNEL_MISMATCH.value, "warnings") -- cgit v1.2.3