summaryrefslogtreecommitdiff
path: root/src/mml_composemusic_mcp/synthesizer.py
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-07-11 22:17:57 +0900
committertanaka takashi <isazaka@gmail.com>2026-07-11 22:17:57 +0900
commitb7f717df8ddc046139811fd8e8ee2399924ee71e (patch)
treec3ad42b08ccd64d1820d5ed26525faf86de72bd6 /src/mml_composemusic_mcp/synthesizer.py
parent4ed98f4ec8d354f8fdb009f0b7829c2628adb2a6 (diff)
ドキュメントとコメント一部更新
Diffstat (limited to 'src/mml_composemusic_mcp/synthesizer.py')
-rw-r--r--src/mml_composemusic_mcp/synthesizer.py4
1 files changed, 2 insertions, 2 deletions
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,