Skip to content

Commit 02bde3b

Browse files
committed
Merge branch 'dev'
2 parents 5c17367 + b57fd51 commit 02bde3b

File tree

9 files changed

+530
-245
lines changed

9 files changed

+530
-245
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ test.py
55
midimech.spec
66
build/
77
dist/
8+
.idea/

midimech.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010

1111
from src.util import *
1212
from src.constants import *
13-
from src.options import Options
1413
from src.note import Note
1514
from src.settings import DeviceSettings
1615
from src.core import Core
1716
from src.gamepad import Gamepad
1817

18+
# suppress pygame messages to keep console clean
1919
with open(os.devnull, "w") as devnull:
20-
# suppress pygame messages
2120
stdout = sys.stdout
2221
sys.stdout = devnull
2322
import pygame, pygame.midi, pygame.gfxdraw
2423

2524
sys.stdout = stdout
2625
import pygame_gui
2726

27+
# pymsgbox crashes on Mac, so we can't use this right now
2828
# try:
2929
# import pymsgbox
3030
# except ImportError:
@@ -52,9 +52,6 @@
5252
error("The project dependencies have changed! Run the requirements setup command again!")
5353

5454

55-
DEFAULT_OPTIONS = Options()
56-
57-
5855
def main():
5956
core = None
6057
try:

scales.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
- Minor Pentatonic
1919
- name: Blues
2020
notes: 'x..x.xxx..x.'
21+
modes:
22+
- Minor Blues
23+
- Major Blues
2124
- name: Melodic Minor
2225
notes: 'x.xx.x.x.x.x'
2326
modes:

settings.ini.example

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
; Rename this file to settings.ini to apply settings.
2+
; Uncomment options and change them to customize look and behavior.
3+
14
[general]
2-
velocity_curve=1.0
3-
min_velocity=0
4-
max_velocity=127
55
size=128
6-
midi_out=midimech
7-
split_out=split
8-
fps=60
9-
split=false
6+
;velocity_curve=1.0
7+
;lights=1,9,9,2,2,3,3,5,8,8,11,11
8+
;split_lights=4,7,5,7,5,5,7,5,7,5,7,5
9+
;colors=red,darkred,orange,goldenrod,yellow,green,darkolivegreen,blue,darkslateblue,indigo,darkorchid,pink
10+
;split_colors=cyan,blue,blue,blue,blue,blue,blue,blue,blue,blue,blue,blue
11+
;mark_light=1
12+
;mark_color=red
13+
;one_channel=0
14+
;lite=false

0 commit comments

Comments
 (0)