SYMBOL INDEX (168 symbols across 14 files) FILE: examples/pychord-midi.py function create_midi (line 11) | def create_midi(chords): function main (line 25) | def main(): FILE: pychord/analyzer.py function find_chords_from_notes (line 6) | def find_chords_from_notes(notes: list[str]) -> list[Chord]: function notes_to_positions (line 34) | def notes_to_positions(notes: list[str], root: str) -> list[int]: function get_all_rotated_notes (line 56) | def get_all_rotated_notes(notes: list[str]) -> list[list[str]]: FILE: pychord/chord.py class Chord (line 9) | class Chord: method __init__ (line 16) | def __init__(self, chord: str) -> None: method __str__ (line 23) | def __str__(self) -> str: method __repr__ (line 26) | def __repr__(self) -> str: method __eq__ (line 29) | def __eq__(self, other: Any) -> bool: method from_note_index (line 52) | def from_note_index( method chord (line 129) | def chord(self) -> str: method root (line 136) | def root(self) -> str: method quality (line 143) | def quality(self) -> Quality: method on (line 150) | def on(self) -> str: method info (line 156) | def info(self) -> str: method transpose (line 165) | def transpose(self, trans: int, scale: str = "C") -> None: method components (line 180) | def components(self, visible: Literal[True]) -> list[str]: ... method components (line 183) | def components(self, visible: Literal[False]) -> list[int]: ... method components (line 185) | def components(self, visible: bool = True) -> list[str] | list[int]: method components_with_pitch (line 207) | def components_with_pitch(self, root_pitch: int) -> list[str]: method _reconfigure_chord (line 219) | def _reconfigure_chord(self) -> None: FILE: pychord/parser.py function _check_mode (line 12) | def _check_mode(mode: str) -> None: function _check_note (line 18) | def _check_note(note: str) -> None: function parse (line 24) | def parse(chord: str) -> tuple[str, Quality, str]: function parse_scale (line 61) | def parse_scale(scale: str) -> tuple[str, str]: FILE: pychord/progression.py class ChordProgression (line 6) | class ChordProgression: method __init__ (line 13) | def __init__( method __str__ (line 28) | def __str__(self) -> str: method __repr__ (line 31) | def __repr__(self) -> str: method __add__ (line 34) | def __add__(self, other: "ChordProgression") -> "ChordProgression": method __len__ (line 37) | def __len__(self) -> int: method __getitem__ (line 40) | def __getitem__(self, key: int) -> Chord: method __setitem__ (line 43) | def __setitem__(self, key: int, value: Chord) -> None: method __eq__ (line 46) | def __eq__(self, other: Any) -> bool: method chords (line 54) | def chords(self) -> list[Chord]: method append (line 60) | def append(self, chord: str | Chord) -> None: method insert (line 68) | def insert(self, index: int, chord: str | Chord) -> None: method pop (line 77) | def pop(self, index: int = -1) -> Chord: method transpose (line 85) | def transpose(self, trans: int) -> None: method _as_chord (line 95) | def _as_chord(chord: str | Chord) -> Chord: FILE: pychord/quality.py class Quality (line 11) | class Quality: method __init__ (line 24) | def __init__(self, name: str, intervals: tuple[str, ...]) -> None: method __str__ (line 28) | def __str__(self) -> str: method __eq__ (line 31) | def __eq__(self, other: Any) -> bool: method components (line 37) | def components(self) -> tuple[int, ...]: method intervals (line 41) | def intervals(self) -> list[str]: method quality (line 48) | def quality(self) -> str: method get_components (line 55) | def get_components(self, root: str, visible: Literal[True]) -> list[st... method get_components (line 58) | def get_components(self, root: str, visible: Literal[False]) -> list[i... method get_components (line 61) | def get_components(self, root: str, visible: bool) -> list[str] | list... method get_components (line 63) | def get_components( class QualityManager (line 80) | class QualityManager: method __new__ (line 85) | def __new__(cls) -> "QualityManager": method load_default_qualities (line 91) | def load_default_qualities(self) -> None: method get_quality (line 94) | def get_quality(self, name: str, inversion: int = 0) -> Quality: method get_qualities (line 108) | def get_qualities(self) -> dict[str, Quality]: method set_quality (line 111) | def set_quality(self, name: str, intervals: tuple[str, ...]) -> None: method find_quality_from_components (line 122) | def find_quality_from_components(self, components: list[int]) -> Quali... function _apply_interval_to_note (line 134) | def _apply_interval_to_note(root: str, interval: str) -> str: function _get_interval_pitch (line 148) | def _get_interval_pitch(interval: str) -> int: function _parse_interval (line 160) | def _parse_interval(interval: str) -> tuple[str, int]: function scale_notes (line 169) | def scale_notes(root: str, mode: str) -> list[str]: FILE: pychord/utils.py function augment (line 4) | def augment(note: str) -> str: function diminish (line 14) | def diminish(note: str) -> str: function note_to_val (line 24) | def note_to_val(note: str) -> int: function transpose_note (line 44) | def transpose_note(note: str, transpose: int, scale: str = "C") -> str: FILE: test/test_analyzer.py class TestNotesToPositions (line 11) | class TestNotesToPositions(unittest.TestCase): method test_notes_to_positions (line 12) | def test_notes_to_positions(self): class TestGetAllRotatedNotes (line 27) | class TestGetAllRotatedNotes(unittest.TestCase): method test_get_all_rotated_notes (line 28) | def test_get_all_rotated_notes(self): class TestFindChordsFromNotes (line 37) | class TestFindChordsFromNotes(unittest.TestCase): method test_empty (line 38) | def test_empty(self): method test_find_chords_from_notes (line 42) | def test_find_chords_from_notes(self): method test_idempotence (line 67) | def test_idempotence(self): FILE: test/test_chord.py class TestChordCreations (line 6) | class TestChordCreations(unittest.TestCase): method test_chord_creation (line 7) | def test_chord_creation(self): method test_invalid_chord (line 21) | def test_invalid_chord(self): method test_slash_chord (line 35) | def test_slash_chord(self): method test_invalid_slash_chord (line 46) | def test_invalid_slash_chord(self): method test_inversion (line 49) | def test_inversion(self): method test_eq (line 62) | def test_eq(self): method test_eq_quality_alias (line 66) | def test_eq_quality_alias(self): method test_eq_root_alias (line 69) | def test_eq_root_alias(self): method test_eq_invalid (line 72) | def test_eq_invalid(self): method test_eq_different_root (line 76) | def test_eq_different_root(self): method test_eq_different_quality (line 79) | def test_eq_different_quality(self): method test_eq_different_on (line 82) | def test_eq_different_on(self): method test_components (line 87) | def test_components(self): method test_info (line 93) | def test_info(self): class TestChordFromNoteIndex (line 115) | class TestChordFromNoteIndex(unittest.TestCase): method test_from_note_index (line 116) | def test_from_note_index(self): method test_from_note_index_with_chromatic (line 127) | def test_from_note_index_with_chromatic(self): method test_invalid_note_index (line 140) | def test_invalid_note_index(self): method test_invalid_scale (line 150) | def test_invalid_scale(self): method test_diatonic_from_note_index (line 160) | def test_diatonic_from_note_index(self): method test_diatonic_note_non_generic (line 173) | def test_diatonic_note_non_generic(self): FILE: test/test_component.py class TestChordComponent (line 6) | class TestChordComponent(unittest.TestCase): method test_chord_components (line 7) | def test_chord_components(self): method test_major_add9 (line 86) | def test_major_add9(self): method test_too_many_accidentals (line 97) | def test_too_many_accidentals(self): class TestChordComponentWithPitch (line 116) | class TestChordComponentWithPitch(unittest.TestCase): method test_basic_chords_with_pitch (line 117) | def test_basic_chords_with_pitch(self): method test_first_order_inversion (line 133) | def test_first_order_inversion(self): method test_second_order_inversion (line 141) | def test_second_order_inversion(self): method test_third_order_inversion (line 149) | def test_third_order_inversion(self): method test_fourth_order_inversion (line 160) | def test_fourth_order_inversion(self): method test_fifth_order_inversion (line 168) | def test_fifth_order_inversion(self): FILE: test/test_progression.py class TestChordProgressionCreations (line 6) | class TestChordProgressionCreations(unittest.TestCase): method test_none (line 7) | def test_none(self): method test_one_chord (line 13) | def test_one_chord(self): method test_one_chord_str (line 20) | def test_one_chord_str(self): method test_one_chord_invalid_type (line 27) | def test_one_chord_invalid_type(self): method test_one_chord_list (line 31) | def test_one_chord_list(self): method test_one_chord_list_str (line 36) | def test_one_chord_list_str(self): method test_one_chord_list_invalid_type (line 43) | def test_one_chord_list_invalid_type(self): method test_multiple_chords (line 47) | def test_multiple_chords(self): method test_multiple_chords_str (line 55) | def test_multiple_chords_str(self): class TestChordProgressionFunctions (line 64) | class TestChordProgressionFunctions(unittest.TestCase): method test_append (line 65) | def test_append(self): method test_insert (line 71) | def test_insert(self): method test_pop (line 77) | def test_pop(self): method test_transpose (line 83) | def test_transpose(self): method test_add (line 88) | def test_add(self): method test_self_add (line 101) | def test_self_add(self): method test_get_item (line 110) | def test_get_item(self): method test_set_item (line 116) | def test_set_item(self): method test_slice (line 124) | def test_slice(self): method test_eq (line 130) | def test_eq(self): method test_invalid_eq (line 136) | def test_invalid_eq(self): FILE: test/test_quality.py class TestQuality (line 8) | class TestQuality(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_eq (line 12) | def test_eq(self): method test_eq_alias_maj9 (line 17) | def test_eq_alias_maj9(self): method test_eq_alias_m7b5 (line 22) | def test_eq_alias_m7b5(self): method test_eq_alias_min (line 27) | def test_eq_alias_min(self): method test_invalid_eq (line 34) | def test_invalid_eq(self): method subtest_quality_synonym (line 39) | def subtest_quality_synonym(self, a, b): method test_maj_synonyms (line 45) | def test_maj_synonyms(self): method test_properties (line 54) | def test_properties(self): class TestQualityManager (line 61) | class TestQualityManager(unittest.TestCase): method test_singleton (line 62) | def test_singleton(self): class TestOverwriteQuality (line 68) | class TestOverwriteQuality(unittest.TestCase): method setUp (line 69) | def setUp(self): method tearDown (line 72) | def tearDown(self): method test_overwrite (line 75) | def test_overwrite(self): method test_find_from_components (line 81) | def test_find_from_components(self): method test_keep_existing_chord (line 87) | def test_keep_existing_chord(self): class TestIterateQualities (line 94) | class TestIterateQualities(unittest.TestCase): method setUp (line 95) | def setUp(self): method tearDown (line 98) | def tearDown(self): method test_iterate_qualities (line 101) | def test_iterate_qualities(self): method test_immutable_qualities (line 104) | def test_immutable_qualities(self): method test_iterate_added_qualities (line 111) | def test_iterate_added_qualities(self): FILE: test/test_transpose.py class TestChordTranspose (line 6) | class TestChordTranspose(unittest.TestCase): method test_transpose_zero (line 7) | def test_transpose_zero(self): method test_transpose_positive (line 14) | def test_transpose_positive(self): method test_transpose_negative (line 21) | def test_transpose_negative(self): method test_transpose_slash (line 28) | def test_transpose_slash(self): method test_transpose_inversion (line 38) | def test_transpose_inversion(self): method test_invalid_transpose_type (line 44) | def test_invalid_transpose_type(self): method test_transpose_eq1 (line 48) | def test_transpose_eq1(self): method test_transpose_eq2 (line 54) | def test_transpose_eq2(self): FILE: test/test_utils.py class TestUtils (line 6) | class TestUtils(unittest.TestCase): method test_augment (line 7) | def test_augment(self): method test_diminish (line 12) | def test_diminish(self): method test_note_to_val (line 17) | def test_note_to_val(self): method test_note_to_val_invalid (line 20) | def test_note_to_val_invalid(self):