示例#1
0
def majchord(note):
    root = notes.con_note(note)
    first = root
    third = root + 4
    fifth = root + 7
    print(notes.num_to_note(first), notes.num_to_note(third),
          notes.num_to_note(fifth))
示例#2
0
def minchord(note):
    root = notes.con_note(note.upper())
    first = root
    third = root + 3
    fifth = root + 7
    print(notes.num_to_note(first), notes.num_to_note(third),
          notes.num_to_note(fifth))
示例#3
0
def seventh(note):
    root = notes.con_note(note.upper())
    first = root
    third = root + 4
    fifth = root + 7
    seventh = root + 11
    print(notes.num_to_note(first), notes.num_to_note(third),
          notes.num_to_note(fifth), notes.num_to_note(seventh))
示例#4
0
import notes


start = input("Enter Starting Note: \n")

s = start.upper()

root = notes.con_note(s)
# print(root)
# root = int(root)

first = root
third = root + 4
fifth = root + 7
seventh = root + 11

# print(first, third, fifth)

print (notes.num_to_note(first), notes.num_to_note(third), notes.num_to_note(fifth), notes.num_to_note(seventh))
示例#5
0
import config
import notes

start = input("Enter Starting Note: \n")

s = start.upper()

root = notes.con_note(s)
# print(root)
# root = int(root)

first = root
third = root + 3
fifth = root + 7

# print(first, third, fifth)

print(notes.num_to_note(first), notes.num_to_note(third),
      notes.num_to_note(fifth))