Releases: BlueDragon28/MicrophoneLoopback
MicrophoneLoopback v0.2
The v0.2 of MicrophoneLoopback is now available with new features.
Features
- add portaudio api on linux.
- add command lines argument.
- add configuration file support.
Command line arguments
MicrophoneLoopback [OPTION...]
-
-r, --sample-rate arg : Set the sample rate at which the program will loopback the sound of the microphone to the speakers. The default value is 48000Hz.
-
-f, --frames-per-buffer arg : Set the number of frames per buffer, a lower value will decrease the latency, but will increase cpu overhead and glitches. The default value is 256.
-
-s, --short arg : Allow to use short version for setting the sample rate :
- 44 -> 44100
- 48 -> 48000
- 96 -> 96000
This settings is overridden by --sample-rate.
-
-v, --version : show the version of the program.
-
-h, --help : show a help text on the available options of the program.
Windows specific
- -i, --input_latency arg : Set the input latency in seconds at which Windows will get the audio from the microphone. The default value is 0.02.
- -o, --output_latency arg : Set the output latency in seconds at which Windows will send the audio to the speakers. The default value is 0.02.
Linux specific
- -p, --portaudio : Use PortAudio API instead of the Pulse Simple API.
Configuration file
# Configuration file to configure MicrophoneLoopback.
[stream]
#sample-rate=48000
#frames-per-buffer=256
[Windows]
#input_latency=0.02
#output_latency=0.02
[api]
#use-portaudio=yes
Windows
On Windows the file must be at the same location than the executable and named MicrophoneLoopback.conf.
Linux
On Linux the file may be ether at /home/user/.config/MicrophoneLoopback/MicrophoneLoopback.conf
or /etc/MicrophoneLoopback/MicrophoneLoopback.conf
.
I hope you like it.
v0.1
This is the first release of MicrophoneLoopback. This program work on both Windows and Linux, it simply loopback the microphone stream into the speaker with low latency. By default, the sample rate is set to 48000 KHz. There is not any option available for now.