You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
564 B
24 lines
564 B
#!/usr/bin/env python3
|
|
"""
|
|
Simple startup script for the MIDI Arpeggiator application.
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
# Add the project root to Python path
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
# Import and run the main application
|
|
from main import ArpeggiatorApp
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
app = ArpeggiatorApp()
|
|
sys.exit(app.run())
|
|
except KeyboardInterrupt:
|
|
print("\nApplication interrupted by user")
|
|
sys.exit(0)
|
|
except Exception as e:
|
|
print(f"Fatal error: {e}")
|
|
sys.exit(1)
|