Skip to content

Commit 900ea70

Browse files
committed
ABC assist improvements
1 parent ecac254 commit 900ea70

File tree

7 files changed

+420
-287
lines changed

7 files changed

+420
-287
lines changed

abc_context.py

+4
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ def previous_line(self):
155155
def previous_character(self):
156156
return self.get_scope_info(TuneScope.PreviousCharacter).text
157157

158+
@property
159+
def tune_header(self):
160+
return self.get_scope_info(TuneScope.TuneHeader).text
161+
158162
@property
159163
def tune_body(self):
160164
return self.get_scope_info(TuneScope.TuneBody).text

fluidsynth.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ def b(s):
3737
fluidsynth_lib_path += '\\X86'
3838

3939
append_to_envpath(fluidsynth_lib_path)
40-
lib = fluidsynth_lib_path + '\\libfluidsynth-2.dll'
40+
lib = fluidsynth_lib_path + '\\libfluidsynth-3.dll'
41+
if not os.path.isfile(lib):
42+
lib = fluidsynth_lib_path + '\\libfluidsynth-2.dll'
4143
else:
4244
lib = 'libfluidsynth.so.2'
4345

0 commit comments

Comments
 (0)