Home  >  Article  >  Computer Tutorials  >  How to record streaming audio on Ubuntu Linux distribution

How to record streaming audio on Ubuntu Linux distribution

王林
王林forward
2024-02-25 15:46:091215browse

如何在 Ubuntu Linux 发行版录制流媒体音频

How to record audio in Ubuntu and other Linux distributions? If you want to record a voiceover through your computer's microphone, you can use GNOME Recorder or Audacity.

Using GNOME Recorder is simple and easy to understand, but its functions are relatively limited. Audacity, on the other hand, may seem a bit daunting at first, but it has many advanced recording features. However, we won't go into this in depth in this tutorial.

GNOME Voice Recorder can be used with a microphone. Additionally, there is a tool called Voice Recorder that not only uses the microphone input but also records streaming music.

In this tutorial, we will show you the following steps on how to record sound using GNOME Recorder and record streaming audio using Audio Recorder .

Use the audio recorder to record microphone audio

The GNOME desktop environment has many useful applications. The tape recorder is one of them. You can install the recorder from the Ubuntu Software Center.

The recorder can be installed from the Ubuntu Software Center

Alternatively, you can install it by running the command sudo apt install gnome-sound-recorder in the terminal:

sudo apt install gnome-sound-recorder

After installation, you can find it in the system menu and start from there.

GNOME Voice Recorder

Before you start using it, you should make sure to select the correct input source for GNOME Voice Recorder in the system settings.

Make sure you select the correct input source in the system settings

After opening the recorder application, it will display the following interface.

Click the "Record" button to start recording

Click the Record button and it starts recording immediately. While recording, you can choose to pause, stop, or cancel the recording.

Options to record audio

Your recording will be saved and available from the app interface itself. Click on a saved recording to highlight it. There is also the option to record in MP3, FLAC, and several other formats.

You can replay the recording or delete it. You can choose to save it to another location by clicking the Save/Download button. You can also rename the recording using the edit button.

Saved Recordings

Remove GNOME Voice Recorder

If you don't like it or find it lacks MoWriting functionality? You can remove GNOME Sound Recorder from the Ubuntu Software Center or run the sudo apt remove gnome-sound-recorder command:

sudo apt remove gnome-sound-recorder

GNOME Voice Recorder has limited applications. It only records from the microphone, which may not be the recording software you want in some cases.

Imagine you want to record the sound of your music player or music being played in an application or web browser. In this case, good recording software is very important.

Audio Recorder Record streaming audio

You can install Audio Recorder on Ubuntu and Linux Mint using the official PPA. Use Ctrl Alt T to open your terminal and run the following command to install Audio Recorder:

sudo apt-add-repository ppa:audio-recorder/ppa
sudo apt update
sudo apt install audio-recorder

Alternatively, you can download the source code from launchpad. After installation, you can launch the application Audio Recorder from the Gnome application menu:

Voice Recorder

Record various sounds from various sources

The recorder records various sounds from the computer. It can record audio played by your system's sound card, microphone, browser, webcam, etc.

In other words, even if your system malfunctions, it will record it (assuming you want to record it). It allows you to select a recording device such as a webcam, microphone, music player, etc.

To record streaming music, please select the appropriate source. For example, if you are streaming radio in Rhythmbox, select Rythmbox.

Voice Recorder Audio Settings

Timed Recording

The recorder also provides you with the option to set a timer. You can start, stop or pause recording at a specified clock time or predefined intervals. You can also set a limit on recording file size.

Additionally, you can pause (and stop) when there is no audio (or the sound is very low) and resume when the sound resumes.

All you have to do is edit the text in the timer panel. Comment out the "rules" you don't want to apply and edit the rules as per your requirements.

录音机定时器设置

它提供了附加设置,例如登录时自动启动、显示托盘图标和其他记录设置。

录音机附加设置

以各种文件格式保存录制的音乐文件

您可以将录制的文件保存为您喜欢的文件格式。支持的文件格式包括 OGG 音频、Flac、MP3、SPX 和 WAV。我更喜欢用 MP3 来录音。

录制的文件存储在家目录的声音目录 ~/Audio即家目录中的 Audio 文件夹。

录音机音频格式

删除录音机

如果您没有找到您喜欢的录音机,可以使用运行命令 sudo apt remove audio-recorder 删除 audio-recorder 以及删除PPA:

sudo apt remove audio-recorder
sudo apt-add-repository -r ppa:audio-recorder/ppa

结论

Linux 可能还有其他可用于录音的工具。与 GNOME 一样,其他桌面环境也可能有录音应用程序。我所知道的 Deepin 肯定有一个。

GNOME 录音机是一个不错的工具,用于从麦克风录制声音。对于录制各种来源的声音,录音机是一个不错的选择。

The above is the detailed content of How to record streaming audio on Ubuntu Linux distribution. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete