Assuming that I already have a speaker object, how do I add an NLA track to the speaker object of type ‘SOUND’ and then add multiple sound clips to that NLA track?
I am already able to use “bpy.context.active_object.animation_data.nla_tracks.new()”, etc., to add a new NLA track, and
bpy.context.active_object.animation_data.nla_tracks[“Track_Name”].strips.new(“Strip_Name”,start=20,action=bpy.data.actions[“Action_Name”])" to add a new action strip, but I cannot yet add a new sound track or sound strip.
…strips.new() can only add action strips, and attempting to use bpy.ops.nla.soundclip_add()" just produces “RuntimeError: operator bpy.ops.nla.soundclip_add.poll() failed, context is incorrect”
How might I go about adding a sound-type NLA track to a speaker object and then sound clips to that track using a script?