0

Sometimes a Wikipedia page contains audio files that I would like to download and save, for example, the individual pronunciations in the IPA chart for consonants. However, I wasn't able to find any explicit audio file to download. Any help?

1

I think the ones you want are sourced from http://www.yorku.ca/earmstro/introducing_the_ipa/ and there are .mp3 files there that are downloadable.

1

If you inspect the audio play button using your browser's dev tools, you can see an img nearby in the structure, like so:

<div class="mwPlayerContainer k-player">
    <div class="videoHolder"><div class="mwEmbedPlayer" id="mwe_player_0">
        <img src="data:image/png,blahblah" class="playerPoster"> <!-- This is the element that changes -->
    </div>
    <div title="Play clip" class="play-btn-large"></div>
</div>

When the play button is clicked, the img is changed to an audio element, which is then played. If you click play then double click on the audio element's src before it goes away, you can get the audio file source, such as this one. Just replace file/// with https://upload.wikimedia.org/wikipedia/commons.

But an easier way in cases where it's possible is to view the original source, as pnuts suggests.

  • Thanks, tried inspecting elements but didn't expect the element to be replaced. – xji Jun 3 '17 at 19:40
1

This how I did it, it's a bit complicated but it worked. Take this IPA letter as an example -

You first have to click the source button under the audio player. That in turn makes you go to this page

After that, you will click on the Menu option on the audio player.

Then you click on the download button and select the MP3 option. That will get you to this page.

You then click on the right icon to Download, change the ".ogg" to a ".mp3", save and it's done.

0

just follow visuals and you will get there...
https://i.stack.imgur.com/2vuhZ.png
https://i.stack.imgur.com/xVtYG.gif

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.