Results 1 to 4 of 4

Thread: How to change Audio Start Time?

  1. #1
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,694

    How to change Audio Start Time?

    Is it possible at all to change the Audio Start Time with Python?

    I'm trying to call a Python script from an existing large LScript (50k lines) to modify the Audio Start Time.

  2. #2
    It appears its not possible without parsing the LWS then re-loading the scene. Ideally the loadclip command would just have an argument attached to it which lets the user specify a time. I would feature request this one.
    Professional-level 3d training: Ryan's Lightwave Learning
    Plugin Developer: RR Tools for Lightwave

  3. #3
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,067
    Workaround: generate new .wav file from the script and call LoadAudio command.
    Wav file format is typically just simple header with raw data.
    Write header, then as many seconds of delay prior true data, then the rest of audio, and you have delay in audio.

  4. #4
    Super Member vncnt's Avatar
    Join Date
    Sep 2003
    Location
    Amsterdam
    Posts
    1,694
    Thanks for your suggestions guys.
    For now I just present the offset value so it can be entered manually.
    I might implement the wave file cut method later.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •