An application to play sounds through the microphone, perfect for discord or any game with voice chat.
- Python - Programming Language.
- PySide2 - The official Python module from the Qt for Python project, which provides access to the complete Qt 5.12+ framework.
- keyboard - Library to handle the keyboard.
- Pydub - Manipulate audio with an simple and easy high level interface. Pydub is integrated into this repository as a fork, it is not included in the requirements.
- FFmpeg - A complete, cross-platform solution to record, convert and stream audio and video.
1. Install a virtual cable.
Install a virtual cable like https://vb-audio.com/Cable/.
Once you have installed it, go to the windows audio output settings. Be careful, when you install this vb-audio cable, the virtual output is set by default, change it to the one you had before:
Now we need to make the sound of your microphone be heard by that new output:
We are going to use the new audio output as a microphone:
2. Install FlanaSounds.
You have 2 options.
a) Recommended option:
Download the release and unzip it:
The ffmpeg binaries included in the release are under the lgpl license. See https://ffmpeg.org/legal.html for more information.
b) Clone the repository:
- Install Python.
- Install Git LFS extension.
- Clone the repository.
git clone https://github.com/AlberLC/flanasounds.git
- Install the pip packages.
pip install -r requirements.txt
- Install FFmpeg.
keyboard library needs root on Linux.
-
Install Python.
-
Install Git LFS extension.
-
Clone the repository.
git clone https://github.com/AlberLC/flanasounds.git
-
Install the pip packages.
You might prefer to install keyboard separately via root so you don't have to run the program as root every time.
pip install -r requirements.txt
-
Install FFmpeg.
Run FlanaSounds.exe
if you downloaded the release or run main.pyw
if you cloned the repository.
Once we see the main screen, the first thing we want to do is choose the folder where the sounds are stored.
Keep in mind that you have to organize the sounds in different subfolders, which FlanaSounds will detect as categories.
The next thing will be to choose the virtual audio output:
If we activate the checkbox, the sound will be reproduced both by the selected output and by the default output of your operating system. You can adjust the volume of both outputs at the bottom of the interface or by pressing the +
/-
keys of the numpad.
We can choose the key to speak. FlanaSounds will automatically press this key before playing a sound and release it when finished.
Once you have everything ready you can use FlanaSounds. Choose each category by clicking with the mouse or by pressing the normal numeric keys (above qwerty...) and play each sound, within a selected category, with the mouse or by pressing the numeric keys of the numpad. If you want to prevent FlanaSounds from playing sounds you can deselect all categories by pressing escape
key.
When a sound is playing, you can pause/resume it by clicking the button below or pressing the 0
key on the numpad.
You can stop all sounds by pressing the button or by pressing the .
/supr
key of the numpad (period key).
Distributed under the MIT License. See LICENSE for more information.