How to create mp3 files from wikipedia articles

How to create mp3 files from wikipedia articles

We’ve previously written about how to convert Wikipedia articles (or collections of articles) to eBooks you can read on mobile devices. If you travel a lot, you may want to listen to Wikipedia articles. Pediaphon provides a way to do this.

To create an MP3 file from a Wikipedia article, go to http://www.pediaphon.org/

bischoff/radiopedia/index_en.html. Enter the search term for the article you want to convert in the edit box below e.g. “podcast”.

NOTE: You need to enter the specific article name, or you will simply get an MP3 file of a page of links to possible matches for your search term. Go to Wikipedia first, find your article, and then enter the exact article name in the edit box.

Select the type of voice from the voice drop-down list and the speed at which you want the voice to speak from the speaking speed drop-down list. Select MP3 download/Podcast/old iPhone/Shoutcast from the last drop-down list (other formats are also available). Click start.

How to create mp3 files from wikipedia articles

A message displays while your MP3 is being generated.

How to create mp3 files from wikipedia articles

When the file has been generated, a page displays providing links to the files.

How to create mp3 files from wikipedia articles

To save the file to disk, right-click on the MP3 link and select Save Link As from the popup menu, and use the dialog box that displays to select a location for the file and to save it.

How to create mp3 files from wikipedia articles

Now, you can copy the MP3 file to your mobile device and play it in any app that supports MP3 files.

This is world’s largest encyclopedia created by people. This is the best source for knowledge seekers. When you search a topic you want to know, most of the time Google or other search engines show Wikipedia as a first preference. If you are a student or do research a lot, then you should create MP3 files from Wikipedia articles to listen them anywhere and anytime.

You can’t read an article while walking on the road, but you can listen to a music easily. This is also relevant in so many cases. To make your articles audible, you don’t need any software; you can instantly convert Wikipedia articles to audio files on the go and Pediaphon website helps you to do that.

How to Easily Create MP3 Files from Wikipedia Articles

Pediaphon is a text to speech website that makes mp3 files from Wikipedia articles instantly. The website can read and converts any article which is available on Wiki to make it available as an audio file to listen online, or you can download it to your computer as well as phones to play it in any media player. If you are in a hurry and forgot to make your audio book, then the web browser can also play that sound.

A human being does not generate the voice. The voice is instead robotic but still easy to understand and clear. It is one of the text to speech tool but quicker than others to save your time. So, let’s get started with the tutorial.

1) In order to create MP3 files from Wikipedia articles, visit the Pediaphon website.

2) In the search box, type the article name, which you want to generate an MP3 file. For the best results, it is better to go to Wikipedia website and look for your article and then enter the exact name in the search text box. Because, there are different articles with the same name. If Pediaphone doesn’t get your story, then it’ll make an MP3 file of the “did you mean” page on Wikipedia for you.

3) After you have entered the correct name of your information, you need to select the voice from the drop down menu. You can choose between a male and a female voice, which will then also provide you with an additional set of options.You can either select a male or a female voice with normal and high quality. High-quality audio should be larger than a standard quality and also clear to listen.

4) Next field is for speaking speed. By default it is normal, and you can change it to fast and slow according to your requirements.

5) In the “listen directly in browser window with help of” drop down menu, you have to select a way that you want to get your converted sound file. In order to download it as an MP3 file, just select “MP3 download or podcast or old iPhone or Shoutcast” and click on the “Start” button. A message will display on the screen that your MP3 is being generated and you can download that file by using the given link. You can also leave this option by default to listen to the voice on the web browser.

How to Create MP3 Files from Wikipedia Articles on Android

The creators of Pediaphon have released an app for Android devices that you can download free of charge from Google Play Store. The interface is very simple, and you can make your audio files instantly.

Just type your Article name, select language and tap on “Speak article” button to generate the voice. The application is not quick as the website, and also there is no option to download the audio file.

That was the tutorial on how to create MP3 files from Wikipedia articles using Pediaphon. It supports five languages, and the sound file can easily play on your gadgets. This is the best way to create your own audio book while traveling.

The Wikipedia website includes simple tools to help you create formatted ebooks using content from one or more Wikipedia pages – here’s a sample ebook in the EPUB format but you can also download your Wikipedia books in the more popular PDF format.

How to create mp3 files from wikipedia articles You can read Wikipedia ebooks inside the iBooks app

How to Create eBooks inside Wikipedia

