summaryrefslogtreecommitdiff
path: root/src/mml_composemusic_mcp/synthesizer.py
diff options
context:
space:
mode:
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,