User:Iii kaisei iii/31edo sound code: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 July 2026

27 July 2026

  • curprev 12:0112:01, 27 July 2026 Iii kaisei iii talk contribs 2,354 bytes +2,354 Created page with "This code generates a synthesized sound whose harmonic series is rounded to the nearest steps of 31edo. <syntaxhighlight lang=python> # Synthesizing a timbre for 31edo import numpy as np import soundfile as sf import matplotlib.pyplot as plt sample_rate = 48_000 duration = 3.0 base_frequency = 440.0 k = 0.4 t = np.arange(int(sample_rate * duration)) / sample_rate # Positions of the first 13 harmonics, rounded to the nearest 31edo steps steps = [0, 31, 49, 62, 72, 80..."