Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional dependencies - names of Ubuntu packages #21

Open
JanChec opened this issue Aug 28, 2017 · 4 comments
Open

Optional dependencies - names of Ubuntu packages #21

JanChec opened this issue Aug 28, 2017 · 4 comments

Comments

@JanChec
Copy link

JanChec commented Aug 28, 2017

Hey!

This is a fantastic project, I was searching for something like APO equalizer for some time, thanks! I can donate all Ubuntu 17.04 packages names for optional dependencies so installation will be easier for Ubuntu users:

[dsp] enabled ladspa_host.o: libtool
[dsp] enabled sndfile.o (sndfile): libsndfile-dev
[dsp] enabled ffmpeg.o (libavcodec libavformat libavutil): libavcodec-dev libavformat-dev libavutil-dev
[dsp] enabled resample.o fir.o (fftw3): fftw3-dev
[dsp] enabled zita_convolver.o: libzita-convolver-dev
[dsp] enabled alsa.o (alsa): libasound2-dev
[dsp] enabled ao.o (ao): libao-dev
[dsp] enabled mp3.o (mad): libmad0-dev
[dsp] enabled pulse.o (libpulse-simple): libpulse-dev

Cheers!

@bmc0
Copy link
Owner

bmc0 commented Aug 29, 2017

Thanks! I'll leave this issue open for now to make it easier for people to find. If you want you could add a wiki page with Ubuntu-specific information.

@JanChec
Copy link
Author

JanChec commented Aug 31, 2017

Great, I think I will after further testing. Possibly after I figure out how to make it work with an external sound card that may be not attached when turning on the PC (so setup on startup won't work). Maybe some supervisor with auto setup when the card is available. Also players like Spotify don't work now if you reconnect the device, you have to turn them off and on. I saw some solutions with redirecting inputs, but haven't worked (I think) the first time I tried. I want UX to work as good as APO (it's automatically applied to set up devices, nevermind reconnecting them).

@JanChec
Copy link
Author

JanChec commented Sep 24, 2017

If you'll allow, I'll keep here some notes for the article(s).

An example how to trigger a script every time you reconnect a DAC. Of course it is only for portable DACs. The script would setup systemwide DSP. In this case for Mojo:

$ cat /etc/udev/rules.d/99-mojo.rules
                                                                              
ACTION=="add", DEVPATH=="/devices/pci*/usb*/*/sound/card1/pcm*", ATTRS{idVendor}=="245f", ATTRS{idProduct}=="0815", RUN+="/home/username/Music/DSP/on_mojo_on.sh"

Then reload rules with sudo udevadm control -R.

You can get DEVPATH by using sudo udevadm monitor and reconnecting the DAC. idVendor and idProduct are from lsusb, for example. Also from lsusb you can take first and second numbers - those are USB bus and device port, so you can view DEVPATH and other details by using: udevadm info -a -p $(udevadm info -q path -n /dev/bus/usb/001/036) (for bus 001 and device 036).

@arjunmenon
Copy link

Hey
Way earlier I had documented the steps for proper installation.
https://gist.github.com/arjunmenon/d279215f7c7a3258e377756f54e8ee52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants