Skip to main content
Known Participant
March 22, 2017
Question

Shifting an entire session in time

  • March 22, 2017
  • 2 replies
  • 853 views

I ran up against a problem using Audition CS6 in a film post production environment, where I had to re-conform a soundtrack already built in Audition to changes in the picture where black video was added at the front of the video. This shifted the video by a fixed amount of time, so I needed to also shift the entire soundtrack by the same amount of time. In CS6 (at least), there is no way to do this, except by hand. I had already done this once before I had the rather extensive track automation, and wasn't willing to do that again. The easy part, of course, is Selecting All clips and moving them en masse which works great, but that does not shift any Track Automation or Markers. That was a problem.

So, I wrote a PHP program to make the necessary changes to the session file for me automatically.You only need to provide a file name and an offset (in samples), and it changes all the necessary values in the session file and writes out a new file. This may be a unique need for post production, and although there may be work-arounds, in my particular case where I will be outputting the picture from Pr and the 5.1 soundtrack from Au, and marrying them in a DCP externally, the audio files needed to be exactly the same length as the video. So, although loading the audio in Pr and outputting the entire package from there would work for many cases, it would not for me.

At any rate, that work is done. If anyone has this need, I am happy to provide you the script to run yourself. Just PM me with your email.

Just as a caution, mind your sample rates and video FPS values. I had a video in 23.976, which I then built a soundtrack to from scratch with a 48kHz sample rate in Au, so I ended up having to shift by 96,096 samples for my 2 seconds, instead of 96,000. That 96 samples is the 1% difference between 23.976 and 24 FPS. In Pr, if you have a Sequence in 23.976, at 2 seconds your timecode will show 00:00:02:00. But if you turn on Show Audio Time Units, that same point at 2 seconds shows 00:00:02:00096 (or 96 samples beyond 96,000, or 2 seconds at 48,000Hz sample rate). So, in shifting my soundtrack in Au, in order to have exact sample accuracy, I had to shift by 96,096. My sync points at head and tail lined up on the sample. At 2 seconds in Au, with the time display set at 23.976, my sample count is 96,096, as it should be.

_durin_​  Charles VW

    This topic has been closed for replies.

    2 replies

    SteveG_AudioMasters_
    Community Expert
    Community Expert
    March 22, 2017

    I haven't tested that in CS6, but in the current release, you don't have to select anything; you just place the cursor at the start of the session, go to Edit>Insert>Silence, and select the amount you want to insert. Time is inserted, and all the automation and tracks move over. As far as I recall, you can do this in CS6 as well.

    ryclark
    Participating Frequently
    March 22, 2017

    Wouldn't it have just been simpler to select all clips and inserted Silence of the required length to the start of the session?

    GrizzlyAKAuthor
    Known Participant
    March 22, 2017

    Have you tested that?

    Sent from my iPhone