Go to the nearest electronic store and purchase a 3.5 mm stereo cable. This cable needs to be a 2 feet long at least to avoid interference between the two devices during the recording process. Now turn on the computer and connect it to the internet. Search online for free music recording softwares. Audacity is a software that lets you record streaming music on the computer for free. Browse to Audacity website and download the latest version of the software on the computer. Double click on the setup to install the software on your computer.
Image courtesy: woodburn.schoolfusion.us
Plug in one end of the 3.5 mm cable in your iPhone headphone space while insert the other end of the cable in the input/ Mic jack in the computer. Double click on the audacity icon on the home screen of your computer to start the software. In Audacity click on file and choose preferences. Here set the input to microphone and set speakers as the output device for the stream. Click on Ok for the changes to take effect.
Image courtesy: audacity.soft32.com
Click the record button on Audacity and start the stream by tapping the play button in your Apple iPhone. If you see blue coloured waves in the Audacity home screen, it indicates that the recording has started taking place. When finished with the recording, click on the Stop button in Audacity to stop the recording. Then tap the pause button on iPhone to stop the transmission. Click on file and then click on “save project as” to save the recorded file.
It will give the option to choose the destination directory and the format in which you wish to save the file. However, the free version only supports some file formats, if you want to save the file in other audio file formats you will have to purchase the full version of software for that purpose.
Image courtesy: thumped.com