Velocity envelopes for audio?

Xander wrote on 10/25/2007, 4:49 PM
I have a clip that I want to speed up 300% for the start, then slow back down to normal speed in the middle and then back up to 300% for the end. The velocity envelope does fine with the video, but how to I do the same with the audio? Guess it should sound like a music casette did, back in those days, when fast forwarded.


Terry Esslinger wrote on 10/25/2007, 5:14 PM
I guess you used the velocity envelope to change the speed of the video.

If you would Cntrl-drag the right side of the video event and have the video and audio grouped they would both be speeded the same. In preferences there is a setting for keeping the tone about the same or not (Alvin or not)
xberk wrote on 10/25/2007, 5:23 PM
TO speed up the audio the simple thing is to press the Ctrl key and while holding that down grab the end of the audio and squeeze it into a smaller length to match the video that is sped up. This will some what produce the effect you looking for .. Not sure this will work too smoothly without cross fading several tracks to get the audio back to normal and then sped up again .. some one else may have done this and might have better idea..

Paul B .. PCI Express Video Card: EVGA VCX 10G-P5-3885-KL GeForce RTX 3080 XC3 ULTRA ,,  Intel Core i9-11900K Desktop Processor ,,  MSI Z590-A PRO Desktop Motherboard LGA-1200 ,, 64GB (2X32GB) XPG GAMMIX D45 DDR4 3200MHz 288-Pin SDRAM PC4-25600 Memory .. Seasonic Power Supply SSR-1000FX Focus Plus 1000W ,, Arctic Liquid Freezer II – 360MM .. Fractal Design case ,, Samsung Solid State Drive MZ-V8P1T0B/AM 980 PRO 1TB PCI Express 4 NVMe M.2 ,, Wundiws 10 .. Vegas Pro 19 Edit

Chienworks wrote on 10/25/2007, 5:47 PM
If you have Sound Forge, use the Pitch Bend effect to "rubber band" the audio. It works very well. However, getting it to stay more or less in sync with the video is going to take a lot of experimentation and retries.
TGS wrote on 10/25/2007, 9:40 PM
Well, you're not going to understand very much of what's being said unless the speed hovers in about the 50% or less zone. So I say: make the sound start to speed up (use xberks method), then cut out the portion in the middle and use already recorded effects of a tape speeding up and slowing down then do the opposite at the slowed down side, of having the real sound slow to pitch. Cross fade the real with the sound effects. You could even put the sound effects on its own track under your regular audio track and just use a volume envelope on each track to make one track fade out as the other track comes up. So your real sound starts to speed up, then it crossfades to a sound effect of a audio tape speeding up, then slowing down, the it crossfades back to the real sound slowing down to an understandable pitch.
That may be the easiest way to accomplish something hardly anybody will notice. Unless it's really important to hear these voices 3 octaves higher.
Here's a couple of freebies:
Xander wrote on 10/26/2007, 8:41 AM
Thanks all. I will give the sugestions a try. Beginning part is people walking into a room, middle part is them saying "hi" and last part is them walking out the room. Can be flexible on the intro and outro sounds.

As much as I have used video velocity envelopes before, this is the first time I have been interested in keeping the sound - usually I discard it.

Maybe an audio velocity evelope that tracks the video velocity evelope should be a V9 feature.
TGS wrote on 10/26/2007, 12:08 PM
It can sort of work that way. If your Video and Audio are locked together, you can grab the end of the clip. Hover mouse over the very edge of the end of a video clip and you'll see a square Icon appear with an arrow pointing east and west through it. Push 'Ctrl' and hold it. A wavy line will appear under the Icon. When the wavy line appears, you can left click and drag the video section longer or shorter. This speeds down or up, both video and audio. I just don't know if you can reach 300% using this method. But re-renders will get you there if it can't be done all at once. You'll then have to get into the Audio properties (right click on audio track and choose properties) and make sure the 'Pitch change' is checked on 'Lock to stretch' and 'Method' window says 'Classic'. This will make the pitch change with the speed.
Place your splits in the right place, and I think you can do it this way. Experimentation will get you there.
EDIT: I've never used the velocity envelope to speed up a video, so I don't know if you can lock the audio with it, but it almost seems likely. Maybe just do the audio properties thing, above, first before trying to stretch or shrink the video.
EDIT2: I just tried it and the audio won't lock to the velocity envelope. If you use my method, at top of this post, you can do the middle section that way, you'll just have to wing it to get the right speed. It's the speeding up or down part that will be hard to match, but I think you can fake it, by just shrinking the audio part (may need to render a new wave to do it) I just can't figure out how to make it change at a various rate from slow to fast or vice versa. I would have to go up and down in increments which seems like a big hassle. You'd have to make a split in the audio track every 20 - 30 frames or so and condense it a little faster. Then do the opposite to slow it down on the other side. But the middle part, at a constant speed can be done with the wavy line thing, above.
3rd and Final EDIT: You could do the whole thing using the 'Ctrl', wavy line, drag method. Using splits in BOTH VIDEO AND AUDIO at the speed up and slow down points to increment your way faster or slower, and the middle part at a constant speed. The speed up and slow down parts will be a little time consuming but can be done fairly quick. The drag and shrink or stretch works pretty fast, if playing by ear. Just zoom in on the timeline a little if making splits every 'so many' frames and get a feel for how much stretch or shrink to use. You're only talking about a couple of seconds going from normal speed to full speed and vice versa, so your splits only need to be in those sections, probably spaced about every 1/2 second or so. Or every 5 frames if you really want it to sound like it has a velocity envelope. But this way, the video and audio should stay matched all the way.
I Lied...EDIT 4. Just in case I confused you, and I probably did, the middle part I'm talking about is not the middle part you're talking about. I'm talking about the section between "starting to speed up" and "starting to slow down". (the once you get to 300% velocity section).
Also, it's that '"starting to speed up/down" section that needs the splits for incremental speed changes.
TGS wrote on 10/26/2007, 9:20 PM
Okay, I actually tried this and it worked pretty well. You may have to drag your avi into a new .veg to experiment, because you'll need your audio and video locked.
All this is done with the 'Ctrl' and drag the wavy line edge of video/audio
To speed up, zoom in on timeline to frame level.
I took 11 frames, made a split and compressed it into 10 frames, then 12 compressed to 10, then 13 compressed to 10 etc, up to 20 then I skipped two frames ...22 to 10, 24 to 10, etc, at 30 I started skipping 3 frames, so 30 compressed to 10 33 to 10 etc. You can get to 40 frames compressed to 10 or 400% speed using this method, which is non understandable audio.
About 18 splits and compressions to get from regular speed to 400%

Do the same thing backwards to slow down. and change the word 'compressed' to 'stretch'. From the 400% speed, slowed back to normal

The way I describe above actually took about 6 seconds to get from regular speed to 400%, so you can use whatever math you want to shorten that time,
So, although I start with different numbers of frames they were compressed to 10 frames or about 1/3 of a second per increment. That just kept my increments the same length. You could use 6 or 8 frames length as an increment, it will take longer but may be smoother.

If for some reason 300% is needed, you'll just have to use math to divide the time by 3 and use the time line and compress until that time is reached.
Oh yeah, 30 frames compressed to 10, is 300%.
(yeah I know...obvious.)