Skip to content

Mr3rf1/GlitchMic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

GlitchMic

A Python script that temporarily makes your microphone glitchy by randomly muting and unmuting it at intervals.

  ▄████  ██▓     ██▓▄▄▄█████▓ ▄████▄   ██░ ██     ███▄ ▄███▓ ██▓ ▄████▄
 ██▒ ▀█▒▓██▒    ▓██▒▓  ██▒ ▓▒▒██▀ ▀█  ▓██░ ██▒   ▓██▒▀█▀ ██▒▓██▒▒██▀ ▀█
▒██░▄▄▄░▒██░    ▒██▒▒ ▓██░ ▒░▒▓█    ▄ ▒██▀▀██░   ▓██    ▓██░▒██▒▒▓█    ▄
░▓█  ██▓▒██░    ░██░░ ▓██▓ ░ ▒▓▓▄ ▄██▒░▓█ ░██    ▒██    ▒██ ░██░▒▓▓▄ ▄██▒
░▒▓███▀▒░██████▒░██░  ▒██▒ ░ ▒ ▓███▀ ░░▓█▒░██▓   ▒██▒   ░██▒░██░▒ ▓███▀ ░
 ░▒   ▒ ░ ▒░▓  ░░▓    ▒ ░░   ░ ░▒ ▒  ░ ▒ ░░▒░▒   ░ ▒░   ░  ░░▓  ░ ░▒ ▒  ░
  ░   ░ ░ ░ ▒  ░ ▒ ░    ░      ░  ▒    ▒ ░▒░ ░   ░  ░      ░ ▒ ░  ░  ▒
░ ░   ░   ░ ░    ▒ ░  ░      ░         ░  ░░ ░   ░      ░    ▒ ░░
      ░     ░  ░ ░           ░ ░       ░  ░  ░          ░    ░  ░ ░
                             ░                                  ░

Glitched successfully
Glitched successfully
Glitched successfully
Glitched successfully

Features

  • Cross-platform support (Windows & Linux)
  • Random glitch intervals for realistic effect
  • Command-line options for volume control
  • Automatic microphone restoration on exit

Supported Operating Systems

  • Windows - Uses Win32 API for microphone control
  • Linux - Uses ALSA audio system

Prerequisites

  • Python 3.x
  • Platform-specific audio libraries (see installation)

Installation

Windows

  1. Download and install Python from python.org
  2. Clone this repository:
    git clone https://github.com/Mr3rf1/GlitchMic
    cd GlitchMic
  3. Install required dependencies:
    pip install pywin32

Linux (Ubuntu/Debian)

sudo apt update
sudo apt install python3 git python3-pip
git clone https://github.com/Mr3rf1/GlitchMic
cd GlitchMic
pip install pyalsaaudio

Usage

Basic Usage

python GlitchMic.py

Command Line Options

Windows only:

  • python GlitchMic.py -u or python GlitchMic.py --up-volume - Increase microphone volume
  • python GlitchMic.py -d or python GlitchMic.py --down-volume - Decrease microphone volume

How It Works

The script creates a "glitchy" microphone effect by:

  1. Randomly muting/unmuting your microphone at intervals
  2. Windows: Uses mute commands with random timing (1.7-3.0s off, 0.3-0.7s on)
  3. Linux: Alternates volume between 0% and 100% with random timing (1.7-3.0s each)

Stopping the Script

Press Ctrl+C to stop. The script will automatically restore your microphone to full volume.

Safety Features

  • Automatic microphone restoration on exit
  • Volume boost on startup (Windows)
  • Graceful handling of keyboard interrupts

License

This project is open source. Feel free to contribute or modify as needed.

Disclaimer

Use responsibly. This tool is intended for entertainment purposes and testing audio setups.

About

a python script to make your microphone glitchy temporarily.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages