/
Intervals.ck
1047 lines (905 loc) · 25 KB
/
Intervals.ck
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
LiCK Library for ChucK.
Copyright (c) 2007-2012 held jointly by the individual authors.
This file is part of LiCK.
LiCK is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
LiCK is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with LiCK. If not, see <http://www.gnu.org/licenses/>.
*/
// see http://en.wikipedia.org/wiki/List_of_musical_intervals
public class Intervals
{
fun static Unison unison()
{
Unison unison;
return unison;
}
fun static Octave octave()
{
Octave octave;
return octave;
}
fun static Fifteenth fifteenth()
{
Fifteenth fifteenth;
return fifteenth;
}
fun static MinorSecond minorSecond()
{
MinorSecond minorSecond;
return minorSecond;
}
fun static MajorSecond majorSecond()
{
MajorSecond majorSecond;
return majorSecond;
}
fun static MinorThird minorThird()
{
MinorThird minorThird;
return minorThird;
}
fun static MajorThird majorThird()
{
MajorThird majorThird;
return majorThird;
}
fun static PerfectFourth perfectFourth()
{
PerfectFourth perfectFourth;
return perfectFourth;
}
fun static Tritone tritone()
{
Tritone tritone;
return tritone;
}
fun static PerfectFifth perfectFifth()
{
PerfectFifth perfectFifth;
return perfectFifth;
}
fun static MinorSixth minorSixth()
{
MinorSixth minorSixth;
return minorSixth;
}
fun static MajorSixth majorSixth()
{
MajorSixth majorSixth;
return majorSixth;
}
fun static MinorSeventh minorSeventh()
{
MinorSeventh minorSeventh;
return minorSeventh;
}
fun static MajorSeventh majorSeventh()
{
MajorSeventh majorSeventh;
return majorSeventh;
}
fun static MinorNinth minorNinth()
{
MinorNinth minorNinth;
return minorNinth;
}
fun static MajorNinth majorNinth()
{
MajorNinth majorNinth;
return majorNinth;
}
fun static PerfectEleventh perfectEleventh()
{
PerfectEleventh perfectEleventh;
return perfectEleventh;
}
fun static MinorThirteenth minorThirteenth()
{
MinorThirteenth minorThirteenth;
return minorThirteenth;
}
fun static MajorThirteenth majorThirteenth()
{
MajorThirteenth majorThirteenth;
return majorThirteenth;
}
fun static PythagoreanComma pythagoreanComma()
{
PythagoreanComma pythagoreanComma;
return pythagoreanComma;
}
fun static PythagoreanMinorSecond pythagoreanMinorSecond()
{
PythagoreanMinorSecond pythagoreanMinorSecond;
return pythagoreanMinorSecond;
}
fun static PythagoreanAugmentedPrime pythagoreanAugmentedPrime()
{
PythagoreanAugmentedPrime pythagoreanAugmentedPrime;
return pythagoreanAugmentedPrime;
}
fun static PythagoreanDiminishedThird pythagoreanDiminishedThird()
{
PythagoreanDiminishedThird pythagoreanDiminishedThird;
return pythagoreanDiminishedThird;
}
fun static PythagoreanMajorSecond pythagoreanMajorSecond()
{
PythagoreanMajorSecond pythagoreanMajorSecond;
return pythagoreanMajorSecond;
}
fun static PythagoreanMinorThird pythagoreanMinorThird()
{
PythagoreanMinorThird pythagoreanMinorThird;
return pythagoreanMinorThird;
}
fun static PythagoreanAugmentedSecond pythagoreanAugmentedSecond()
{
PythagoreanAugmentedSecond pythagoreanAugmentedSecond;
return pythagoreanAugmentedSecond;
}
fun static PythagoreanDiminishedFourth pythagoreanDiminishedFourth()
{
PythagoreanDiminishedFourth pythagoreanDiminishedFourth;
return pythagoreanDiminishedFourth;
}
fun static PythagoreanMajorThird pythagoreanMajorThird()
{
PythagoreanMajorThird pythagoreanMajorThird;
return pythagoreanMajorThird;
}
fun static PythagoreanPerfectFourth pythagoreanPerfectFourth()
{
PythagoreanPerfectFourth pythagoreanPerfectFourth;
return pythagoreanPerfectFourth;
}
fun static PythagoreanAugmentedThird pythagoreanAugmentedThird()
{
PythagoreanAugmentedThird pythagoreanAugmentedThird;
return pythagoreanAugmentedThird;
}
fun static PythagoreanDiminishedFifth pythagoreanDiminishedFifth()
{
PythagoreanDiminishedFifth pythagoreanDiminishedFifth;
return pythagoreanDiminishedFifth;
}
fun static JustAugmentedFourth justAugmentedFourth()
{
JustAugmentedFourth justAugmentedFourth;
return justAugmentedFourth;
}
fun static PythagoreanAugmentedFourth pythagoreanAugmentedFourth()
{
PythagoreanAugmentedFourth pythagoreanAugmentedFourth;
return pythagoreanAugmentedFourth;
}
fun static PythagoreanDiminishedSixth pythagoreanDiminishedSixth()
{
PythagoreanDiminishedSixth pythagoreanDiminishedSixth;
return pythagoreanDiminishedSixth;
}
fun static PythagoreanPerfectFifth pythagoreanPerfectFifth()
{
PythagoreanPerfectFifth pythagoreanPerfectFifth;
return pythagoreanPerfectFifth;
}
fun static PythagoreanMinorSixth pythagoreanMinorSixth()
{
PythagoreanMinorSixth pythagoreanMinorSixth;
return pythagoreanMinorSixth;
}
fun static PythagoreanAugmentedFifth pythagoreanAugmentedFifth()
{
PythagoreanAugmentedFifth pythagoreanAugmentedFifth;
return pythagoreanAugmentedFifth;
}
fun static PythagoreanDiminishedSeventh pythagoreanDiminishedSeventh()
{
PythagoreanDiminishedSeventh pythagoreanDiminishedSeventh;
return pythagoreanDiminishedSeventh;
}
fun static PythagoreanMajorSixth pythagoreanMajorSixth()
{
PythagoreanMajorSixth pythagoreanMajorSixth;
return pythagoreanMajorSixth;
}
fun static PythagoreanMinorSeventh pythagoreanMinorSeventh()
{
PythagoreanMinorSeventh pythagoreanMinorSeventh;
return pythagoreanMinorSeventh;
}
fun static PythagoreanAugmentedSixth pythagoreanAugmentedSixth()
{
PythagoreanAugmentedSixth pythagoreanAugmentedSixth;
return pythagoreanAugmentedSixth;
}
fun static PythagoreanDiminishedOctave pythagoreanDiminishedOctave()
{
PythagoreanDiminishedOctave pythagoreanDiminishedOctave;
return pythagoreanDiminishedOctave;
}
fun static PythagoreanMajorSeventh pythagoreanMajorSeventh()
{
PythagoreanMajorSeventh pythagoreanMajorSeventh;
return pythagoreanMajorSeventh;
}
fun static PythagoreanAugmentedSeventh pythagoreanAugmentedSeventh()
{
PythagoreanAugmentedSeventh pythagoreanAugmentedSeventh;
return pythagoreanAugmentedSeventh;
}
fun static Tritave tritave()
{
Tritave tritave;
return tritave;
}
fun static Schisma schisma()
{
Schisma schisma;
return schisma;
}
fun static Kleisma kleisma()
{
Kleisma kleisma;
return kleisma;
}
fun static Diaschisma diaschisma()
{
Diaschisma diaschisma;
return diaschisma;
}
fun static SyntonicComma syntonicComma()
{
SyntonicComma syntonicComma;
return syntonicComma;
}
fun static EnharmonicDiesis enharmonicDiesis()
{
EnharmonicDiesis enharmonicDiesis;
return enharmonicDiesis;
}
fun static JustChromaticSemitone justChromaticSemitone()
{
JustChromaticSemitone justChromaticSemitone;
return justChromaticSemitone;
}
fun static GreaterChromaticSemitone greaterChromaticSemitone()
{
GreaterChromaticSemitone greaterChromaticSemitone;
return greaterChromaticSemitone;
}
fun static JustDiatonicSemitone justDiatonicSemitone()
{
JustDiatonicSemitone justDiatonicSemitone;
return justDiatonicSemitone;
}
fun static SemitoneMaximus semitoneMaximus()
{
SemitoneMaximus semitoneMaximus;
return semitoneMaximus;
}
fun static JustMinorTone justMinorTone()
{
JustMinorTone justMinorTone;
return justMinorTone;
}
fun static JustMinorThird justMinorThird()
{
JustMinorThird justMinorThird;
return justMinorThird;
}
fun static JustMajorThird justMajorThird()
{
JustMajorThird justMajorThird;
return justMajorThird;
}
fun static WolfFourth wolfFourth()
{
WolfFourth wolfFourth;
return wolfFourth;
}
fun static AugmentedFourth augmentedFourth()
{
AugmentedFourth augmentedFourth;
return augmentedFourth;
}
fun static WolfFifth wolfFifth()
{
WolfFifth wolfFifth;
return wolfFifth;
}
fun static JustMinorSixth justMinorSixth()
{
JustMinorSixth justMinorSixth;
return justMinorSixth;
}
fun static JustMajorSixth justMajorSixth()
{
JustMajorSixth justMajorSixth;
return justMajorSixth;
}
fun static JustMinorSeventh justMinorSeventh()
{
JustMinorSeventh justMinorSeventh;
return justMinorSeventh;
}
fun static JustMajorSeventh justMajorSeventh()
{
JustMajorSeventh justMajorSeventh;
return justMajorSeventh;
}
fun static Interval interval(float antecedent, float consequent)
{
Interval interval;
antecedent => interval.antecedent;
consequent => interval.consequent;
antecedent + ":" + consequent => interval.ratio;
return interval;
}
fun static Interval interval(float antecedent, float consequent, string ratio)
{
Interval interval;
antecedent => interval.antecedent;
consequent => interval.consequent;
ratio => interval.ratio;
return interval;
}
fun static Interval interval(float antecedent, float consequent, string ratio, string name, string description)
{
Interval interval;
antecedent => interval.antecedent;
consequent => interval.consequent;
ratio => interval.ratio;
name => interval.name;
description => interval.description;
return interval;
}
fun static Interval asc(Interval interval)
{
return ascending(interval);
}
fun static Interval ascending(Interval interval)
{
Interval ascending;
interval.antecedent => ascending.antecedent;
interval.consequent => ascending.consequent;
interval.ratio => ascending.ratio;
interval.name => ascending.name;
interval.description => ascending.description;
return ascending.asc();
}
fun static Interval desc(Interval interval)
{
return descending(interval);
}
fun static Interval descending(Interval interval)
{
Interval descending;
interval.antecedent => descending.antecedent;
interval.consequent => descending.consequent;
interval.ratio => descending.ratio;
interval.name => descending.name;
interval.description => descending.description;
return descending.desc();
}
fun static Interval inversion(Interval interval)
{
Interval inversion;
interval.antecedent => inversion.antecedent;
interval.consequent => inversion.consequent;
interval.ratio => inversion.ratio;
interval.name => inversion.name;
interval.description => inversion.description;
return inversion.inversion();
}
}
class Unison extends Interval
{
"Unison" => name;
"Unison" => description;
}
class Octave extends Interval
{
2.0 => antecedent;
"2:1" => ratio;
"Octave" => name;
"Octave or diapason" => description;
}
class Fifteenth extends Interval
{
4.0 => antecedent;
"4:1" => ratio;
"Fifteenth" => name;
"Fifteenth or two octaves" => description;
}
class MinorSecond extends Interval
{
Math.pow(2, (1.0/12.0)) => antecedent;
1 => consequent;
"2^(1/12):1" => ratio;
"MinorSecond" => name;
"Equal-tempered minor second or semitone" => description;
}
class MajorSecond extends Interval
{
Math.pow(2, (2.0/12.0)) => antecedent;
1 => consequent;
"2^(2/12):1" => ratio;
"MajorSecond" => name;
"Equal-tempered major second" => description;
}
class MinorThird extends Interval
{
Math.pow(2, (3.0/12.0)) => antecedent;
1 => consequent;
"2^(3/12):1" => ratio;
"MinorThird" => name;
"Equal-tempered minor third" => description;
}
class MajorThird extends Interval
{
Math.pow(2, (4.0/12.0)) => antecedent;
1 => consequent;
"2^(4/12):1" => ratio;
"MajorThird" => name;
"Equal-tempered major third" => description;
}
class PerfectFourth extends Interval
{
Math.pow(2, (5.0/12.0)) => antecedent;
1 => consequent;
"2^(5/12):1" => ratio;
"PerfectFourth" => name;
"Equal-tempered perfect fourth" => description;
}
class Tritone extends Interval
{
Math.pow(2, (6.0/12.0)) => antecedent;
1 => consequent;
"2^(6/12):1" => ratio;
"Tritone" => name;
"Equal-tempered tritone" => description;
}
class PerfectFifth extends Interval
{
Math.pow(2, (7.0/12.0)) => antecedent;
1 => consequent;
"2^(7/12):1" => ratio;
"PerfectFifth" => name;
"Equal-tempered perfect fifth" => description;
}
class MinorSixth extends Interval
{
Math.pow(2, (8.0/12.0)) => antecedent;
1 => consequent;
"2^(8/12):1" => ratio;
"MinorSixth" => name;
"Equal-tempered minor sixth" => description;
}
class MajorSixth extends Interval
{
Math.pow(2, (9.0/12.0)) => antecedent;
1 => consequent;
"2^(9/12):1" => ratio;
"MajorSixth" => name;
"Equal-tempered major sixth" => description;
}
class MinorSeventh extends Interval
{
Math.pow(2, (10.0/12.0)) => antecedent;
1 => consequent;
"2^(10/12):1" => ratio;
"MinorSeventh" => name;
"Equal-tempered minor seventh" => description;
}
class MajorSeventh extends Interval
{
Math.pow(2, (11.0/12.0)) => antecedent;
1 => consequent;
"2^(11/12):1" => ratio;
"MajorSeventh" => name;
"Equal-tempered major seventh" => description;
}
class MinorNinth extends Interval
{
Math.pow(2, (13.0/12.0)) => antecedent;
"2^(13/12):1" => ratio;
"MinorNinth" => name;
"Equal-tempered minor ninth, compound of octave and minor second" => description;
}
class MajorNinth extends Interval
{
Math.pow(2, (14.0/12.0)) => antecedent;
"2^(14/12):1" => ratio;
"MajorNinth" => name;
"Equal-tempered major ninth, compound of octave and major second" => description;
}
class PerfectEleventh extends Interval
{
Math.pow(2, (17.0/12.0)) => antecedent;
"2^(17/12):1" => ratio;
"PerfectEleventh" => name;
"Perfect eleventh, compound of octave and perfect fourth" => description;
}
class MinorThirteenth extends Interval
{
Math.pow(2, (21.0/12.0)) => antecedent;
"2^(21/12):1" => ratio;
"MinorThirteenth" => name;
"Equal-tempered minor thirteenth, compound of octave and minor sixth" => description;
}
class MajorThirteenth extends Interval
{
Math.pow(2, (20.0/12.0)) => antecedent;
"2^(20/12):1" => ratio;
"MajorThirteenth" => name;
"Equal-tempered major thirteenth, compound of octave and major sixth" => description;
}
class PythagoreanComma extends Interval
{
531441 => antecedent;
524288 => consequent;
"531441:524288" => ratio;
"PythagoreanComma" => name;
"Pythagorean comma" => description;
}
class PythagoreanMinorSecond extends Interval
{
256 => antecedent;
243 => consequent;
"256:243" => ratio;
"PythagoreanMinorSecond" => name;
"Pythagorean minor second, Pythagorean diatonic semitone, or Pythagorean limma" => description;
}
class PythagoreanAugmentedPrime extends Interval
{
2187 => antecedent;
2048 => consequent;
"2187:2048" => ratio;
"PythagoreanAugmentedPrime" => name;
"Pythagorean augmented prime, Pythagorean chromatic semitone, or Pythagorean apotome" => description;
}
class PythagoreanDiminishedThird extends Interval
{
65536 => antecedent;
59049 => consequent;
"65536:59049" => ratio;
"PythagoreanDiminishedThird" => name;
"Pythagorean diminished third or Pythagorean minor tone" => description;
}
class PythagoreanMajorSecond extends Interval
{
9 => antecedent;
8 => consequent;
"9:8" => ratio;
"PythagoreanMajorSecond" => name;
"Pythagorean major second, Just major tone, or tonus" => description;
}
class PythagoreanMinorThird extends Interval
{
32 => antecedent;
27 => consequent;
"32:27" => ratio;
"PythagoreanMinorThird" => name;
"Pythagorean minor third or semiditone" => description;
}
class PythagoreanAugmentedSecond extends Interval
{
19683 => antecedent;
16384 => consequent;
"19683:16384" => ratio;
"PythagoreanAugmentedSecond" => name;
"Pythagorean augmented second" => description;
}
class PythagoreanDiminishedFourth extends Interval
{
8192 => antecedent;
6561 => consequent;
"8192:6561" => ratio;
"PythagoreanDiminishedFourth" => name;
"Pythagorean diminished fourth" => description;
}
class PythagoreanMajorThird extends Interval
{
81 => antecedent;
64 => consequent;
"81:64" => ratio;
"PythagoreanMajorThird" => name;
"Pythagorean major third or ditone" => description;
}
class PythagoreanPerfectFourth extends Interval
{
4 => antecedent;
3 => consequent;
"4:3" => ratio;
"PythagoreanPerfectFourth" => name;
"Pythagorean perfect fourth, Just perfect fourth, or diatessaron" => description;
}
class PythagoreanAugmentedThird extends Interval
{
177147 => antecedent;
131072 => consequent;
"177147:131072" => ratio;
"PythagoreanAugmentedThird" => name;
"Pythagorean augmented third (F+ (pitch))" => description;
}
class PythagoreanDiminishedFifth extends Interval
{
1024 => antecedent;
729 => consequent;
"1024:729" => ratio;
"PythagoreanDiminishedFifth" => name;
"Pythagorean diminished fifth" => description;
}
class JustAugmentedFourth extends Interval
{
45 => antecedent;
32 => consequent;
"45:32" => ratio;
"JustAugmentedFourth" => name;
"Just augmented fourth (F#+)" => description;
}
class PythagoreanAugmentedFourth extends Interval
{
729 => antecedent;
512 => consequent;
"729:512" => ratio;
"PythagoreanAugmentedFourth" => name;
"Pythagorean augmented fourth (F#++)" => description;
}
class PythagoreanDiminishedSixth extends Interval
{
262144 => antecedent;
177147 => consequent;
"262144:177147" => ratio;
"PythagoreanDiminishedSixth" => name;
"Pythagorean diminished sixth" => description;
}
class PythagoreanPerfectFifth extends Interval
{
3 => antecedent;
2 => consequent;
"3:2" => ratio;
"PythagoreanPerfectFifth" => name;
"Pythagorean perfect fifth, Just perfect fifth, or diapente" => description;
}
class PythagoreanMinorSixth extends Interval
{
128 => antecedent;
81 => consequent;
"128:81" => ratio;
"PythagoreanMinorSixth" => name;
"Pythagorean minor sixth" => description;
}
class PythagoreanAugmentedFifth extends Interval
{
6561 => antecedent;
4096 => consequent;
"6561:4096" => ratio;
"PythagoreanAugmentedFifth" => name;
"Pythagorean augmented fifth" => description;
}
class PythagoreanDiminishedSeventh extends Interval
{
32768 => antecedent;
19683 => consequent;
"32768:19683" => ratio;
"PythagoreanDiminishedSeventh" => name;
"Pythagorean diminished seventh" => description;
}
class PythagoreanMajorSixth extends Interval
{
27 => antecedent;
16 => consequent;
"27:16" => ratio;
"PythagoreanMajorSixth" => name;
"Pythagorean major sixth" => description;
}
class PythagoreanMinorSeventh extends Interval
{
16 => antecedent;
9 => consequent;
"16:9" => ratio;
"PythagoreanMinorSeventh" => name;
"Pythagorean minor seventh or Lesser just minor seventh" => description;
}
class PythagoreanAugmentedSixth extends Interval
{
59049 => antecedent;
32768 => consequent;
"59049:32768" => ratio;
"PythagoreanAugmentedSixth" => name;
"Pythagorean augmented sixth" => description;
}
class PythagoreanDiminishedOctave extends Interval
{
4096 => antecedent;
2187 => consequent;
"4096:2187" => ratio;
"PythagoreanDiminishedOctave" => name;
"Pythagorean diminished octave" => description;
}
class PythagoreanMajorSeventh extends Interval
{
243 => antecedent;
128 => consequent;
"243:128" => ratio;
"PythagoreanMajorSeventh" => name;
"Pythagorean major seventh" => description;
}
class PythagoreanAugmentedSeventh extends Interval
{
531441 => antecedent;
262144 => consequent;
"531441:262144" => ratio;
"PythagoreanAugmentedSeventh" => name;
"Pythagorean augmented seventh" => description;
}
class Tritave extends Interval
{
3 => antecedent;
1 => consequent;
"3:1" => ratio;
"Tritave" => name;
"Tritave or just perfect twelfth" => description;
}
class Schisma extends Interval
{
32805 => antecedent;
32768 => consequent;
"32805:32768" => ratio;
"Schisma" => name;
"Schisma" => description;
}
class Kleisma extends Interval
{
15625 => antecedent;
15552 => consequent;
"15625:15552" => ratio;
"Kleisma" => name;
"Kleisma" => description;
}
class Diaschisma extends Interval
{
2048 => antecedent;
2025 => consequent;
"2048:2025" => ratio;
"Diaschisma" => name;
"Diaschisma or minor comma" => description;
}
class SyntonicComma extends Interval
{
81 => antecedent;
80 => consequent;
"81:80" => ratio;
"SyntonicComma" => name;
"Syntonic comma, major comma, komma, chromatic diesis, or comma of Didymus" => description;
}
class EnharmonicDiesis extends Interval
{
128 => antecedent;
125 => consequent;
"128:125" => ratio;
"EnharmonicDiesis" => name;
"Enharmonic (5-limit) Diesis or Limma" => description;
}
class JustChromaticSemitone extends Interval
{
25 => antecedent;
24 => consequent;
"25:24" => ratio;
"JustChromaticSemitone" => name;
"Just chromatic semitone, lesser chromatic semitone, or minor semitone" => description;
}
class GreaterChromaticSemitone extends Interval
{
135 => antecedent;
128 => consequent;
"135:128" => ratio;
"GreaterChromaticSemitone" => name;
"Greater chromatic semitone, chromatic semitone, semitone medius" => description;
}
class JustDiatonicSemitone extends Interval
{
16 => antecedent;
15 => consequent;
"16:15" => ratio;
"JustDiatonicSemitone" => name;
"Just diatonic semitone, major semitone, or limma" => description;
}
class SemitoneMaximus extends Interval
{
27 => antecedent;
25 => consequent;
"27:25" => ratio;
"SemitoneMaximus" => name;
"Minor second or semitone Maximus" => description;
}
class JustMinorTone extends Interval
{
10 => antecedent;
9 => consequent;
"10:9" => ratio;
"JustMinorTone" => name;
"Just minor tone" => description;
}
class JustMinorThird extends Interval
{
6 => antecedent;
5 => consequent;
"6:5" => ratio;
"JustMinorThird" => name;
"Just minor third" => description;
}
class JustMajorThird extends Interval
{
5 => antecedent;
4 => consequent;
"5:4" => ratio;
"JustMajorThird" => name;
"Just major third" => description;
}
class WolfFourth extends Interval
{
27 => antecedent;
20 => consequent;
"27:20" => ratio;
"WolfFourth" => name;
"5-limit wolf fourth" => description;
}
class AugmentedFourth extends Interval
{
25 => antecedent;
18 => consequent;
"25:18" => ratio;
"AugmentedFourth" => name;