GithubHelp home page GithubHelp logo

audio_visualizer's Introduction

How it work ?

you need to install "PulseAudio" and his GUI "Pavucontrol" to emulate your device's audio output as a microphone input so that the script listens to what your device hears

WARNING

web browsers have a security feature that means you can't launch functions such as the microphone without human intervention, so you have to return to the home page to get the audio visualizer to work.

Install PulseAudio(Tool) & PavuControl(GUI)

Ubuntu/Debian

sudo apt install pulseaudio
sudo apt install pavucontrol

 Fedora

sudo dnf install pulseaudio
sudo dnf install pavucontrol

Arch / Manjaro

sudo pacman -S pulseaudio
sudo pacman -S pavucontrol

OpenSUSE

sudo zypper install pulseaudio
sudo zypper install pavucontrol

Start PavuControl(GUI)

pavucontrol

How to emulate your device's audio output as a microphone input ?

Method 1 - Real output Device

Set the application's output device to your output device ("sof-hda-dsp Speaker + Headphones" for me ) and the input device to "Monitor of sof-hda-dsp Speaker + Headphones".

You need to have opened your ouput application like Youtube, Spotify to see him, same for the output

Method 2 - Virtual output Device

First create a virutal output :

pactl load-module module-null-sink sink_name=VirtualSink

After that, set the application's output device to VirtualSink and the input device to Monitor of VirtualSink.

You need to have opened your ouput application like Youtube, Spotify to see him, same for the output

audio_visualizer's People

Contributors

mekune 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.