# Pulseaudio and Discord with Ubuntu
Ubuntu version 20.04.2 LTS
## If you want to listen your voice on Ubuntu
1. install pavucontrol
```
sudo apt-get pavucontrol
```
2. use the instruction
```ubuntu=
pactl load-module module-loopback latency_msec=1
```
> Which mean load a module named "loopback".
> The loopback module can help you control your mic and understand what's happend now.
*If you want to remove the module*
```ubuntu=
pactl unload-module module-loopback
```
3. setting the pavucontrol
```ubuntu=
pavucontrol
```
4. Record back configuration
> change the source
> choose monitor of input
> exit the pavucontrol
---
## If you want to play the music on Discord with other people
1. open the terminal and discord
2. typing on terminal
```ubuntu=
pavucontrol
```
3. setting pulseaudio
1. choose the record tag
2. find the tag about discord
3. choose the audio source (monitor of ...)
4. exit the pulseaudio
5. test the discord voice
6. done
## Other setting about pulseaudio
### stackoverflow
[Use the command line with the pavucontrol to make your personal setting](https://askubuntu.com/questions/257992/how-can-i-use-pulseaudio-virtual-audio-streams-to-play-music-over-skype#)
### Github
[Clearly introuduce the pulseaudio configuration and teach you how to do](https://github.com/toadjaune/pulseaudio-config)
>It can learn more about the pulseaudio, and how to build yourself architecture with pavucontrol.