I need to change the playback rate of a bunch of clips to 90%. They are originally from Super 8 (with sound) film captured at the wrong frame rate (20fps instead of 18fps).
I have everything working okay except I can't find the property for the AudioEvent class that let's you lock the pitch change to the stretch. To see what I'm talking about, right click on an audio event in the timeline and go to the properties. Select "Classic" under the "Time stretch / pitch shift" method. You'll then see the "Pitch change: " lock to stretch checkbox that I need to set to true.
Here's the bit from my code to stretch the audio event:
audioEvent.Loop = false;
audioEvent.Normalize = true;
audioEvent.PlaybackRate = .9;
audioEvent.Length = NewClipLen_TC;
Is there a .PitchChange or .LockToStretch property? I can't find anything in the API about one, but I hope it exists so I can lower the pitch and make these people from the 70's sound less like chipmonks!
Any help is greatly appreciated!!
I have everything working okay except I can't find the property for the AudioEvent class that let's you lock the pitch change to the stretch. To see what I'm talking about, right click on an audio event in the timeline and go to the properties. Select "Classic" under the "Time stretch / pitch shift" method. You'll then see the "Pitch change: " lock to stretch checkbox that I need to set to true.
Here's the bit from my code to stretch the audio event:
audioEvent.Loop = false;
audioEvent.Normalize = true;
audioEvent.PlaybackRate = .9;
audioEvent.Length = NewClipLen_TC;
Is there a .PitchChange or .LockToStretch property? I can't find anything in the API about one, but I hope it exists so I can lower the pitch and make these people from the 70's sound less like chipmonks!
Any help is greatly appreciated!!