<p>Premiere would be a pain in the rear for doing this. You should opt for after effects, create a text and set the text content as the filename using an expression. Then you can just copy+paste this for every file and the name will be applied automatically.
Open your text-layer, alt+click on the "source-text"-stopwatch to create an expression. In this, type </p>

<pre><code>thisComp.layer(2).name
</code></pre>

<p>IMPORTANT: For the expression to work, the audio-file must be placed so that it's layer 2, i.e. under the text-layer. If you want to change the position of the layer, just put the place of it in the expression, replacing the "(2)".</p>

<p>Now all you have to do is copy and paste that text-layer containing the expression, and (if the sound-files are all in the same position in each comp) the text-layer will automatically change to the name of your file.</p>

CC BY-SA 4.0
2019-05-12T09:41:12.757Z
I think this is a good suggestion - can you add to your answer the right expression for doing this? Might be helpful for others who find this answer.
tomh
CC BY-SA 4.0
2019-05-13T08:31:57.567Z
Good addition, added it.
Florian Claaßen
CC BY-SA 4.0
2019-04-10T09:13:59.840Z
2019-06-12T14:40:59.560Z
2019-06-12T14:40:59.560Z
Florian Claaßen
<p>Sorry if the title is confusing, but I have around 500 audio clips with 500 text/titles or whatever it's called. As you can see in the image, there are multiple audio files with text graphics overlapping them. Since I have so many, I want to be able to automatically take the filename for the audio  (such as “and” as shown in the image) and display it as text.</p>

<p><a href="https://i.sstatic.net/zNODg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zNODg.png" alt="enter image description here"></a></p>

<premiere>
Question about text graphics and audio clips. How do i input text from the audio filename?
Pepperoni Jam
# Question about text graphics and audio clips. How do i input text from the audio filename?

(Asked by: username_0 on 2019-04-10)

Sorry if the title is confusing, but I have around 500 audio clips with 500 text/titles or whatever it's called. As you can see in the image, there are multiple audio files with text graphics overlapping them. Since I have so many, I want to be able to automatically take the filename for the audio (such as “and” as shown in the image) and display it as text.

[![enter image description here](https://i.sstatic.net/zNODg.png)](https://i.sstatic.net/zNODg.png)

**Tags:** premiere


---

## 1 answers

### Answer by username_1 on 2019-04-10. Score: 1

Premiere would be a pain in the rear for doing this. You should opt for after effects, create a text and set the text content as the filename using an expression. Then you can just copy+paste this for every file and the name will be applied automatically.
Open your text-layer, alt+click on the "source-text"-stopwatch to create an expression. In this, type 
thisComp.layer(2).name

IMPORTANT: For the expression to work, the audio-file must be placed so that it's layer 2, i.e. under the text-layer. If you want to change the position of the layer, just put the place of it in the expression, replacing the "(2)".
Now all you have to do is copy and paste that text-layer containing the expression, and (if the sound-files are all in the same position in each comp) the text-layer will automatically change to the name of your file.

> **Comments:**
> **username_2**: I think this is a good suggestion - can you add to your answer the right expression for doing this? Might be helpful for others who find this answer.  
> **username_1**: Good addition, added it.  

---

