from unitypack.modding import import_audio
audio_length = 0.0 # put here the audio length in seconds
new_audio = tabledata.add_object(83)
import_audio(new_audio.contents, 'path_to_audio', audio_length, 'some_name')
tabledata.add2ab('some_new_path_in_tabledata.wav', new_audio.path_id)
audio_length = 0.0 # put here the audio length in seconds
new_audio = tabledata.add_object(83)
import_audio(new_audio.contents, 'path_to_audio', audio_length, 'some_name')
tabledata.add2ab('some_new_path_in_tabledata.wav', new_audio.path_id)