Giter VIP home page Giter VIP logo

pa-visualizer's Introduction

pa-visualizer

A collection of pulseaudio visualizers

all

Usage

Live

Set (using pavucontrol or pactl) the default source to the monitor of your speakers and start the visualizer with

cargo run --release --bin pa-visualizer-<visualizer-name>

Rendering

pa-visualizer also supports rendering a visualization. To do so, first convert your audio file to a .wav (Format: 32 bit float, Samplerate: 8000). Then add the following to the config of the visualizer you want to render:

RENDER_MODE = true
RENDER_FPS = 30.0
RENDER_SOUNDFILE = "name-of-your-file.wav"
RENDER_OUTPUT_DIRECTORY = "name-of-the-folder-to-put-the-frames-in"

Start the render by simply starting the visualizer:

cargo run --release --bin pa-visualizer-<visualizer-name>

Finally, convert the images to a video, for example using the following ffmpeg command:

ffmpeg -framerate 30 -i frames/%06d.png -i name-of-your-file.mp3 -c:v libx264 -preset slow -crf 22 -pix_fmt yuv420p -b:a 128k output.mp4

Visualizers

ascii

A simple debug visualizer, printing the left and right spectra to the terminal window

python

A wrapper to write visualizers in python. Does not support rendering atm!

sfml-simple

sfml-simple A basic visualizer made with sfml

sfml-wireline

sfml-wireline A visualizer made using sfml with a wireframe style

sfml-wirecircle

sfml-wirecircle Same as wireline, just "wrapping" it around a circle

noambition

noambition A 3d visualizer, written using glium based on the Demo "No Ambition" by Quite & T-Rex

noambition2

noambition Taking the noambition visualizer to the 'next' level ... Thanks to offdroid, for help with implementing this ...

Space

space An Elite: Dangerous inspired visualizer with spaceships flying in and out of a coriolis station

Stuff used in this project

Shaders

3D Models

License

pa-visualizer licensed under either of

at your option.

pa-visualizer's People

Contributors

rahix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gurtajs4

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.