Code Monkey home page Code Monkey logo

glmviz's Introduction

GLMViz Build Status

A OpenGL music visualizer. GLMViz currently supports FiFo buffers and PulseAudio as input.

The main focus of this project is to create a high framerate, dB correct spectrum audio visualizer.

Example

Minimal Config

More examples are in the Example folder.

Build Requirements

GLMViz is NOT a lightweight program as it's build using GLFW and other OpenGL abstraction libraries.

  • OpenGL libraries: libglfw, libglm
  • FFT library: fftw
  • PulseAudio[Optional]: libpulse
  • Configuration library: libconfig++

Additionally CMake 3.0.2 / Meson and a C++11 compatible compiler are needed to successfully build the project.

Installing

The install script automatically creates a build folder, handles configuration, etc... Runnig the install script will install GLMViz to /usr/local/bin/ and copy the default config to /etc/GLMViz/config

./install

Per-user configurations have to be copied manually using:

cp /etc/GLMViz/config ~/.config/GLMViz/config

Usage

glmviz [path-to-config]

Exit with CTRL-C or by closing the window.

The config can be reloaded by pressing R or by sending SIGUSR1 to the program.

Thanks

Big thanks to dpayne and Karl Stavestrand for the pulseaudio setup code. Also thanks to xdaimon and kritzikratzi for the smooth line shader idea.

glmviz's People

Contributors

hannesha avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

glmviz's Issues

Can't link bar_pre shader!

Hi there. I'm on

Linux Autechre 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/Linux

If I use the default config from /etc/GLMViz/config or the minimal one from the examples, this happens:

Can't link bar_pre shader!
Vertex info
-----------
0(21) : error C1101: ambiguous overloaded function reference "log(int)"
    (0) : lowp float log(lowp float)
    (0) : mediump float log(mediump float)
    (0) : float log(float)
(0) : error C2003: incompatible options for link

Link info
---------
error: Programs must have a vertex, geometry, or tessellation shader assigned to use transform Feedback varyings.

screenshot-20170605-012152

Wrong number of samples

Clean install on Arch, build and install with yay seems to work fine, but when running glmviz I get the following:

╭─joshha@joshharris-m15:~
╰─>  glmviz
terminate called after throwing an instance of 'std::invalid_argument'
  what():  Wrong number of Samples
zsh: abort (core dumped)  glmviz```

CMake/Meson req

Why is CMake/Meson a req? Is there a way to build the program without it?

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.