The PDF ebooks generated by Wikipedia are well-formatted, ready to print and they even include all references and citations that are found in the original Wikipedia articles.

Here’s a step-by-step guide (or watch video tutorial) that will show you how to convert your favorite Wikipedia pages into an eBook and download them as PDF file that you can print or transfer to mobile for offline reading.

  1. Click here to open Wikipedia with the Book Creator enabled. Alternatively, you can open any Wikipedia page and choose Book Creator from the toolbox menu in the right sidebar.
  2. Next browse to any Wikipedia page and click the “Add this page to your book” link to include that article into your ebook.
  3. You can also hover your mouse over any internal Wikipedia link to add the linked page to your Wikipedia ebook without having to open the page (see next screenshot).
  4. Once you have collected your favorite pages, click the Show Book link. You can alter the order of pages, remove pages, add sections and more. Next, give your ebook a title and download it in PDF format.

How to create mp3 files from wikipedia articles Hover your mouse over a link to add that linked page to your Wikipedia eBook

If you are logged in to your Wikipedia account, your generated PDF books are automatically saved under your Wikipedia user’s directory. You can also edit the template to change the layouter of your exported PDF file.

Here’s another Wikipedia ebook on the Mughal Kings of India. The text of all Wikipedia articles is available under a Creative Commons (share alike) license so it should not be a problem if you ever plan to distribute these ebook files through any of the ebook stores.

Introduction.

MP3 format for audio files has got much influence, and there are many CD players that can play MP3 files as well as usual Audio CDs. MP3 collections have an advantage: you can take six, or even ten hours of music on a single CD.

We will consider how to prepare and burn MP3 CDs using DeepBurner Pro.

Step 1: Download and install DeepBurner Pro.

Download DeepBurner Pro to a known location. After download is complete, launch setup and follow instructions.

Step 2: Launch the application and select project type.

Start DeepBurner Pro. “Select project type:” window appears, offering you a number of choices. Choose “Create data CD/DVD”. Click “Next” to proceed.

How to create mp3 files from wikipedia articles

If for some reason the window doesn’t show up, you can call it by clicking “New” button, or just hit “Ctrl” + “N”.

Step 3: Select Multisession option.

Multisession allows you to add files to your CD later, if there is some place left. For example, a selection of your favorite music takes only 300 MBytes of usual 700. With multisession, you can burn it now, and a month later, if you get some more favorites, you can extend your collection by adding new files. However, each session takes some amount of space for itself, so in three sessions you will get much fewer files on a CD than in a single session. If you intend to fill your CD at once, it is recommended to use “No multisession” option.

How to create mp3 files from wikipedia articles

If you already have a multisession CD and want to add files, you should select “Append session”.

Step 4: Add MP3 files.

As next, you can start adding MP3 files and folders to your project. Please note that if you add a folder, all files in the folder will be burned, even texts or other data files. Of course, your CD player will ignore them. They will do no harm, except taking some place on the CD.

How to create mp3 files from wikipedia articles

If you click “Add folder” button, it will take you to a “Browse” window:

How to create mp3 files from wikipedia articles

Select a folder with MP3 files and click “OK”.

You can also add single files by clicking “Add files” button.

Step 5: Add more files and folders, proceed with burning.

Depending on your media, you can add more or less. A small size CD will take only 193 Mbytes. Usual single-layer DVD can contain 4.7 Gbytes of data. For MP3, you’ll probably use 700 Mbytes CDs (check CD surface for capacity information).

How to create mp3 files from wikipedia articles

Click “Burn Disk” to proceed.

Step 6: Burn your project.

Content of the window changes. Here you can select the burner you prefer and adjust CD burning speed.

How to create mp3 files from wikipedia articles

Now it’s time to insert a blank CD and create an MP3 music CD. Be patient, it will take some time, depending on your burner’s speed.

You can play the resulting disk in any Audio CD player that supports MP3.

Generating a Plain Text Corpus from Wikipedia

AtD *thrives* on data and one of the best places for a variety of data is Wikipedia. This post describes how to generate a plain text corpus from a complete Wikipedia dump. This process is a modification of Extracting Text from Wikipedia by Evan Jones.

Evan’s post shows how to extract the top articles from the English Wikipedia and make a plain text file. Here I’ll show how to extract all articles from a Wikipedia dump with two helpful constraints. Each step should:

  • finish before I’m old enough to collect social security
  • tolerate errors and run to completion without my intervention

