ghostnan / recidia-audio-visualizer Goto Github PK
View Code? Open in Web Editor NEWA highly customizable real time audio visualizer on Linux
License: GNU General Public License v3.0
A highly customizable real time audio visualizer on Linux
License: GNU General Public License v3.0
Terminal Output is as follows:
[relax@relax-laptop ~]$ yay -S recidia-audio-visualizer
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] recidia-audio-visualizer-0.3-1
1 recidia-audio-visualizer (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/0): recidia-audio-visualizer
1 recidia-audio-visualizer (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: recidia-audio-visualizer
==> Making package: recidia-audio-visualizer 0.3-1 (Mon 07 Mar 2022 06:40:44 PM)
==> Retrieving sources...
-> Found recidia-audio-visualizer-0.3.tar.gz
==> Validating source files with sha256sums...
recidia-audio-visualizer-0.3.tar.gz ... Passed
==> Making package: recidia-audio-visualizer 0.3-1 (Mon 07 Mar 2022 06:40:47 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found recidia-audio-visualizer-0.3.tar.gz
==> Validating source files with sha256sums...
recidia-audio-visualizer-0.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting recidia-audio-visualizer-0.3.tar.gz with bsdtar
==> Sources are ready.
==> Making package: recidia-audio-visualizer 0.3-1 (Mon 07 Mar 2022 06:40:52 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.61.2
Source dir: /home/relax/.cache/yay/recidia-audio-visualizer/src/recidia-audio-visualizer-0.3
Build dir: /home/relax/.cache/yay/recidia-audio-visualizer/src/recidia-audio-visualizer-0.3/build
Build type: native build
Project name: recidia
Project version: undefined
C compiler for the host machine: cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.38
C++ compiler for the host machine: c++ (gcc 11.2.0 "c++ (GCC) 11.2.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gsl found: YES 2.7.1
Run-time dependency fftw3 found: YES 3.3.10
Run-time dependency threads found: YES
Run-time dependency ncursesw found: YES 6.3.20211021
Run-time dependency libconfig++ found: YES 1.7.3
Run-time dependency shaderc found: YES 2022.1.1
Run-time dependency libpulse found: YES 15.0
Run-time dependency libpulse-simple found: YES 15.0
Run-time dependency portaudio-2.0 found: YES 19
Run-time dependency qt5 (modules: Core, Gui, Widgets) found: YES 5.15.3 (pkg-config)
Build targets in project: 1
recidia undefined
User defined options
prefix: /usr
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[1/10] Compiling C object recidia.p/src_audio.c.o
../src/audio.c: In function ‘get_port_devices_info’:
../src/audio.c:186:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
186 | freopen("/dev/tty", "w", stderr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/audio.c: In function ‘port_collect_audio_data’:
../src/audio.c:246:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
246 | freopen("/dev/tty", "w", stderr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/10] Compiling C++ object recidia.p/src_curses.cpp.o
FAILED: recidia.p/src_curses.cpp.o
c++ -Irecidia.p -I. -I.. -I../inc -I/usr/include/qt/QtCore -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtWidgets -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -g -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MQ recidia.p/src_curses.cpp.o -MF recidia.p/src_curses.cpp.o.d -o recidia.p/src_curses.cpp.o -c ../src/curses.cpp
../src/curses.cpp: In function ‘void init_curses()’:
../src/curses.cpp:156:21: error: format not a string literal and no format arguments [-Werror=format-security]
156 | mvprintw(y, 0, printBarLine.c_str());
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[6/10] Compiling C++ object recidia.p/src_main.cpp.o
../src/main.cpp: In function ‘void get_audio_device(recidia_audio_data*, int)’:
../src/main.cpp:104:14: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
104 | fgets(devBuffer, 4, stdin);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
[9/10] Compiling C++ object recidia.p/src_widgets_settings.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: recidia-audio-visualizer
[relax@relax-laptop ~]$
Hey! Thank you so much for this project, has been really useful to me. The ncurses version works great, but the Qt GUI crashes on the same place every time:
widgets/settings.cpp, line 458:
catch (filesystem::filesystem_error const& ex) {
if (i == 3) {
throw std::runtime_error("Failed to find shaders folder!");
return;
}
}
I have tried running the executable from the build directory (so that ../shaders/ would be valid), placed the shaders folder in ~/.config/recidia/shaders, as well as running the executable from the base directory. It never manages to find the folder, for some bizarre reason. The folder has all the right permissions. I suspect there might be a microscopic problem in the logic that only fails under certain circumstances, so I will do some debugging and see what I find. If you have any ideas, please let me know!
Thanks again!
i love how recidia looks but i wanted to install it on my m1 macbook air.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.