Música i àudio

Whether you want to play, rip, edit or organize your music, Ubuntu has the tools that you need.

Listen to audio files and CDs

You can use Rhythmbox (ApplicationsSound & VideoRhythmbox Music Player) and Movie Player (ApplicationsSound & VideoMovie Player) to listen to music on your computer.

Audio files will be opened in Movie Player when double-clicked, but Rhythmbox is better at handling large music collections.

Rhythmbox is also able to play audio CDs, and should open automatically when you insert a CD.

See the Rhythmbox manual for more information.

How can I prevent CDs from playing when I insert them?

Rhythmbox should start playing a CD automatically when you insert it into your CD drive.

To prevent this from happening, open your Home folder by clicking PlacesHome Folder on the panel at the top of the screen. Then, click EditPreferencesMedia and change the CD Audio option to Do Nothing. Finally, press Close.

See the Nautilus Preferences article for more information.

Song names/cover art are missing/wrong for some songs

Music player applications fetch cover art and other information about songs from the Internet. If song names or cover art are missing, make sure that you are connected to the Internet.

Sometimes, your music player may not be able to identify a particular song or album correctly. If this is the case, you can add the correct information manually by using a tag editor such as Cowbell or EasyTAG. Some music players even have their own tag editor.

If only the album cover art is missing for an album:

  1. Find a picture of the album cover on the Internet. Amazon and other music retailers often display pictures of the album cover; right-click it and click Save Image As to save it to your computer.

  2. Rename the picture to cover.jpg and copy it into the folder which contains the songs from the album.

  3. Rhythmbox and most other music players should display the correct cover art when a song from the album is next played.

Rhythmbox and some other music players allow you to drag a picture onto their cover art display area to change or add cover art for an album.

Copy music from a CD to your computer

You can copy music from a CD to your computer so that you do not have to have the CD in the drive to play songs from it. You can then copy the songs to a digital audio player, such as an iPod.

Applications which perform this task for you are called CD rippers or extractors. The music is often compressed when you copy it, so that it takes up less space on your hard disk. MP3 and WMA files are examples of compressed audio files.

Rhythmbox can copy CDs to your computer in a range of different formats. See the Rhythmbox manual for instructions. Other applications, such as Sound Juicer, can also be used to extract songs from CDs.

[Nota]

The Music folder is a good place to store your music files when you copy them from a CD; most audio applications look there by default when searching for your music.

Copy music to a CD

You can create your own audio CDs by copying music from your computer onto a blank disc. CDs that you create in this way should play in any device that can play standard (manufactured) audio CDs. All that is required is a CD burner (also called a CD writer). Most computers have one of these.

To begin creating an audio CD, start Brasero (ApplicationsSound & VideoBrasero Disc Burning) and select Audio project from the main screen. Then, select the songs that you want to add to the CD and add them to the project. Finally, click Burn to copy the songs to a CD.

You will also need to select the maximum duration of the CD which you inserted (e.g. 80 minutes), which can be done by clicking on the small CD icon near the bottom of the window. Brasero will warn you if you have selected more files than can fit on the disc.

See the Brasero manual for full instructions.

Use an iPod or other portable music player

Ubuntu will work with most portable audio players, including iPods. Normally, all you have to do is plug the player into your computer and then use Rhythmbox to copy songs to and from the player. The audio player should appear in the Devices section of the list which is underneath the Play button. See the Rhythmbox manual for more information.

If you have a portable music player which can also display photos and videos, you may prefer to use Banshee, which is a music player with good support for such devices. iPod owners may also like to try specialized applications such as GPixPod and gtkpod for handling multimedia.

My portable audio player does not recognize songs copied from Ubuntu

When you copy music from a CD onto a computer, it must be stored in a specific audio format. The default format used by Rhythmbox is Ogg Vorbis (.ogg or .oga).

Not all portable audio players are able to play files in the Ogg Vorbis format; for example, iPods cannot play this format. In order for your player to recognize your songs, you must convert them to a format which it supports. Nearly every player on the market supports the MP3 format, so this is usually a safe bet.

You can convert existing audio files to other formats using Sound Converter. The output format can be selected in the Sound Converter preferences.

