Main public logs
Combined display of all available logs of Xenharmonic Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 10:11, 3 August 2025 Contribution talk contribs created page User:Contribution/Ups & downs notation in Python (Created page with "<syntaxhighlight lang="python"> def upsdowns(degree: int, steps_per_octave: int, steps_per_fifth: int, steps_per_degree: int = 1): sharpness = 7 * steps_per_fifth - 4 * steps_per_octave POS_ALTS, NEG_ALTS = ({(-1) ** (i + 1) * i for i in range(1, 6)}, {(-1) ** i * i for i in range(1, 6)}) naturals = [] for a in range(-5, 6): pos = (a * steps_per_fifth) % steps_per_octave oadj = -1 if (pos < steps_per_octave / 2 and a in POS_ALTS) else (1...")