Extracting Songs with Audacity

this tutorial is mostly for extracting the opening and ending songs of a fansub anime video
 
Prerequisites
so to start download Audacity here -> http://audacity.sourceforge.net/download/windows
since i do not like installing software much so in this tutorial we will download the zip file
download “Audacity 2.0 zip file”
go to “LAME MP3 encoder” on the Plugins and Libraries area then download “alternative 3.98.4 build”
NOTE: you can also read the instructions on that download page
go to “FFmpeg import/export library” on the Plugins and Libraries area then download “Alternative zip download for FFmpeg 0.6.2”
NOTE: you can also read the instructions on that download page
then after downloading those 3 files just extract Audacity anywhere like on My Documents folder
now extract FFmpeg_v0.6.2_for_Audacity_on_Windows.zip inside the Audacity folder
plus copy and paste “lame_enc.dll” inside the Audacity folder too
 
Configuration
open Audacity.exe inside Audacity folder and press Ctrl+P (or go to Menu -> Edit -> Preferences)
select “Libraries” then click “Locate” button for LAME MP3 so just browse to the location where you paste “lame_enc.dll”
after doing that click “Locate” button for FFmpeg Library so just browse to the location where you can find “avformat-52.dll”
after that click “Ok” button
 
Fusing
open a fansub anime (like mkv or mp4) by pressing Ctrl+O (or go to Menu -> File -> Open)
if it opens with 2 audio wave like look like this screenshot 
 
 
then this means its stereo (or 2 channel) so go convert it to 1 channel by going to Menu -> Tracks -> Stereo Track to Mono
 
 
but if you got multi-channel audio file it will show it like this screenshot
 
 
then press Ctrl+A (or go to Menu -> Edit -> Select -> All) and then go to Menu -> Tracks -> Mix and Render
 
 
after that youll have one audio to work with
 
Selecting
now just find the parts of the audio you like to extract in this case look for the opening song of the fansub anime
you do the selecting by pointing your mouse pointer (cursor) to the beginning of the song and 
then press Shift+J (or go to Menu -> Edit -> Select -> Track Start to Cursor) 
 
 
now press “Delete” key on the keyboard
now the start of the audio file is the beginning of the opening song
 
locate now the ending part of the opening song and when your mouse pointer (cursor) is on that area just 
press Shift+K (or go to Menu -> Edit -> Select -> Cursor to Track End) 
 
 
now press “Delete” key on the keyboard
and now you already have cut the part of the opening song from the fansub anime video
 
Optional
you can add effects to the audio too the most commonly use is the Amplify and BassBoost 
you can find these effects by going to Menu -> Effect -> Amplify (or BassBoost)
 
 
also you can add silence to the beginning or the ending of the song you do this by selecting the 
beginning or ending of the song and then go to Menu -> Generate -> Silence
 
 
i always set 1 second on the “Silence” generator and then press “OK” button to add the 1 second silence near what you  
you selected or mouse pointer (cursor)
 
 
 
Exporting
go to Menu -> File -> Export and click on “Options” button below the “cancel” button
and select “Constant” for the “Bit Rate Mode” and “320 kbps” for the “Quality”
then press “OK” button and rename or make a name on the “File name” inputbox are and just click “Save” button
youll be prompted with additional tagging for the audio your gonna save so either ignore that or fill them in 
with the appropriate data/infos and afterwards click “OK” button 
 
and thats it, done!