fix
This commit is contained in:
parent
8ad6672ed6
commit
9a98dd08b0
1 changed files with 2 additions and 3 deletions
|
@ -130,9 +130,8 @@ def convert_placementdata(rpp_trackdata, trackplacements, cliptype, track_uuid):
|
|||
if 'audiomod' in trackplacement_data:
|
||||
audiomoddata = trackplacement_data['audiomod']
|
||||
#print(audiomoddata)
|
||||
if 'pitch' in audiomoddata: pitch = audiomoddata['pitch']
|
||||
|
||||
stretch_algorithm = audiomoddata['stretch_algorithm']
|
||||
pitch = audiomoddata['pitch'] if 'pitch' in audiomoddata else 0
|
||||
stretch_algorithm = audiomoddata['stretch_algorithm'] if 'stretch_algorithm' in audiomoddata else 'stretch'
|
||||
|
||||
if stretch_algorithm != 'resample': preserve_pitch = 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue