Put a sound file in a film
add_audioA sound file of the user's (a voice-over made elsewhere, a sound of their own) is put in the film by the user, in the editor: this connector reads no file of theirs. Called, it answers with the film's address and the words to tell them (« Ajouter un son à moi », as the voice-over or as a sound). A voice still to create is prepared with edit_film set_voice (its words, its voice, fit) and created by the user in the editor with their own ElevenLabs account (« Créer la voix »).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai | Yes | true when the file was made by an AI (ElevenLabs or another) | |
| as | Yes | voice: the film's voice-over (one, said from its shot); sound: a sound placed on a shot | |
| on | No | Key of an element of that shot: the sound falls as that element comes in. Instead of beat or second | |
| pan | No | -1 in the left ear, 1 in the right, 0 in the middle | |
| beat | No | Beats after the start of that shot. Left out with `second` and `on`: on the shot's first frame | |
| name | Yes | The film's id on the user's account, prj_… (see list_films) | |
| path | Yes | The name of the sound file the user wants in the film, to tell them which one to put in | |
| shot | No | as sound: the shot it falls on (needed); as voice: the shot it starts on (left out: where the voice starts already, else the first) | |
| second | No | Seconds after the start of that shot, instead of beats | |
| gain_db | No | Its level: 0 as it comes, -6 clearly quieter |