Exemple #1
0
def console(env):
    try:
        console = MusicConsole(env)
        console.interact()
    except KeyboardInterrupt:
        midi.panic()
        print("See ya!")
Exemple #2
0
def console(env):
    try:
        console = MusicConsole(env)
        console.interact()
    except KeyboardInterrupt:
        midi.panic()
        print("See ya!")
Exemple #3
0
def goof_around(env, drums=False):
    try:
        return midi.playe(ev_goof_around(env, drums=drums))
    except KeyboardInterrupt:
        print("Bye!")
        midi.panic()
Exemple #4
0
def goof_around(env, drums=False):
    try:
        return midi.playe(ev_goof_around(env, drums=drums))
    except KeyboardInterrupt:
        print("Bye!")
        midi.panic()