# Drag and drop an MP3 file

**URL:** <https://discourse.processing.org/t/drag-and-drop-an-mp3-file/15127>\
**Category:** Libraries\
**Created:** [November 1, 2019, 9:42pm UTC](https://discourse.processing.org/t/drag-and-drop-an-mp3-file/15127 "2019-11-01T21:42:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozman](https://avatars.discourse-cdn.com/v4/letter/o/a88e4f/32.png) [@ozman](https://discourse.processing.org/u/ozman)\
**Post date:** [November 1, 2019, 9:42pm UTC](https://discourse.processing.org/t/drag-and-drop-an-mp3-file/15127/1 "2019-11-01T21:42:50Z")

</div>

Hello!

Are there any tutorials or does any one know how to drag and drop a sound file into a processing sketch and have it play?

Thanks for any help, been struggling all day with this!

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [November 1, 2019, 11:29pm UTC](https://discourse.processing.org/t/drag-and-drop-an-mp3-file/15127/2 "2019-11-01T23:29:42Z")

</div>

See [here](https://discourse.processing.org/t/drag-and-drop-audio-file-into-minim/15123/3).

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [November 2, 2019, 10:05pm UTC](https://discourse.processing.org/t/drag-and-drop-an-mp3-file/15127/3 "2019-11-02T22:05:43Z")

</div>

Hello,

Processing library:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/7/7406f6148e3661aef90428d5aecbb1d863b4fc2f.png)

Once you add that check out the examples:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a0b31d8485cffa0560b76a6ef1ff86cdc1d0be0a.png)

Integrate it with the sound library of your choice; they also have examples.

I was able to do this from examples and without looking at posted solutions.  
I am confident that you can also.

🙂
