Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SatyrDiamond committed Sep 10, 2023
1 parent 87b4efb commit db873df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin_output/wavtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,11 @@ def parse(self, convproj_json, output_file):
if stretch_algorithm == 'resample':
if stretch_method == 'rate_speed': transpose = (math.log2(stretch_rate)*12)
if stretch_method == 'rate_tempo': transpose = (math.log2(stretch_rate*bpmmul)*12)
if stretch_method == 'rate_ignoretempo': transpose = (math.log2(stretch_rate)*12)
else:
if stretch_method == 'rate_speed': warprate = (stretch_rate)
if stretch_method == 'rate_tempo': warprate = (stretch_rate*bpmmul)
if stretch_method == 'rate_ignoretempo': warprate = (stretch_rate)
audiodata = audio.get_audiofile_info(audiofilename)
dur_seconds = audiodata['dur_sec']*warprate
warpdata = {}
Expand Down

0 comments on commit db873df

Please sign in to comment.