Sin-tel / temper

MIT License
4 stars 2 forks source link

User story: Tempering an existing scale in Scale Workshop 3 #6

Open frostburn opened 3 months ago

frostburn commented 3 months ago

The user continues with the scale they got from story #5 and wishes to temper out more commas.

rank2([0 1 0>, 5, 1, [1 0 0 >, 1, 1898.446, 1201.397)
// Previous prime mapping deleted.

The user remembers 81/80 and adds 3125/3072.

Scale Workshop sends the comma list as a POST request

{
  "version": "0.0.0",
  "payload": {
    "weights": "tenney",
    "reduce": "off",
    "commas": [[-4, 4, -1], [-10, -1, 5]],
  }
}

temper replies with

{
  "version": "0.0.0",
  "response": {
    "preimage": [[-3, -1, 2]],
    "numberOfPeriods": 19,
    "teTuning": [63.294],
    "tePrimeMapping": [1202.586, 1898.82, 2784.9356],
    "cteTuning": [63.158],
    "ctePrimeMapping": [1200.000, 1894.74, 2778.952],
  }
}

The user selects TE tuning and SW3 uses the prime mapping provided above.

The raw (unexpanded) result is this SonicWeave scale:

rank2([0 1 0>, 5, 1, [1 0 0 >, 1, 1898.446, 1201.397)
primeMapping(1202.586, 1898.82, 2784.9356)

That is, a slightly stretched 19edo diatonic major.