Today, we’re going to do the French Wikipedia. I’m working on multi-lingual AtD and French seems like a fun language to go with. Our systems guy, Stephane speaks French. That’s as good of a reason as any.

Step 1: Download the Wikipedia Extractors Toolkit

Evan made available a bunch of code for extracting plaintext from Wikipedia. To meet the two goals above I made some modifications*. So the first thing you’ll want to do is download this toolkit and extract it somewhere:

(* see the CHANGES file to learn what modifications were made)

Step 2: Download and Extract the Wikipedia Data Dump

You can do this from http://download.wikimedia.org/. The archive you’ll want for any language is *-pages-articles.xml.bz2. Here is what I did:

Step 3: Extract Article Data from the Wikipedia Data

Now you have a big XML file full of all the Wikipedia articles. Congratulations. The next step is to extract the articles and strip all the other stuff.

Create a directory for your output and run xmldump2files.py against the .XML file you obtained in the last step:

This step will take a few hours depending on your hardware.

Step 4: Parse the Article Wiki Markup into XML

The next step is to take the extracted articles and parse the Wikimedia markup into an XML form that we can later recover the plain text from.There is a shell script to generate XML files for all the files in our out directory. If you have a multi-core machine, I don’t recommend running it. I prefer using a shell script for each core that executes the Wikimedia to XML command on part of the file set (aka poor man’s concurrent programming).

To generate these shell scripts:

To split this fr.files into several .sh files.

You may find it helpful to create a launch.sh file to launch the shell scripts created by into8.sl.

Next, launch these shell scripts.

Unfortunately this journey is filled with peril. The command run by these scripts for each file has the following comment: Converts Wikipedia articles in wiki format into an XML format. It might segfault or go into an “infinite” loop sometimes. This statement is true. The PHP processes will freeze or crash. My first time through this process I had to manually watching top and kill errant processes. This makes the process take longer than it should and it’s time-consuming. To help I’ve written a script that kills any php process that has run for more than two minutes. To launch it:

Just let this program run and it will do its job. Expect this step to take twelve or more hours depending on your hardware.

Step 5: Extract Plain Text from the Articles

Next we want to extract the article plaintext from the XML files. To do this:

This command will create a file called french_plaintext.txt with the entire plain text content of the French Wikipedia. Expect this command to take a few hours depending on your hardware.

Step 6 (OPTIONAL): Split Plain Text into Multiple Files for Easier Processing

If you plan to use this data in AtD, you may want to split it up into several files so AtD can parse through it in pieces. I’ve included a script to do this:

And that’s it. You now have a language corpus extracted from Wikipedia.

How to create mp3 files from wikipedia articles

A file with the .mp3 file extension is one of the most commonly distributed audio files used today. The MP3 file was created by the Moving Pictures Experts Group (MPEG) and is abbreviated from MPEG-1 or MPEG-2 Audio Layer 3.

What Is An MP3 File?

An MP3 file is an audio file that uses a compression algorithm to reduce the overall file size. It’s known as a “lossy” format because that compression is irreversible and some of the source’s original data is lost during the compression. It’s still possible to have fairly high quality MP3 music files, though. Compression is a common technique for all types of files, whether it be audio, video, or images to reduce the amount of storage they take up. While a 3-minute lossless file, such as Waveform Audio file (WAV), can be around 30 MB in size, the same file as a compressed MP3 would only be around 3 MB. That’s a 90% compression that retains near CD quality!

All that compression doesn’t come without some drawbacks, though. While you’re gaining much needed hard drive space, you lose some quality of sound when converting from a lossless file format.

One of the main issues comes in the form of bit rate—basically the amount of actual audio information that gets produced every second. That bit rate is measure in kbps (kilobits per second), and the higher the bit rate, the better quality sound you’re going to hear. MP3 compression removes the parts of the audio file that human ears have a harder time hearing— the highest and lowest ends. For the average music listener, the loss in quality generally isn’t that noticeable.

How Do I Open An MP3 File?

As mentioned earlier, MP3 is the most widely used audio file format and because of this almost all audio playback applications are able to open MP3 files—possibly even your eReader.

Windows and macOS users are able to play MP3 files right out of the box without having to install any third-party software. In Windows 10, MP3s are played by default in the Windows Media Player; in macOS, they’re played in iTunes.