You can change the default file format used by Rhythmbox when copying CDs. Click EditPreferencesMusic and change the Preferred Format to the format of your choice. In future, all CDs copied to your computer will be copied in this format.

[Nota]

If an MP3 option is not shown in the Preferred Format list, install the gstreamer0.10-plugins-ugly-multiverse package and restart Rhythmbox. The option CD Quality, MP3 (.mp3 type) should appear in the Preferred Format list.

Listen to podcasts and Internet radio stations

Podcasts are pre-recorded shows which you can download and listen to on your computer or portable audio player. Thousands of podcasts are available and most can be downloaded for free.

You can use Rhythmbox to download and play podcasts; select Podcasts from the Library section of the Rhythmbox window to get started. The Rhythmbox manual has further instructions. Alternatively, you may prefer to use a dedicated podcast manager such as gPodder or PenguinTV.

Internet radio stations are live audio streams, similar to standard radio but transmitted over the Internet. You can use Rhythmbox to listen to Internet radio too; select Radio from the Library section of the Rhythmbox window to get started and see the Rhythmbox manual for more details.

RealAudio streams, as used by some Internet radio stations, are not supported by Rhythmbox. To listen to this type of stream, install RealPlayer.

Download music from the Internet

Many websites which allow you to buy music online and download it onto your computer are designed to work with Microsoft Windows only. As a result, some services will not work with Ubuntu.

Ubuntu is able to play most audio formats, including MP3, WMA and AAC. However, it does not support the various DRM (Digital Rights Management) schemes which stores sometimes use to restrict access to their music. If you download audio files which are DRM-restricted, they are unlikely to work in Ubuntu. In particular, nearly all music from the iTunes music store is DRM-restricted and so cannot be played.

Two services which offer unrestricted (DRM-free) music are Jamendo and Magnatune. You can buy songs from both of these stores online, or directly from within Rhythmbox if the appropriate plugins are enabled (see the Rhythmbox manual for more information).

[Atenció]

Downloading music from the Internet without the permission of its copyright holder is considered illegal in many countries. You should check that you are within your rights to download a music file before saving it onto your computer.

Recording sounds

You can record sounds onto your computer if you have a microphone or other recording equipment connected to it.

To start a basic sound recording application, press Alt+F2, type gnome-sound-recorder into the text box and then click Run. See the Sound Recorder manual for instructions on how to use it.

For more advanced recording needs, you may like to try a multi-track audio editor such as Jokosher or Audacity.

Many other professional-level recording tools are available for Ubuntu. See the Ubuntu Studio website for more information.

My microphone does not work or is too quiet

  • Check that the microphone is connected to the correct socket

    Most computers have three or more similar-looking audio sockets, so you should check that the microphone is plugged into the correct one. It is usually colored pink and has a microphone icon next to it.

    In some rare cases, sockets do not work as labeled. For example, your microphone socket may act as the “Line Out” socket and vice versa. If this is the case, use trial and error to find the correct microphone socket.

  • Check that the microphone is not muted in the settings

    The microphone input may have been muted or its volume reduced in the system settings.

    1. Right-click the speaker icon on the panel at the top of your screen and select Open Volume Control. If you do not have a speaker icon on your panel, press Alt+F2, type gnome-volume-control and click Run instead.

    2. When the Volume Control opens, click EditPreferences and make sure that all of the items related to the microphone settings are checked. Click Close to return to the volume control.

    3. Under the Playback tab, make sure that all of the microphone settings are unmuted and that their volume is set high enough. If a microphone is muted, a speaker icon with a red cross over it will be displayed underneath its volume slider; click that icon to unmute the microphone.

    4. You may also find it necessary to change other settings to get your microphone to work properly. For example, the Mic Boost and External Amplifier settings under the Switches tab and the Mic Select setting under the Options tab can all affect the volume of your microphone.

  • Check the volume control on the microphone

    Some microphones have an integrated volume control. Check that the volume control on your microphone is turned up.

  • Check the volume control in the recording application

    Some applications allow you to change the volume of the microphone from within the application. Check the volume settings in the application that you are using.