From b7f717df8ddc046139811fd8e8ee2399924ee71e Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sat, 11 Jul 2026 22:17:57 +0900 Subject: ドキュメントとコメント一部更新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mml_composemusic_mcp/synthesizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mml_composemusic_mcp/synthesizer.py') diff --git a/src/mml_composemusic_mcp/synthesizer.py b/src/mml_composemusic_mcp/synthesizer.py index 42a3c11..6d9ffe2 100644 --- a/src/mml_composemusic_mcp/synthesizer.py +++ b/src/mml_composemusic_mcp/synthesizer.py @@ -1,4 +1,4 @@ -"""NES APU-style synthesizer: NoteSequence -> WAV.""" +"""Retro APU-style synthesizer: NoteSequence -> WAV.""" import wave from math import floor @@ -26,7 +26,7 @@ def midi_to_freq(note_number: int) -> float: def noise_period_to_rate(period: int, mode: int, sample_rate: int) -> float: - # NES noise: rate = CPU_CLOCK / (NTSC divider for period) + # Retro noise: rate = CPU_CLOCK / (NTSC divider for period) # Approximate using pyxel mapping described in design dividers = [ 4, -- cgit v1.2.3