All you have to do is double-click on the MP3 file you want to listen to and by default, your audio player will open the file and start playing.

How to create mp3 files from wikipedia articles

If, however, you prefer a different audio player than either of those, changing the association of a file is a simple process on either Windows or macOS. And you most likely won’t even have to do that. When you install a new music app, the chances are high that the new app will claim the association with MP3 files during installation.

The Internet is a great resource. There are tons of ways to find the information you’re searching for. One example, the popular go-to resource: Wikipedia. When you search the Internet for anything, a Wikipedia article is probably one of the first Google results you click on.

But what if you’re in an Internet black hole and need to do some preliminary research? We’re always looking up quick details on vacation destinations, historical events, celebrities, word definitions, and perhaps even PDF conversion.

You’d be hard pressed to find a research source as accessible as Wikipedia without the Internet. Or would you?

In the past, we showed you how to create a PDF file of Wikpedia articles you could take with you. Well, we came across yet another neat solution where you can actually create your own offline version using WikiTaxi.

What is WikiTaxi?

WikiTaxi is an app that lets you download Wikipedia’s database to your computer which you can view, search, and browse offline. According to the project page, it’s a “single-file application” that “does not require a database engine or HTML browser.”

So how does WikiTaxi do it? The app uses Wikipedia’s original database dumps. Data dumps, in general, are outputs of data that are used as a backup. But it can also be used to replicate the database. This is essentially what you’ll be doing with WikiTaxi.

How To Download Your Own Wikipedia

To start getting your own offline Wikipedia, you’ll be downloading a Wikipedia database file and the WikiTaxi application from the Internet. The application has the offline Wikipedia viewer and importer you need. Then you’ll be importing the database file into a WikiTaxi database you can use.

Let’s get started.

*A word of warning: you’ll be dealing with large file sizes. So download times may be slow.

1. Download one of the Wiki backups. Some of the ones recommended on the project’s site:

  • Simple English (simplewiki), small download, less than 25 MB, excellent for your first WikiTaxi import and testing.
  • English (enwiki), huge download, more than 3.5 GB.
  • German (dewiki), large download, more than 1.1 GB.
  • Frensh (frwiki), medium download, less than 1 GB.
  • Polish (plwiki), smaller download, less than 400 MB.
  • Dumps for all Wikis, in different languages and sizes.

You can also check the main Wikipedia database download list for yourself. It is updated on a regular basis. So you’ll want to look for the latest version, though you can choose any dated data dump you wish (we used the August 23 version for this tutorial).

It may look complicated, but don’t be intimidated. Zero in on the –pages-articles.xml.bz2 file. Download this file type only.

How to create mp3 files from wikipedia articles

2. Once that’s done, download the WikiTaxi app. You can find the latest download in the upper left hand corner of the project page

3. Extract the WikiTaxi zipped application file to a folder of your choice

4. Once extracted, click on the WikiTaxi_Importer.exe file

5. In the XML dump file to import section, click on Browse and select the database file you downloaded in step one

6. For the WikiTaxi database file section, click on Browse and select where you want the folder installed. Type in a name for the database to be created, and click on Save

7. Click on Import Now!

How to create mp3 files from wikipedia articles

8. Once the import is finished, click on the WikiTaxi.exe in the application file folder. This is your viewer. Click on Options> Open *.taxi Database…

How to create mp3 files from wikipedia articles

How to create mp3 files from wikipedia articles

9. Browse for and select the database file you created (our “Wikipedia.taxi” from step 7). The application will then start at a random page, but you can easily start browsing away from it to other articles.

How to create mp3 files from wikipedia articles

Aside from viewing Wikipedia pages, the application will also let you perform searches, find words in the page you’re viewing, select fonts for better reading, and create a desktop shortcut for quick access.

We always talk about how working on the cloud and over the internet offers a lot of convenience. But WikiTaxi just goes to show that there are ways you can make working without the internet just as convenient too!

Introduction.

Mixing of different audio tracks is not unusual. In fact, it is pretty usual. All modern music is done separately for each instrument and voice, and only later they are mixed into a single piece. Audio books are read with some musical background that helps to deepen emotional experience. Sometimes it is just fun to put unrelated things together to make people laugh, or to explore new dimensions of ordinary things.

Well, isn’t that a bit philosophic? We want to something real, don’t we?

Let’s consider a simple example of how to mix MP3 audio tracks with the help of Acoustica MP3 Audio Mixer – an easy-to-use sound editor with professional capabilities.

