# How to add music to Resources

## Adding Music to Resources.resx

![](https://1055530831-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTLAKl9MnL4UmPhZlb3vF%2Fuploads%2FrURoNMJXjQ4nT3WgmAJI%2FresourcesAudio.PNG?alt=media\&token=658a6e26-2678-4ec2-bc0f-36092f644fa3)

Navigate to the resources.resx and click thedropdown to open the Audio section, then simply add all the audio files you want. You will want to make a folder within you're repo that houses all the music like we have in the Resources folder under data. You will right click the files and go to properties as we have on the bottom right and set the name and more importantly the Persistence. If you make the song embeddable it will be directly in the resources.resx which is not good as this takes alot of memory. Instead make it linked at compile so that you can reference its folder location to play instead which is faster and requires far less meory.

## Making sure the music is referenceable

<img src="https://1055530831-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTLAKl9MnL4UmPhZlb3vF%2Fuploads%2FUmvaI3NBsJ7F9hs2OPIQ%2FInDesigner.PNG?alt=media&#x26;token=ae5a1a73-916a-4491-b052-8d85480ce568" alt="" data-size="original">

Once you have added the music in the resources.resx you can move to the resources.designer.cs and make sure to see the music has been instantiated, if they appear here you are then able to use them in your code!
