The Deezer and Spotify sites offer free and legal music streaming. Here is a method to record music from Spotify, Apple Music, Deezer or any other audio sources for free.
Note: The audio capture (the method we will use) is completely legal.
To get started, you need an audio recorder. You can use the Windows one called "Sound Recorder", but I strongly advise you to use a more complete software like Audacitywhich is completely free.
Download and install Audacity if it is not done then launch the software.
Choose the audio source for the recording
Choose the audio source: in our case, to record the sound coming from the computer, choose the Stereo Mix or Wave audio source. If the recording fails (no sound recorded, accelerated sound, etc.) choose the other audio source.
In Audacity, click the red button to start recording.
Start playing music to record on Deezer, Spotify, etc.
Go to Deezer, Spotify, etc., then start playing the music you want to record. Wait for the music to end, then stop recording by clicking the Stop button.
You can delete the silence before and after the music by selecting the part to be removed and pressing the Delete key. To be more precise, by holding down the CTRL key, you can zoom in and out with the mouse wheel. If you made a mistake, you can cancel going to Edit> Cancel.
All you have to do is export your music. Go to File> Export, choose the location, name and format of the recording. Then click on Save.
Note: if you are using an older version of Audacity, you may need the plugin Blade to convert and export music to MP3. You can download this plugin using the following links: Blade for Windows or Blade for Mac OS.
You can add metadata (also called tags) to your music, then click OK.
Your music is now saved to the location you have chosen.
To see also: Ecosia: the green search engine