SonoBus：支持跨平台的开源点对点音频流应用
音乐 流媒体
![](/data/attachment/album/202105/19/122610n5qgu4443jf4nf4k.jpg)



> 
> 一个有趣的开源点对点音频流应用，它提供了一个简单的用户界面和强大的功能。
> 
> 
> 


### SonoBus: 跨平台音频流应用


如今，音频流服务在听音乐时非常受欢迎。然而，本地音乐集仍然是一种有用的方式，这不需要一直连接到互联网。


尽管流媒体音乐服务很方便，但你并不真正拥有这些音乐。因此，如果出现许可问题，该平台可能会删除你最喜欢的音乐，而你对此无能为力。


而有了本地音乐音乐集，你就不会遇到这个问题了。但是，你如何通过设备网络串流你本地的音乐，或者与一个小组分享？


![](/data/attachment/album/202105/19/122719tetmy5thazhwawam.png)


SonoBus 可以成为解决这个问题的办法。不仅仅限于音乐，还包括任何音频，如与一群朋友远程练习音乐或合作制作音乐，为什么不呢？


让我们来看看它提供了什么。


### SonoBus 的功能


![](/data/attachment/album/202105/19/122721z894tq70nn3qaayf.png)


SonoBus 使用起来比较简单，但提供的功能可能会让人震惊。因此，在继续使用之前，你可能想先知道它能让你做什么：


* 能够连接到多个用户
* 创建一个有可选密码的小组
* 分享来自你的麦克风的音频输入
* 分享来自文件的音频流
* 支持单声道/立体声
* 组内播放
* 录制所有人的音频
* 能够使个别用户或所有人都静音
* 可以通过互联网或本地网络连接
* 支持节拍器，用于协作制作音乐或远程练习课程
* 支持高质量的音频，最高可达 256Kbps
* 输入混音器
* 支持声相
* 支持有用的效果器（噪声门、压缩器和均衡器）
* 可在 JACK 和 ALSA 下工作
* 跨平台支持（Windows、macOS、Android、iOS 和 Linux）


虽然我试图提到所有的基本功能，但你可以在效果器的帮助下得到非常多的控制，来调整音量、质量、延迟，以及音频效果。


![](/data/attachment/album/202105/19/122723ebzghhl5tg40jj49.png)


它最好的一点是**跨平台支持**，这使它成为任何用户群的有趣选择，而无论你出于什么原因要串流音频。


### 在 Linux 中安装 SonoBus


无论你使用什么 Linux 发行版，你都可以轻松地安装 [Snap 包](https://snapcraft.io/sonobus)或 [Flatpak 包](https://flathub.org/apps/details/net.sonobus.SonoBus)。如果你不想使用它们，你可以手动添加官方仓库来安装：



```
echo "deb http://pkg.sonobus.net/apt stable main" | sudo tee /etc/apt/sources.list.d/sonobus.list

sudo wget -O /etc/apt/trusted.gpg.d/sonobus.gpg https://pkg.sonobus.net/apt/keyring.gpg

sudo apt update && sudo apt install sonobus

```

你也可以通过其官方网站为你喜欢的平台下载它。


* [SonoBus](https://sonobus.net/)


### 总结


SonoBus 是一个令人印象深刻的音频流应用，有很多潜在的用途，但它也有一些问题，可能不是每个人的完美解决方案。


例如，我注意到桌面应用占用大量的系统资源，所以这对较旧的系统来说可能是个问题。


另外，Play Store 上的安卓应用仍处于早期访问阶段（测试版）。在我的快速测试中，它工作符合预期，但我已经很久没有使用它了。因此，当依靠它进行跨平台会话时，可能会出现预期的小问题。


在任何情况下，它都适用于每种用例的大量功能。如果你还没有使用过，请试一试。




---


via: <https://itsfoss.com/sonobus/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
*Brief: An interesting open-source peer-to-peer audio streaming app which offers a simple user interface with powerful functionalities.*

## SonoBus: Cross-Platform Audio Streaming App

Audio streaming services are extremely popular nowadays when listening to music. However, a local collection is still a useful way that does not require to be constantly connected to the Internet.

Even though a streaming music service is convenient, you do not really own the music. So, if there is a licensing issue, the platform might remove your favorite music, and you cannot do anything about it.

And, with a local music collection, you do not have that problem. But, how do you stream your local music over a network of devices or share with a group?

![sonobus screenshot](https://itsfoss.com/content/images/wordpress/2021/05/sonobus-screenshot.png)

SonoBus can be a solution to the problem. Not just limited to music, but just any audio like practicing music with a group of friends remotely or collaborating to make music, why not?

Let us take a look at what it offers.

## Features of SonoBus

![sonus screenshot 1](https://itsfoss.com/content/images/wordpress/2021/05/sonus-screenshot-1.png)

SonoBus is relatively simple to use, but the features offered can be overwhelming. So, before proceeding, you might want to know what it lets you do to get a head start:

- Ability to connect to multiple users
- Create a group with optional password
- Share audio input from your microphone
- Share audio stream from a file
- Mono/Stereo support
- Playback to the group
[Record audio](https://itsfoss.com/record-streaming-audio/)from everyone- Ability to mute individual users or everyone
- Can be connected via the Internet or the local network
- Metronome support for collaborating to make music or remote practice sessions
- High-quality audio support up to 256 Kbps
- Input mixer
- Pan support
- Useful effects supported (Noise Gate, Compressor, and EQ)
- Works with JACK and ALSA
- Cross-platform support (Windows, macOS, Android, iOS, and Linux)

While I tried to mention all the essential features, you get so much control to adjust the volume, quality, latency, and how the audio sounds with the help of effects.

![sonobus official](https://itsfoss.com/content/images/wordpress/2021/05/sonobus-official.png)

The best thing about it is **cross-platform support**, which makes it an interesting choice for any group of users no matter why you want to stream audio.

## Installing SonoBus in Linux

You can easily install the [Snap package](https://snapcraft.io/sonobus) or [Flatpak package](https://flathub.org/apps/details/net.sonobus.SonoBus) no matter what Linux distribution you use. If you do not want to use them, you can add the official repository manually to get it installed:

```
echo "deb http://pkg.sonobus.net/apt stable main" | sudo tee /etc/apt/sources.list.d/sonobus.list
sudo wget -O /etc/apt/trusted.gpg.d/sonobus.gpg https://pkg.sonobus.net/apt/keyring.gpg
sudo apt update && sudo apt install sonobus
```


You can also download it for your preferred platform through its official website.

## Closing Thoughts

SonoBus is an impressive audio streaming application with plenty of potential use-cases, but it has its share of issues and may not be the perfect solution for everyone.

For instance, I noticed that the desktop app takes a significant amount of system resources, so that could be a problem for older systems.

Also, the Android app on Play Store is still in early access (beta). It works as expected for my quick test session, but I haven’t used it for a long time – so there could be expected hiccups when relying on it for cross-platform sessions.

In either case, it works quite well with plenty of features for every type of use-case. Do give it a try if you haven’t.