GithubHelp home page GithubHelp logo

5l1v3r1 / audio_loopback Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ignis-sec/audio_loopback

0.0 1.0 0.0 5.79 MB

A Windows/Linux package for real-time sound processing from playback devices. (Needs VB-Audio/Pulse)

Python 93.26% Makefile 2.99% Batchfile 3.75%

audio_loopback's Introduction

Audio Speaker FFT

Documentation: http://ignis.wtf/audio_loopback/

Dependecies

Along with pyaudio, this project is supposed to work together with VB-Audio's Cable on Windows. Supports Linux with pulse too.

Usage

This is meant to be integrated to other software, but you can run the module directly.

usage: audio_loopback.py [-h] [-v] [-c COUNT] [-r REDUCTION] [-k CONSTANT]

Audio loopback capture, FFT

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Set verbosity level
  -c COUNT, --count COUNT
                        Count to reduce the array size to
  -r REDUCTION, --reduction REDUCTION
                        Reduction coefficient
  -k CONSTANT, --constant CONSTANT
                        Constant to multiply output with

How to set up on windows

  • Install VB-Audio Cable
  • Go to Windows Sound Settings, Playback Devices.
  • Make sure CABLE Input is not your default playback device.
  • Go to Windows Sound Settings, Recording Devices.
  • Go to CABLE Output's properties.
  • Under "Listen" tab, check "Listen to this device"
  • Set "Playback through this device" to "Default Playback Device"
  • Under "Levels" tab, set both "CABLE Output" and "Wave In Volume" to 100%.
  • Save settings and close.

How to set up on Linux

  • Install imports with pip.
  • Install pavucontrol.
  • Change the device being recorded to "Monitor of your_output_device"

How to set up an application for loopback (Windows)

Follow this guide to change the sound device your application is feeding output to. If you are not hearing output from the application after this, make sure you read How to set up part, and set the "listen" settings properly.

How to set up an everything for loopback (Windows)

  • Go to Windows Sound Settings, Playback Devices.
  • Set CABLE Input as your default playback device.
  • Go to Windows Sound Settings, Recording Devices.
  • Go to CABLE Output's properties.
  • Under "Listen" tab, check "Listen to this device"
  • Set "Playback through this device" to your speakers/headphone.
  • Under "Levels" tab, set both "CABLE Output" and "Wave In Volume" to 100%.
  • Save settings and close.

audio_loopback's People

Contributors

ignis-sec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.