Giter VIP home page Giter VIP logo

viper4linux's People

Contributors

dubbathony avatar fcuzzocrea avatar noahbliss avatar thepbone avatar xiayesuifeng avatar yochananmarqos 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  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  avatar  avatar  avatar  avatar  avatar  avatar

viper4linux's Issues

Options not working

I'm running Arch with USB Audio - Sabaj.
Strangely, options in Viper4Linux GUI are not clickable , so I cannot change anything.
Eg. Clarity box is checked and I cannot uncheck it, the same with the bass etc....
Equalizer is chosen but if I pick different one and click Apply, the previous one appears...
Do not know where to look for solution...

Configuration

Help me with the
location=$your_alsa_sink_path_here
I don't understand it completely. How can I find my alsa sink path.
I am getting this :
/home/ishan/bin/viper: line 16: kill: (11015) - No such process Setting original sink to full volume... Failed to get sink information: No such entity Changing primary sink to Viper... Moving existing audio streams to Viper... ERROR: from element /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: Internal data stream error. Additional debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll.

And not sound output.

can't install beacuse of dependency problems , tried everything I found on forums , can't help

Selecting previously unselected package viper4linux-gui.
(Reading database ... 350774 files and directories currently installed.)
Preparing to unpack viper4linux-gui_2.2-32.deb ...
Unpacking viper4linux-gui (2.2-32) ...
dpkg: dependency problems prevent configuration of viper4linux-gui:
viper4linux-gui depends on qtbase5-dev (>= 5.9.5); however:
Package qtbase5-dev is not installed.
viper4linux-gui depends on libgl1-mesa-dev; however:
Package libgl1-mesa-dev is not installed.
viper4linux-gui depends on gstreamer-1.0; however:
Package gstreamer-1.0 is not installed.

dpkg: error processing package viper4linux-gui (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.5+21.10.20210710-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
viper4linux-gui

Volume change

When I stop viper.sh the master volume rises to 100%

No package 'gstreamer-audio-1.0' found (debian 10)

-- Checking for modules 'gstreamer-1.0>=1.0;gstreamer-base-1.0>=1.0;gstreamer-controller-1.0>=1.0;gstreamer-audio-1.0>=1.0'
-- No package 'gstreamer-audio-1.0' found
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
CMakeLists.txt:8 (pkg_check_modules)

Volume always resets to 100% upon reload

This has given us more jump scares than we would like. Whenever I load Viper4Linux on my arch system, it does not respect my volume levels and instantly changes it to 100% which is quite loud. I use some 120W Logitech speakers, so it is loud enough to wake up the dead!!!! Other times, I can not get any sound upon launch and the only way to bring the sound is to do a reload through the app which then the volume maxes out.

Is there a way to prevent this from happening other than ensuring my master volume on the speakers with the hardware volume control is down to zero??

readme.md: The double `git clone git clone`

Hey I noticed there's a small typo that might confuse linux newcomers

in Manual section step 2

git clone git clone https://github.com/Audio4Linux/gst-plugin-viperfx    

which probably should be

git clone https://github.com/Audio4Linux/gst-plugin-viperfx    

Ubuntu 19.10 Eoan Viper stopped working

Hey,

Viper4Linux stopped working on my ubuntu 19.10 setup.

here is the output i get on gui:

root@tarik-latitude-7280:/opt/viper/Viper4Linux# viper-gui
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
Reloading...
Reloading App Config...
WRITE: ""
Looks like it was already dead...? Deleted pidfile.
You have to specify a module index or name
Unloaded Viper sink.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Setting original sink to full volume...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Changing primary sink to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Moving existing audio streams to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstPulseSink:pulsesink0: Failed to connect: Connection refused
Additional debug info:
pulsesink.c(614): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline0/GstPulseSink:pulsesink0
WRITE: ""
Looks like it was already dead...? Deleted pidfile.
You have to specify a module index or name
Unloaded Viper sink.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Setting original sink to full volume...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Changing primary sink to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Moving existing audio streams to Viper...
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstPulseSink:pulsesink0: Failed to connect: Connection refused
Additional debug info:
pulsesink.c(614): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline0/GstPulseSink:pulsesink0

Dont know where to start troubleshooting, i ve uninstalled and re-installed following the steps on the main github documentation, no luck. still doesnt work.

thanks

Viper output only with gstt-launch to inbuild speakers

Hi. I'm on KDE-Mint. I figuered, that Vpier works, but only if I set the Input of the audio-playing app to "Viper" and the gst-launch-Playback to the inbuild speakers.
Problem is. Everytime I start viper or a media app, it sets the gst-launch-stram to "Viper", and I have to manually adjust.
Can I change something in the "viper" file to make this setting immanent?
Thanx for your effort

Caught SIGSEGV when trying to start on Fedora 27

I'm trying to get this to run on Fedora 27 (and yes I'm a linux noob, but I'm eager to learn). Maybe somebody can help me out.

Fedora specific

This are all the different commands I had to run compared to the current README.

Dependencies

sudo dnf install @development-tools gstreamer1 gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-bad-free-devel autoconf automake libtool

This means I'm using gstreamer 1.12.4-1.fc27. Could this be (one of) the issue(s)?

Installing the plugin

sudo cp libgstviperfx.so /usr/lib64/gstreamer-1.0/

Problem

The viper script seems to throw a SIGSEGV, but I do see the viper sink after starting:

--
        Name: alsa_output.pci-0000_00_1b.0.analog-stereo
        Description: Intern geluid Analoog stereo
--
        Name: viper
        Description: Viper4Linux

Run output

$ viper start
Setting original sink to full volume...
Changing primary sink to Viper...
$ Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 7217' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^C
$ viper status
Not yet fully implemented.
There is a pidfile. Gstreamer may be running at pid: 7217.
There is an idfile. The viper sink seems to be loaded at id: 52.

Any idea how to debug this? The viper.log seems to be empty.

SIGSERV on ARM machines

Hello,
did you managed SIGSERV error on ARM machines? I just compiled the library, but it throws up with an error:
$ ./viper start Killed process. Deleted pidfile. Unloaded Viper sink. Setting original sink to full volume... Changing primary sink to Viper... Moving existing audio streams to Viper... $~/Viper4Linux$ Caught SIGSEGV Spinning. Please run 'gdb gst-launch-1.0 15676' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
However, when I check on that
./viper status it says, there is a process and viper sink seems to be loaded.
I don't know if it eventually works, or not? If there is an error, I suppose, it doesn't.

The machine is Orange Pi Zero with Armbian (Debian for arm devices).

Originally posted by @Qbunjo in #1 (comment)

Crashing with SIGSEGV (amd64)

Hello!

I'm trying to run Viper but it crashes with SIGSEGV.
OS: Gentoo Linux
Kernel: 5.10.27-x86_64
'viper start' command:

Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
Caught SIGSEGV

'dmesg':

[20078.735929] ptrace attach of "gst-launch-1.0 -v pulsesrc device=viper.monitor ! viperfx fx-enable=true conv-enable=false conv-ir-path= conv-cc-level=0 vhe-enable=false vhe-level=0 vse-enable=false vse-ref-bark=7600 vse-bark-cons=10 eq-enable=false eq-band1=0 eq-band2=0 eq-band3=0 eq-band4=0 eq-band5=0 eq-band6=0 eq-band7=0 eq-band8=0 eq-band9=0 eq-band10=0 colm-enable=false colm-widening=100 colm-depth=0 ds-enable=false ds-level=0 reverb-enable=false reverb-roomsize=30 reverb-width=40 reverb-damp=10 reverb-wet=20 reverb-dry=80 agc-enable=true agc-ratio=100 agc-volume=110 agc-maxgain=145 vb-enable=true vb-mode=0 vb-freq=120 vb-gain=350 vc-enable=true vc-mode=0 vc-level=380 cure-enable=false cure-level=0 tube-enable=false ax-enable=false ax-mode=0 fetcomp-enable=true fetcomp-threshold=4 fetcomp-ratio=0 fetcomp-kneewidth=0 fetcomp-autoknee=true fetcomp-gain=2 fetcomp-autogain=true fetcomp-attack=51 fetcomp-autoattack=true fetcomp-release=38 fetcomp-autorelease=true fetcomp-meta-kneemulti=5

not working

im install as aur,when run viper start, it display that

┌─[virgo@virgo-pc] - [~] - [四 9月 27, 22:53]
└─[$] <> viper start
Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
WARNING: erroneous pipeline: could not set property "eq-band1" in element "viperfx0" to "4.5"

os:manjaro

my /etc/viper4linux/devices.conf :
desc="Speakers" location=alsa_output.pci-0000_00_1b.0.analog-stereo

compiling

when i run ./autogen.sh
i get an issue
autoreconf: Entering directory
autoreconf: configure.ac not using Gettext

I found a solution on another forum which suggested adding the following to the end of configure.ac

AM_GNU_GETTEXT_VERSION
AM_GNU_GETTEXT_REQUIRE_VERSION

whice leaves me with

autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
autogen.sh failed

no sound

I used yay -S viper4linux-git to get most of the work done.
then configured device.conf with desc="Speakers" location=alsa_output.pci-0000_00_1f.3.analog-stereo
When started viper gives this:

Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
WARNING: erroneous pipeline: no element "pulsesrc"

If asked for a status:
[ERROR]
There is a pidfile. However, there is no process running with the expected pid.
There is an idfile. The viper sink seems to be loaded at id: 98.

OS: Manjaro Linux

No Sound

I used yay -S viper4linux-git and viper4linux-gui-git.
then configured device.conf with desc="Speakers" location=alsa_output.pci-0000_00_1f.3.analog-stereo
When started viper(viper start) gives this:

Setting original sink to full volume...
Changing primary sink to Viper...
Moving existing audio streams to Viper...
WARNING: erroneous pipeline: no element "pulsesrc"

If asked for a status:
[ERROR]
There is a pidfile. However, there is no process running with the expected pid.
There is an idfile. The viper sink seems to be loaded at id: 29.

OS: Manjaro Linux

I Copied the text basicly form an other post because i have the same problem, but reboot didnt helped me. I also tried to delete the devices.conf file. didnt helped at all, i have this problem like for 1year on Manjaro KDE

[Help] No audio When Effects is on.

Hi I have installed this app and the first thing i immediately noticed is that when the FX is enabled the audio doesn't work how can i fix that?

I have installed this using Yay
System Info:
image

I'm new to using this app and I don't know what to do.

No audio output (Tumbleweed)

I've installed viper4linux via zypper and there's no audio output. And I did up the master volume from gui - not sure of what other changes I might have to do. Please help

Viper captures mic input

Found a feature bug, but it looks like if viper is activated while a voice input program is running, it will process the mic input along with any other system input and force it through the viper stream. This results in odd behavior where all viper input (like computer audio and music) are also routed to the mic application (such as discord.) So please be aware, if you start Viper after these applications, the people you are talking to may be able to hear your computer audio.

TODO: Add feature for blacklisting audio streams for being processed by viper.

If anyone wants to submit some code for resolving this feel free, otherwise I am just leaving this issue for my reference.

choppy audio/crackling

I have tried both countermeasures by editing files and restarting pulse. no good. sound is good for a while then it would skip. different intervals, 6 to 25 seconds so no buffer related. any ideas?

no element "device"

Hi, thanks for your work.
System: Artix Linux (Arch) with XFCE
Language: German

Installation:

I installed viper4linux-git from AUR.
It depends on

  • gst-plugin-viperfx-git
  • libviperfx-nonfree-bin

After that, it said no element "pulsesrc"

I googled quite a bit to find that i had to install

  • gst-plugins-good

Could you add it to your readme as dependency for Arch?

The issue:

with pactl list sinks | grep "Name: " i get

Name: alsa_output.pci-0000_28_00.1.hdmi-stereo-extra1
Name: alsa_output.pci-0000_2a_00.3.analog-stereo

After first time starting viper, there was no folder "viper4linux" in .config, so i created it.
Following your readme, i added

desc="Speakers" 
location=alsa_output.pci-0000_2a_00.3.analog-stereo

but i get

~]$ viper start
Setting original sink to full volume...
Sie müssen einen Senkennamen/-Indexwert und einen Portnamen angeben
Changing primary sink to Viper...
Moving existing audio streams to Viper...
~]$ WARNUNG: Fehlerhafte Leitung: Kein Element »device«

So, is the format of the sinkname wrong? What portname?

A repo for openSUSE Leap 15.2?

Hello.

I have seen on OBS, that there are packages available for Tumbleweed and Leap 15.1. Are there any plans on setting up a repo for 15.2 and future releases?

Thanks.

More documentation?

Sorry if this is the wrong place but is there more documentation on how to edit the audio.conf file? I have no idea what the abbreviations mean. I would like to add more bass and diable the surround effect which is leaning to one channel.

You should recreate aclocal.m4 with macros from libtool 2.4.6

make command outputs this

make all-recursive
make[1]: Entering directory '/home/atta/viper/gst-plugin-viperfx'
Making all in src
make[2]: Entering directory '/home/atta/viper/gst-plugin-viperfx/src'
/bin/sh ../libtool --tag=CC --tag=disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/orc-0.4 -Wall -g -O2 -Wall -MT libgstviperfx_la-gstviperfx.lo -MD -MP -MF .deps/libgstviperfx_la-gstviperfx.Tpo -c -o libgstviperfx_la-gstviperfx.lo test -f 'gstviperfx.c' || echo './'gstviperfx.c
libtool: Version mismatch error. This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.42-b88ce-dirty.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make[2]: *** [Makefile:458: libgstviperfx_la-gstviperfx.lo] Error 63
make[2]: Leaving directory '/home/atta/viper/gst-plugin-viperfx/src'
make[1]: *** [Makefile:400: all-recursive] Error 1
make[1]: Leaving directory '/home/atta/viper/gst-plugin-viperfx'
make: *** [Makefile:332: all] Error 2

Manual?

Is there a resource of some sort I could read up on to understand all the options that viper has to offer and what they mean/do?

Created Fork to test dynamic system

https://github.com/alexruedi

If you like it, please feel free to copy the changes. I can make my repo private, if you include the changes. You can also change it to load it from config, just change in Viper4Linux/viper the dynsys parameters to

dynsys-enable="$dynsys_enable" dynsys-ycoeffs="$dynsys_ycoeffs" dynsys-sidegain="$dynsys_sidegain" dynsys-xcoeffs="$dynsys_xcoeffs" dynsys-bassgain="$dynsys_bassgain"

Unable to install on Arch

Output:

$ pacaur -S viper4linux-git 
:: Package viper4linux-git not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for gst-plugin-viper4linux (dependency tree: viper4linux-git gst-plugin-viper4linux)

Note that gst-plugin-viper4linux-git is available, but can't be installed since it can't find libviperfx, which is available as libviperfx-nonfree-bin

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.