Skip to main content
Inspiring
April 5, 2024
Answered

Remixed audio clip works wrong with scripting

  • April 5, 2024
  • 1 reply
  • 432 views

Hi! I made a script that, beside other things, it delete from the project the unused clips.

It works fine but i found an issue that delete my audio clip even if it is used in timeline, if it has remix enabled.

Here are 3 cases:

 

1- Audio clips with remix disabled: works fine (it is not deleted from the timeline)

2- Audio clips with remix enabled but not edit (right click->enable remix, no audio extend): works fine (it is not deleted from the timeline)

3- Audio clips with remix enabled and minimum edit (audio extend): doesn't work (the clip is deleted from timeline)

 

Are remixed clips treated differently from standard clips? Maybe they are no more identified as "audio clip" or something similar?

 

Thank you!

This topic has been closed for replies.
Correct answer Bruce Bullis

Remix puts the original trackItem into a sequence; that would change its backing projectItem.

1 reply

Bruce Bullis
Community Manager
Community Manager
April 5, 2024

There is no such thing as a 'clip', in PPro; there are only projectItems, and trackItems. 🙂

Remix wraps 'clips' (trackItems) in a new sequence (sequences are all projectItems).

Send me a representative project with media, and your ExtendScript, and I'll have a look...?

Cad81Author
Inspiring
April 9, 2024

Hi Bruce, at the moment i can't provide you the code, maybe next days, thanks.

Is there a way to get the projectItem of the new sequence that remix create?

We've used (by memory) something like "clipname.projectItem.nodeid", but when the audio is remixed, it become "undefined"

Any idea?

 

Thanks

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
April 10, 2024

Remix puts the original trackItem into a sequence; that would change its backing projectItem.