Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Freesound Project
  • Link to sound

Link to sound

Subscribe

Started November 2nd, 2022 · 6 replies · Latest reply by Headphaze 2 years, 9 months ago

W
wpkurtz

0 sounds

3 posts

2 years, 9 months ago
#1

Hello!

I have a question I'm hoping has an easy answer. I know it's possible to download a sound, but is it possible to directly link to a sound (like to play automatically on a website)? I'm building a Twine story and would like to autoplay a sound. I know it's possible, I just don't know how to generate the playable link! The link should end in the file type extension (.ogg/.wav, etc)

Thanks for your help!

Headphaze

346 sounds

3,171 posts

2 years, 9 months ago
#2

Hey there. Good question, and the answer is yes and no.

So we do offer an embedding code that you'll find on the sound's description page, its on the right hand side at the very bottom, an icon that says "embed".

This will only allow a playable sound box on platforms that support iframe embedding (HTML code). For example, you're making your own website or using a blog that supports this.

I just had a little look at the Twine homepage and it appears to be HTML based although i'm not quite sure what it's all about, it might work. Give it a try

All the best,
Sam


I am the thing that goes bump in the night...

Freesound Housekeeper
W
wpkurtz

0 sounds

3 posts

2 years, 9 months ago
#3

Thanks so much for the reply! I tried the iframe and it embedded an audio player on the page, which isn't exactly what I was looking for. I was hoping for it to autoplay.

What made me think it was possible was that I found this link: https://freesound.org/data/previews/219/219167_3162775-lq.ogg. It takes me to some version of a file on freesound. I can't for the life of me figure out how that link was derived though. Using that link, I'm able to add the audio file to the Twine project for autoplay.

Headphaze

346 sounds

3,171 posts

2 years, 9 months ago
#4

Sorry, my bad. I totally misunderstood what you were asking.

You can get a direct link to a sound, but be aware it will be a preview file at very low bitrate

Go to the sound's page you would like to retrieve the link for. Then in your web browser, open 'developer tools'. Open the 'network' tab or feature. When you play the media, the direct link to the file will pop up on the list, which will end in .mp3. You can then right click and open in new tab which will present a web player like what you saw in that other link you shared, which will have a download option.

It's a bit convoluted, but that's the only way i've figured out how to retrieve these preview files being a non-admin. You could do this method on the search results page too, but make sure you load the page before opening up the network view, because otherwise all the page and graphical content will be listed and it will be harder to find the .mp3 links you're looking for when you play the sounds.

I hope this helps

p.s. I saw your support message you sent to us, but considering that it'll be me answering, I thought i's just continue the conversation here so others can see the methodology.

Cheers,
Sam


I am the thing that goes bump in the night...

Freesound Housekeeper
W
wpkurtz

0 sounds

3 posts

2 years, 9 months ago
#5

Yesssss! This worked. I was close. I was in the console. Thanks for sticking with me - my initial post was gobbledygook.

Headphaze

346 sounds

3,171 posts

2 years, 9 months ago
#6

No probs. Glad it worked for you!


I am the thing that goes bump in the night...

Freesound Housekeeper
Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra