tinco
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
1296 ms·
- 3211.▲
- 3212.▲
- 3213.▲
- 3214.▲
- 3215.▲
- 3216.▲
- 3217.▲
Alright, time to fire up ghci then.. it doesn't work with map or filter, but you get the idea: notes = concat $ repeat ["c", "c#", "d", "d#", "e", "f", "f#", "g", "g#", "a", "a#", "b"]
majorSteps = [1,1,0,1,1,1,0]
scale key steps = - 3218.▲
- 3219.▲
The code he wrote for showing how to generate is pretty ugly and left me confused. I think this shows much better the relation between the 12 notes and a scale: NOTES = ['c', 'c#', 'd', 'd#', 'e', 'f', 'f#', 'g', 'g#', 'a', 'a#', 'b'] - 3220.▲
- 3221.▲
- 3222.▲
- 3223.▲
- 3224.▲
- 3225.▲
- 3226.▲
- 3227.▲
- 3228.▲
- 3229.▲
- 3230.▲
- 3231.▲
- 3232.▲
- 3233.▲
- 3234.▲
- 3235.▲
- 3236.▲
- 3237.▲
- 3238.▲
- 3239.▲
- 3240.▲
More ›