mutwo.music_generators

mutwo.music_generators.constants

TUNEABLE_INTERVAL_TO_DIFFICULTY_DICT = {(): 0, (-3, 0, 0, 0, 0, 0, 0, 0, 1): 1, (-3, 0, 0, 0, 0, 0, 0, 1): 2, (-3, 0, 0, 0, 0, 1): 1, (-3, 0, 0, 0, 1): 2, (-3, 0, 2): 2, (-3, 1, 1): 2, (-3, 3): 2, (-2, -1, 0, 0, 0, 0, 0, 0, 1): 2, (-2, 0, 0, 0, 0, 0, 0, 0, 1): 1, (-2, 0, 0, 0, 0, 0, 0, 1): 1, (-2, 0, 0, 0, 0, 0, 1): 1, (-2, 0, 0, 0, 0, 1): 0, (-2, 0, 0, 0, 1): 0, (-2, 0, 0, 1): 0, (-2, 0, 1): 0, (-2, 0, 2): 1, (-2, 1, 0, 1): 1, (-2, 1, 1): 0, (-2, 2): 0, (-2, 3): 2, (-1, -1, 0, 0, 0, 0, 0, 0, 1): 2, (-1, -1, 0, 0, 0, 0, 0, 1): 2, (-1, -1, 0, 0, 0, 0, 1): 1, (-1, -1, 0, 0, 0, 1): 1, (-1, -1, 0, 0, 1): 1, (-1, -1, 0, 1): 0, (-1, -1, 2): 2, (-1, 0, -1, 0, 0, 1): 1, (-1, 0, 0, 0, 0, 1): 0, (-1, 0, 0, 0, 1): 0, (-1, 0, 0, 1): 0, (-1, 0, 1): 0, (-1, 1): 0, (-1, 1, 1): 0, (-1, 2): 0, (0, -2, 0, 0, 0, 1): 2, (0, -2, 0, 0, 1): 2, (0, -1, 0, 0, 0, 0, 0, 0, 1): 0, (0, -1, 0, 0, 0, 0, 0, 1): 0, (0, -1, 0, 0, 0, 0, 1): 0, (0, -1, 0, 0, 0, 1): 0, (0, -1, 0, 0, 1): 0, (0, -1, 0, 1): 0, (0, -1, 1): 0, (0, 0, -1, 0, 0, 0, 0, 0, 1): 1, (0, 0, -1, 0, 0, 0, 0, 1): 1, (0, 0, -1, 0, 0, 0, 1): 1, (0, 0, -1, 0, 0, 1): 1, (0, 0, -1, 0, 1): 1, (0, 0, -1, 1): 0, (0, 0, 0, -1, 0, 0, 1): 1, (0, 0, 0, -1, 0, 1): 1, (0, 0, 0, -1, 1): 1, (0, 0, 0, 1): 0, (0, 0, 1): 0, (0, 1): 0, (0, 1, -1, 1): 2, (0, 2, -1): 0, (0, 2, 0, -1): 0, (0, 3, 0, -1): 2, (1,): 0, (1, -2, 0, 1): 2, (1, -1, 0, 0, 1): 0, (1, -1, 0, 1): 0, (1, -1, 1): 0, (1, 0, -1, 0, 0, 1): 2, (1, 0, -1, 0, 1): 2, (1, 0, -1, 1): 0, (1, 0, 0, -1, 1): 2, (1, 0, 1, -1): 1, (1, 1): 0, (1, 1, -1): 0, (1, 2, -1): 0, (1, 2, 0, -1): 1, (2,): 0, (2, -2, 0, 1): 2, (2, -1): 0, (2, -1, 1): 0, (2, 0, -1, 1): 1, (2, 0, 1, -1): 1, (2, 1, -1): 0, (2, 1, 0, -1): 1, (3,): 0, (3, -1): 0, (3, 0, -1): 0, (3, 0, 0, -1): 1, (3, 1, -1): 1, (3, 1, 0, -1): 2, (4, -1): 0, (4, 0, -1): 0, (4, 0, 0, 0, -1): 2}