Step 1: Download and install the program.

Download Acoustica MP3 Audio Mixer to a known location. Run setup package and follow on-screen instructions to install it.

Step 2: Launch the program, create new project.

Launch Acoustica MP3 Audio Mixer. A demo-project will be opened and played. It shows you how different tracks can be mixed.

How to create mp3 files from wikipedia articles

We don’t need this demo now, so let’s click “New Sound Group” button to create a new project.

Step 3: Add MP3 files to mix.

The demo tracks will be gone.

How to create mp3 files from wikipedia articles

Click “Add a sound to the session” button to start adding your own tracks. Usual “Open” dialog appears.

How to create mp3 files from wikipedia articles

You can browse to your files and select the one you need. Preview is available: the MP3 mixer starts to play selected file.

Step 4: Arrange tracks, add more tracks.

In order to mix MP3, you need at least two tracks. Of course, the program allows you to record different sounds, for example, from microphone, so you can create another track in this way. I have prepared my tracks (voice and music) earlier and just want to mix them. But you may want to mix three or even more MP3 files together. Just repeat step 3.

How to create mp3 files from wikipedia articles

Acoustica MP3 Audio Mixer allows you to arrange tracks visually, by dragging them to their positions. Interface is pretty obvious. If you drag a track to the left, it will start earlier, to the right – the track will be played with delay. There is a scale above the tracks showing time in seconds (you can zoom in or out). Volume adjustments are very easy: click on a track and drag horizontal line up or down.

To preview the results of your audio mixing, just click usual “Play” button on the program’s toolbar.

If you are satisfied with the results, click “Save”.

Step 5: Save your mix as MP3 file.

The program offers you to save your work as project (“SoundGroup File”) by default. However, we need a ready-made product, so let’s save our mix as MP3 file.

How to create mp3 files from wikipedia articles

The following window appears:

How to create mp3 files from wikipedia articles

Here you can set codec, quality, and provide some meta-information (ID3 tag) about the file, as title, author, year etc. By default quality is set to 192 kbit/s, which is good enough for most records.

Click “Save” to start saving the mix.

It will take some time, depending on your system, as the program should encode audio. Wait until it finishes, then find output file in the folder specified in step 5.

There are several ways to start a new page.

These can vary based on the type of page started, as well as the wiki and namespace.

Contents

  • 1 Using Wikilinks
  • 2 From the search box
  • 3 Using the URL
  • 4 Using article creation template
  • 5 Create redirects to your new page
  • 6 Protecting your new page

MediaWiki makes it very easy to link wiki pages using a standard syntax (see Help:Links).

If you (or anyone else) create a link to an article that doesn’t exist yet, the link will be colored red, like this.

Notes:

  • This sample displays that underline style unconditionally. The underline displayed below the text of actual links will normally be hidden by default and made visible only when the link is hovered by the mouse or selected by keyboard navigation, if the wiki (or the user’s preferences) uses the default MediaWiki styles.
  • The actual color of links is also dependent on the default wiki styles, and the design of Wiki pages may still override these default colors.

Clicking a red link will take you to the edit page for the new article.

Simply type your text, click save and the new page will be created.

Once the page has been created, the link will change from red to blue ( purple for pages you’ve visited) indicating that the article now exists.

Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later).

If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki?

Also, how are you expecting visitors to find this page?

Normally there is no reason to create a page without first creating a red link to it.

If you search for a page that doesn’t exist (using the search box and “Go” button on the left of the page) then you will be provided with a link to create the new page.

You can use the wiki’s URL for creating a new page.

The URL to an article of the wiki is usually something like this:

  • http://www.example.net/index.php/ARTICLE or
  • http://www.example.net/wiki/ARTICLE

If you replace ARTICLE with the name of the page you wish to create, you will be taken to a blank page which indicates that no article of that name exists yet.

Clicking the “Edit” page tab at the top of the page will take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.

Copy the following text into a page in the wiki:

This generates a box where users can simply type the article title and generate a page with that name.

This allows unexperienced editors to easily create pages.

Don’t forget to set up redirects when you create a page.

If you think another person may search for the page you’ve created by using a different name or spelling, please create the proper redirect(s).

Normally a new wiki page can be edited by other people (that is one of the main ideas of a wiki!).

However, a sysop could protect the page, if desired, to prevent normal users from editing it.