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