Tuneable Just Intonation Intervals sorted by difficulty, according to Marc Sabat.

TUNEABLE_INTERVAL_TUPLE = (JustIntonationPitch('1/1'), JustIntonationPitch('8/7'), JustIntonationPitch('7/6'), JustIntonationPitch('6/5'), JustIntonationPitch('11/9'), JustIntonationPitch('5/4'), JustIntonationPitch('9/7'), JustIntonationPitch('13/10'), JustIntonationPitch('4/3'), JustIntonationPitch('11/8'), JustIntonationPitch('7/5'), JustIntonationPitch('10/7'), JustIntonationPitch('13/9'), JustIntonationPitch('16/11'), JustIntonationPitch('3/2'), JustIntonationPitch('14/9'), JustIntonationPitch('11/7'), JustIntonationPitch('8/5'), JustIntonationPitch('13/8'), JustIntonationPitch('5/3'), JustIntonationPitch('12/7'), JustIntonationPitch('7/4'), JustIntonationPitch('9/5'), JustIntonationPitch('11/6'), JustIntonationPitch('13/7'), JustIntonationPitch('15/8'), JustIntonationPitch('23/12'), JustIntonationPitch('2/1'), JustIntonationPitch('13/6'), JustIntonationPitch('11/5'), JustIntonationPitch('9/4'), JustIntonationPitch('7/3'), JustIntonationPitch('19/8'), JustIntonationPitch('12/5'), JustIntonationPitch('17/7'), JustIntonationPitch('5/2'), JustIntonationPitch('18/7'), JustIntonationPitch('13/5'), JustIntonationPitch('8/3'), JustIntonationPitch('11/4'), JustIntonationPitch('14/5'), JustIntonationPitch('17/6'), JustIntonationPitch('20/7'), JustIntonationPitch('23/8'), JustIntonationPitch('3/1'), JustIntonationPitch('28/9'), JustIntonationPitch('25/8'), JustIntonationPitch('22/7'), JustIntonationPitch('19/6'), JustIntonationPitch('16/5'), JustIntonationPitch('13/4'), JustIntonationPitch('10/3'), JustIntonationPitch('27/8'), JustIntonationPitch('17/5'), JustIntonationPitch('24/7'), JustIntonationPitch('7/2'), JustIntonationPitch('18/5'), JustIntonationPitch('11/3'), JustIntonationPitch('15/4'), JustIntonationPitch('19/5'), JustIntonationPitch('23/6'), JustIntonationPitch('27/7'), JustIntonationPitch('4/1'), JustIntonationPitch('25/6'), JustIntonationPitch('21/5'), JustIntonationPitch('17/4'), JustIntonationPitch('13/3'), JustIntonationPitch('22/5'), JustIntonationPitch('9/2'), JustIntonationPitch('23/5'), JustIntonationPitch('14/3'), JustIntonationPitch('19/4'), JustIntonationPitch('24/5'), JustIntonationPitch('5/1'), JustIntonationPitch('26/5'), JustIntonationPitch('21/4'), JustIntonationPitch('16/3'), JustIntonationPitch('11/2'), JustIntonationPitch('28/5'), JustIntonationPitch('17/3'), JustIntonationPitch('23/4'), JustIntonationPitch('6/1'), JustIntonationPitch('25/4'), JustIntonationPitch('19/3'), JustIntonationPitch('13/2'), JustIntonationPitch('20/3'), JustIntonationPitch('27/4'), JustIntonationPitch('7/1'), JustIntonationPitch('22/3'), JustIntonationPitch('15/2'), JustIntonationPitch('23/3'), JustIntonationPitch('8/1'))

Tuneable Just Intonation Intervals according to Marc Sabat.