https://github.com/mijorus/whisper
🎤 → 🎧️ Listen to your mic - with Pipewire
https://github.com/mijorus/whisper
flatpak microphone-to-speaker pipewire pulseaudio
Last synced: 2 months ago
JSON representation
🎤 → 🎧️ Listen to your mic - with Pipewire
- Host: GitHub
- URL: https://github.com/mijorus/whisper
- Owner: mijorus
- License: gpl-3.0
- Created: 2023-01-02T13:42:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-13T06:33:40.000Z (6 months ago)
- Last Synced: 2025-03-31T08:12:09.091Z (3 months ago)
- Topics: flatpak, microphone-to-speaker, pipewire, pulseaudio
- Language: Python
- Homepage: https://mijorus.it/projects/whisper
- Size: 2.4 MB
- Stars: 62
- Watchers: 2
- Forks: 17
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING
Awesome Lists containing this project
- awesome-gtk - Whisper - Application to listen to the microphone through the speakers `#python` `#gtk4`. (Audio / Audio Tools)
README
# Whisper - Listen to your microphone
![]()
Whisper allows you to listen to your microphone through your speakers. It's useful for testing your microphone or for listening to your voice.
This app requires both PulseAudio and Pipewire to be installed on your system.
Pipewire is available as the default audio server on
- Fedora 34 and later
- Ubuntu 22.04 and later## "Low-latency" mode
> [!NOTE]
> Enabling low-latency mode may cause audio "pops" if your system is too busy.
> These pops will be recorded in any app which may be using the same microphone at the same time.
> For this reason, **low-latency mode will be deactivated when you close Whisper**, regardless of your settings.Starting from v1.3.0, a new "low-latency" mode was added.
This option forces a smaller buffer size for a specific device to reduce latency, at the expense of CPU usage and, potentially, audio quality.By default, if supported by the system, Whisper tries to force a buffer size of 64, but it can rise it up if this value is too small for your system, according to the `default.clock.min-quantum` value specified in your Pipewire configuration.
If you have no idea of what is means, here is a simple explanation:
> Your computer records audio every specific amount of time, usually 44100 or 48000 times per second. Then, it needs to do convert audio into a digital form. The buffer-size is a value which specifies how much time your computer has, in terms of samples, to process the audio.
>
> If we set a buffer size of 64 and your system is taking samples every 1/48000 of a second, it means that our system has, at max, (64/48000) 1.3ms of time to process the audio; after that the audio sample will be dropped and we will hear some "popping" sound.___
```bash
flatpak kill it.mijorus.smile
flatpak-builder build/ it.mijorus.whisper.json --user --install --force-clean
```## Building
Whisper can be built with Flatpak Builder
## Credits
- Icon: Jakub Steiner (jimmac)
## Similar apps
- [Helvum](https://gitlab.freedesktop.org/pipewire/helvum)
- [qpwgraph](https://flathub.org/apps/details/org.rncbc.qpwgraph)## Under the hood
This app does more or less the same thing as Helvum does, but with a simple UI: when you have more than a couple of apps playing audio, it gets quite hard to use Helvum.Furthermore, Whisper shows only physical inputs, while the aforementioned show all inputs, including audio streams created by apps and virtual ones.
Whisper can also control the microphone gain and the speaker volume.
## Screenshots
![]()
![]()