Fix solo string instruments: clean triangle, no detune

Solo violin/viola/cello/contrabass now use triangle + strings envelope
(clean, clear). String ensemble keeps strings_synth + detune for
thick ensemble textures. Solo instruments need clarity, not width.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 21:26:35 -04:00
parent 6b2b1e201e
commit 833ab56857
2 changed files with 10 additions and 10 deletions
+9 -9
View File
@@ -45,28 +45,28 @@ INSTRUMENTS = {
# ── Strings ──
"violin": {
"synth": "strings_synth", "envelope": "strings",
"detune": 4, "lowpass": 5000,
"synth": "triangle", "envelope": "strings",
"lowpass": 5000,
"humanize": 0.15,
},
"viola": {
"synth": "strings_synth", "envelope": "strings",
"detune": 4, "lowpass": 3500,
"synth": "triangle", "envelope": "strings",
"lowpass": 3500,
"humanize": 0.15,
},
"cello": {
"synth": "strings_synth", "envelope": "strings",
"detune": 4, "lowpass": 2500,
"synth": "triangle", "envelope": "strings",
"lowpass": 2500,
"humanize": 0.15,
},
"contrabass": {
"synth": "strings_synth", "envelope": "strings",
"detune": 3, "lowpass": 1500,
"synth": "triangle", "envelope": "strings",
"lowpass": 1500,
"humanize": 0.1,
},
"string_ensemble": {
"synth": "strings_synth", "envelope": "pad",
"detune": 12, "spread": 0.6,
"detune": 10, "spread": 0.5,
"chorus": 0.2, "chorus_rate": 0.5,
"lowpass": 4000,
},
+1 -1
View File
@@ -6470,7 +6470,7 @@ def test_instrument_violin():
from pytheory import Score
score = Score("4/4", bpm=120)
p = score.part("v", instrument="violin")
assert p.synth == "strings_synth"
assert p.synth == "triangle"
assert p.envelope == "strings"
assert p.humanize == 0.15
assert p.lowpass == 5000