File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ class AcepAudioPattern(AcepPattern):
274
274
@classmethod
275
275
def validate_path (cls , path : str , info : ValidationInfo ) -> str :
276
276
audio_path = pathlib .Path (path )
277
- if not audio_path .is_absolute ():
277
+ if not audio_path .is_absolute () and info . context is not None :
278
278
project_path : Optional [pathlib .Path ]
279
279
if (project_path := info .context .get ("path" )) and not hasattr (project_path , "protocol" ):
280
280
audio_path = (project_path .parent / path ).resolve ()
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ class SynthVEditorParser:
52
52
vibrato_coef_interval_dict : PiecewiseIntervalDict = dataclasses .field (init = False )
53
53
54
54
def parse_project (self , s5p_project : S5pProject ) -> Project :
55
- tempo_list = self .parse_tempos (s5p_project .tempo )
56
55
time_signature_list = self .parse_time_signatures (s5p_project .meter )
57
56
self .first_bar_length = round (time_signature_list [0 ].bar_length ())
57
+ tempo_list = self .parse_tempos (s5p_project .tempo )
58
58
self .synchronizer = TimeSynchronizer (tempo_list )
59
59
track_list = self .parse_singing_tracks (s5p_project .tracks )
60
60
if self .options .import_instrumental_track and s5p_project .instrumental .filename :
You can’t perform that action at this time.
0 commit comments