[SOLVED] Deadbeef: Use alsa:PCM instead of software mixer

Hello,
Does anyone know how to get Deadbeef to use PCM alsa mixer instead of it's internal audio software mixer?
Last edited by diffycat (2014-09-01 16:43:18)

emeres wrote: Have you ever seen such a setup?
No. That's why I'm asking.
emeres wrote:Creating a script that would watch deadbeef volume and change PCM or whatever you specify using amixer. The problem is getting deadbeefs volume. Now-playing switch does not seems to provide that.
I can get volume level with mpris-plugin. The only problem is that it crashes with current ddb version.

Similar Messages

  • [Solved] Sudo: use admin password instead of user password?

    Sudo's default behavior is to ask you for your user password when you initiate a sudo command.
    How would you modify sudo so that it asks for the admin password instead?

    You would consult the excellent Arch wiki:
    http://wiki.archlinux.org/index.php/Sudo and http://wiki.archlinux.org/index.php/Su
    Please refrain from opening new threads when the answers have been provided for you and would be obvious with just the smallest effort on your own part.

  • [SOLVED] Software mixing on ALSA+USB sound card

    I have cheap chinesse USB soud card. lsusb says its "Tenx Technology, Inc. TP6911 Audio Headset"
    After arch installation sound was working about 2-3 reboots. Then i googled and deleted pulseaudio, and sound randomly working or not after reboots.
    After a lot of research i got /etc/asound.conf like that:
    pcm.!default {
    type hw
    card AUDIO
    ctl.!default {
    type hw
    card AUDIO
    "AUDIO" its name of card. Checked that. And now i had sound in 80% reboots.
    After research i founded that i cant play 2 sounds at same time. (And youtube writes "error occured" for 90% videos).
    Tested aplay (it never works):
    >aplay /usr/share/sounds/alsa/Front_Center.wav
    Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    aplay: set_params:1239: Channels count non available
    Then played sound in other program and in same time launched aplay:
    >aplay /usr/share/sounds/alsa/Front_Center.wav
    aplay: main:722: audio open error: Device or resource busy
    So that mean i need software mixing.
    Googled, and installed "alsa-oss" and did some random stuff with config
    pcm.!default {
    type hw
    card AUDIO
    slave.pcm "dmix"
    ctl.!default {
    type hw
    card AUDIO
    slave.pcm "dmix"
    and now youtube working. I hear it. But now aplay says:
    >aplay /usr/share/skype/sounds/CallBusy.wav
    ALSA lib pcm_hw.c:1743:(_snd_pcm_hw_open) Unknown field slave
    aplay: main:722: audio open error: Invalid argument
    He dont like "slave" thing in config, but it helps. I tested 3 times, added "slave" and rebooted and youtube works. Without "slave" it not working.
    And i still cant hear 2 sounds at same time. In google ALSA says like software mixing must work without config, if not then do bugreport.
    Im in arch less then 7 days, before i had experience with ubuntu server only, so configuring ALSA is hard for me.
    Can somebody help me configure software mixing?
    Thank you.
    Last edited by pico (2013-07-07 10:36:33)

    Okay. I surfed your URLs and ended in http://alsa.opensrc.org/Dmix
    Example /etc/asound.conf from 3 and 5 works great! Thank you!
    If somebody will google Tenx Technology, Inc. TP6911 Audio Headset
    Use /etc/asound.conf (you need create it)
    pcm.dsp0 {
    type plug
    slave.pcm "hw:0"
    ctl.mixer0 {
    type hw
    card 0
    or
    pcm.dsp0 {
    type plug
    slave.pcm "dmix"
    hint {
    show on
    description "My dmix dsp0"
    ctl.mixer0 {
    type hw
    card 0
    both works for me.
    =======
    Aaaaand after 2 reboots everything is broken. Both configs not helping. aoss and alsaplayer don't make any sound.
    5 reboots later sound again works.
    =======
    Okay, i know why i need reboot.
    If you have same problem - do aplay -l, if your card not first - nothing will work. You need reboot until your card is first. I tryed to do my card always first, but then mixer dont work. And for make it work on every reboot looks like you need read 18 huge books about universe creation.
    Last edited by pico (2013-07-09 09:53:25)

  • Which software can i use for recovery management that will allow me to use DVD's instead of Flashdsk

    which software can i use for recovery management that will allow me to use DVD's instead of Flashdisk? I find DVD's easier to use. i am using windows 10

    As the other posters wrote in order to take a movie file and turn it into a DVD that can be played in standard DVD players you need a DVD authoring application. That you need a separate program to create the DVD is standard procedure and has been that way since the beginning. All Apple produce that can produce video files require an external authoring program. iMovie, iPhoto and Final Cut all do this.
    One other thing I will comment on is your choice of output format. You will almost certainly be disappointed with the video quality of your finished DVD if you put a HD video on a SD DVD. Unless you plan to burn a bluray disk you will get a better quality video if you output as SD if you plan to burn to an SD disk.
    regards

  • [SOLVED] Asus 900 : ALSA plays sound, but microphone doesn't work

    Hi,
    This week I installed Arch Linux (kernel 3.1.8-1-ARCH) on my Asus 900 with HDA Intel Realtek ALC662 rev1 sound card. The wiki and google and existing forum posts have been good for most issues, but I'm stumped on ALSA configuration. So here's my first forum post for advice.
    I configured sound OK following advice in the wiki and twiddling settings with alsamixer, through both the internal speaker and through the headphones, but I can't get internal or external microphone to work. I'm testing with:
    arecord -d 3 junk.wav
    then when I play back via:
    aplay junk.wav
    there is only soft static (with audible soft clicks at the start and end).
    (Other files like /usr/share/sounds/alsa/Front_Center.wav play fine.)
    alsamixer recognizes and reports my HDA Intel card, Realtek ALC662 rev1.
    https://wiki.archlinux.org/index.php/Alsa has several suggestions of options for the snd-hda-intel module.
    Different pages suggest different places, which was confusing until I discovered that they can go in any file in /etc/modprobe.d so I'm putting them in /etc/modprobe.d/snd-hda-intel.conf .
    I added
    options snd-hda-intel enable_msi=1
    with no luck.
    I have tried various model=XXX parameters (based on many suggestions found googling for Asus 900, alsa, ALC662, etc problems):
    options snd-hda-intel model=auto
    options snd-hda-intel model=asus
    options snd-hda-intel model=asus-laptop
    options snd-hda-intel model=laptop
    options snd-hda-intel model=ref
    options snd-hda-intel model=asus-mode1
    options snd-hda-intel model=asus-mode2
    options snd-hda-intel model=asus-mode8
    and I do
    rmomd snd-hda-intel && modprobe snd-hda-intel
    after each modification, which makes a little click in the speakers as the module is restarted.
    I don't know what the differences between asus-mode1, asus-mode2 etc are supposed to be - I've failed to find clear documentation about them, but AFAIK they seem to be the only valid model choices, unlike stuff like laptop, asus, etc.
    I find asus-mod1 etc at https://github.com/torvalds/linux/blob/ … _realtek.c and various other webpages.
    I found they vary the items presented by alsamixer but none of the 8 asus-modeN values helped me get the mic working. (The only obvious change was asus-mode8 made my headphone stop working, unlike asus-mod1 through asus-mod7.)
    I looked at /var/log/kernel.log when doing the snd-hda-intel module reload for various values of model= and they all look similar to this:
    snd_hda_intel 0000:00:1b.0: PCI INT A disabled
    snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    snd_hda_intel 0000:00:1b.0: irq 43 for MSI/MSI-X
    snd_hda_intel 0000:00:1b.0: setting latency timer to 64
    hda_code: ALC662 rev1: BIOS auto-probing
    input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input24
    input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input25
    input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input26
    (Note the emphasized line about BIOS auto-probing only comes up when not using model= or when trying various suggested model values that don't seem to be actually defined for ALC662, e.g. stuff like model=asus, etc.)
    Here's a list of alsamixer settings I used for various models. (Note I also tried muting and raising various higher boost levels, and when there's an Internal Mic or F-Mic item I tried various combinations. The following are just what seem the most plausible settings to me.)
    model=asus
    model=asus-auto
    model=auto
    alsamixer presents 14 items (boosts are paired) :
    Master 100 (dB gain: 0.00)
    Headphone 00
    Speaker 100 (dB gain: 0.00, 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    Mic Boost 22 (dB gain: 10.00, 10.00)
    Mic Boost 22 (dB gain: 10.00, 10.00)
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Auto-Mute Mode Enabled
    Digital 25 (dB gain: 0.50, 0.50)
    Internal Mic 56 (dB gain: 0.00, 0.00)
    Internal Mic Boost 22 (dB gain: 10.00, 10.00)
    Internal Mic Boost 22 (dB gain: 10.00, 10.00)
    model=asus-mode1
    alsamixer [All] presents 8 items:
    Master 100 (dB gain: 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    S/PDIF mute
    S/PDIF Default PCM 00
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Digital 25 (dB gain: 0.50, 0.50)
    speaker & headphones work, neither mic works
    model=asus-mode2
    alsamixer [All] presents 11 items:
    Master 100 (dB gain: 0.00)
    Headphone 00
    Speaker 100 (dB gain: 0.00, 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    S/PDIF mute
    S/PDIF Default PCM 00
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Digital 25 (dB gain: 0.50, 0.50)
    F-Mic 56 (dB gain: 0.00, 0.00)
    model=asus-mode3
    alsamixer [All] presents 9 items:
    Master 100 (dB gain: 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    S/PDIF mute
    S/PDIF Default PCM 00
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Digital 25 (dB gain: 0.50, 0.50)
    F-Mic 56 (dB gain: 0.00, 0.00)
    model=asus-mode4
    alsamixer presents 9 items
    Master 100 (dB gain: 0.00, 0.00)
    Headphone 100 (dB gain: 0.00, 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    S/PDIF mute
    S/PDIF Default PCM 00
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Digital 25 (dB gain: 0.50, 0.50)
    model=asus-mode5
    alsamixer presents same 9 items as asus-mode4
    model=asus-mode6
    alsamixer [All] presents 9 items same as asus-mode3
    model=asus-mode7
    alsamixer [All] presents 12 items:
    Master 100 (dB gain: 0.00, 0.00)
    Headphone1 00
    Headphone2 00
    Speaker 100 (dB gain: 0.00, 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    S/PDIF mute
    S/PDIF Default PCM 00
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Digital 25 (dB gain: 0.50, 0.50)
    IntMic 56 (dB gain: 0.50, 0.50)
    model=asus-mode8
    alsamixer [All] presents 11 items:
    Master 100 (dB gain: 0.00, 0.00)
    Headphone1 00
    Headphone2 00
    Speaker 100 (dB gain: 0.00, 0.00)
    PCM 100 (dB gain: 0.00, 0.00)
    Mic 56 (dB gain: 0.00, 0.00)
    S/PDIF mute
    S/PDIF Default PCM 00
    Beep MM
    Capture 14 (dB gain: 0.00, 0.00)
    Digital 25 (dB gain: 0.50, 0.50)
    No headphone output for asus-mode8!?
    I'm not interested in doing anything fancy (e.g. mixing multiple sources or whatever), I just want basic mic functionality.
    Finally here's some info requested from the archlinux.org/index.php/Alsa:
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    $ lsmod|grep snd
    snd_hda_intel 19325 0
    snd_hda_codec_realtek 211044 1
    snd_hda_codec 69829 2 snd_hda_intel,snd_hda_codec_realtek
    snd_hwdep 4942 1 snd_hda_codec
    snd_pcm 60207 2 snd_hda_intel,snd_hda_codec
    snd_timer 15438 1 snd_pcm
    snd 43817 6 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    soundcore 5018 1 snd
    snd_page_alloc 5869 2 snd_hda_intel,snd_pcm
    $ ls -l /dev/snd
    total 0
    drwxr-xr-x 2 root root 60 Jan 11 20:43 by-path
    crw-rw---T 1 root audio 116, 5 Jan 11 20:43 controlC0
    crw-rw---T 1 root audio 116, 4 Jan 11 20:43 hwC0D0
    crw-rw---T 1 root audio 116, 3 Jan 11 21:01 pcmC0D0c
    crw-rw---T 1 root audio 116, 2 Jan 11 21:01 pcmC0D0p
    crw-rw---T 1 root audio 116, 1 Jan 11 15:23 seq
    crw-rw---T 1 root audio 116, 33 Jan 11 15:23 timer
    Has anyone got sound recording working on an Asus 900 with HDA Intel Realtek ALC662 rev1 ...?
    Thanks for any help! (And for feedback whether this post gave too much info or not enough, or other suggestions for posting such requests. Sorry if this was too long, but it seemed better to err on the side of too much info...)
    Last edited by goulo (2012-01-13 18:30:13)

    Hello,
    I don't have your soundcard but maybe the following information is helpful, though:
    Install the linux-docs package, then you have some information about your soundcard drivers in "/usr/src/linux-*/Documentation/sound/alsa/". Exspecially "HD-Audio.txt" and "HD-Audio-Models.txt" might be important. In the Models file it is stated that just the "asus-mode*" are legitimate model parameters for your soundcard and in the HD-Autio.txt file it is more or less said that trial and error the modules is the way to go to find the "correct module". Further there is a section
    Capture Problems
    ~~~~~~~~~~~~~~~~
    The capture problems are often because of missing setups of mixers.
    Thus, before submitting a bug report, make sure that you set up the
    mixer correctly.  For example, both "Capture Volume" and "Capture
    Switch" have to be set properly in addition to the right "Capture
    Source" or "Input Source" selection.  Some devices have "Mic Boost"
    volume or switch.
    When the PCM device is opened via "default" PCM (without pulse-audio
    plugin), you'll likely have "Digital Capture Volume" control as well.
    This is provided for the extra gain/attenuation of the signal in
    software, especially for the inputs without the hardware volume
    control such as digital microphones.  Unless really needed, this
    should be set to exactly 50%, corresponding to 0dB -- neither extra
    gain nor attenuation.  When you use "hw" PCM, i.e., a raw access PCM,
    this control will have no influence, though.
    It's known that some codecs / devices have fairly bad analog circuits,
    and the recorded sound contains a certain DC-offset.  This is no bug
    of the driver.
    So check your mixer,  here and here are nice tutorials.
    Greetings
    matse
    Last edited by matse (2012-01-12 16:30:09)

  • [SOLVED] Pulse Audio / ALSA audio sharing.

    SOLUTION AT POST # 4
    My computer has integrated audio and HDMI.  From my understanding, to be able to switch between these two types of audio hardware I require a sound server.  If this is not correct, please let me know so that I can uninstall Pulse Audio.  Assuming it is correct, I have numerous problems with my audio.  When running multiple programs, often I have to open pavucontrol and move the volume slider around in order for the audio to play in a newly opened program.  I have XFCE's volume control set to ALSA, and I am unable to change it to Pulse Audio for some reason.  This is a problem because every time I mute or change the volume using XFCE's volume control, I then have to go into Pulse Audio later to change the audio back.  If I run a game or VLC, and then open Firefox, I get no Flash audio.  However, if I run Firefox first, I have no audio in VLC or in game.  Usually I can fix this by opening pavucontrol and messing with the volume sliders.  This is not ideal.  Ultimately it seems the problem is that the program I am using are not sharing the audio hardware, so only one can play audio at a time.
    What can I do to make my audio work as it should?
    Here is my audio hardware
    # lspci | grep -i audio
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
    Screenshot of the only sound card option I have in the XFCE Audio Mixer Plugin:
    http://imgur.com/3TJWC
    I searched the Wiki, but it is out of date.  https://wiki.archlinux.org/index.php/PulseAudio#ALSA
    . . . For the applications that do not support PulseAudio and support ALSA it is recommended to install the PulseAudio plugin for ALSA. This package also contains the necessary /etc/asound.conf for configuring ALSA to use PulseAudio.
    To prevent applications from using ALSA's OSS emulation and bypassing Pulseaudio (thereby preventing other applications from playing sound), make sure the module snd_pcm_oss is not in the MODULES array in /etc/rc.conf. If it is currently loaded (lsmod|grep oss), disable it by executing: . . .
    How can I do this using systemd instead of rc.conf?
    Edit: Since there is a lack of response, I am completely changing the entire post in order to be clear and productive.
    Last edited by qKUqm3wtY4 (2013-01-05 04:52:15)

    I found a solution here: http://forums.opensuse.org/english/get- … audio.html
    You must create /etc/asound.conf and insert the following:
    pcm.pulse {
    type pulse
    ctl.pulse {
    type pulse
    pcm.!default {
    type pulse
    ctl.!default {
    type pulse
    pcm.phononpulse {
    type plug
    slave.pcm {
    type pulse
    hint {
    show on
    description "PulseAudio"

  • Recently no matter what I do, Firefox will not allow me to use Adobe Reader instead of it's own

    I used to be able to display pdf documents using Adobe Reader instead of Firefox's built in. I have tried everything that you suggest and that Adobe suggest. I have uninstalled and reinstalled Firefox. I have uninstalled and reinstalled Adobe Reader (11.0.09). I have gone to the options in Mozilla but when I try to change the Portable Document settings, I don't get the option for "Use Adobe Acrobat (in Firefox)". I do get the for Adobe Forms, but not for PDF documents. If I change it to use Adobe Reader, it downloads and then opens reader which is not I want. I want to use the plugin which is installed (I go to Add-ons and it is installed and "always activate").
    Help? This only started happening in the last month or so. I am running latest released Firefox (33.0.2), Windows 7 (up to date with all updates, etc.).

    That doesn't solve the problem. I have all those defaults. But in Firefox, it won't let me select for "Portable Document Format" to "Use Adobe Acrobat (in Firefox)" which it used to let me and which is what the Mozilla Firefox help stuff says to do. I can select Adobe Reader but then it downloads it and opens it in a separate reader window rather than using the plugin. If I select to let Firefox "Preview in Firefox", then the Firefox built-in PDF reader will display it. I have added an add-on "pdfViewerSwitcher" which then lets me display in the Adobe Reader plug-in but only after first displaying it in the Firefox preview. So that verifies that the Adobe Reader plug-in works. But I can't set it to always use the Adobe Reader plug-in.
    I have some reasons for wanting to use the Adobe Reader plug-in. I use Nuance Power PDF Pro for editing and doing other things with pdfs.
    This all used to work and stopped working at some point in the last couple months. And if you search the web, you will find I am not the only one with this complaint.
    I don't know whether it is Adobe's fault or Mozilla's fault but at least one of them is broken. And I think it is Firefox since it won't even let me select it but does let me select it for Adobe Forms.

  • Error while using .jar file instead of class file.

    Hello friends,
    I created a java class which are referred and called from other jsp\xml and java files. I compiled this java class and everything is working properly. However, I do not want to use class files but want to use jar files instead. So, I created a jar file of this class file by using the command "jar -cvf jarfilename.jar".I kept the jar file in its respective folder .Also, I removed the class file from its path, just to see that the jar file will work automatically.
    Unfortunately, I am getting an error:
    java.lang.RuntimeException: Component.createComponent(...) Component class not found: <java class path>. I also tried giving the path of this jar file in the classpath. This also does not seem working.
    How to solve this problem?
    Thanks,
    Ranjith M.V
    Edited by: RanjithM.V on May 11, 2008 10:34 PM

    You probably populated the jar file incorrectly.
    A common mistake is to include the path that you had on the classpath, in the jar file.
    So a person will have a classpath like this: /foo/
    And a class in a package bar, like this:
    package bar;So that other classes would include the file like this:
    import bar.TheClass;And the class file is on the filesystem like this:
    .../foo/bar/TheClass.classThen they'll create the jar file including the foo directory, so if they list the jar's contents, they'll see the above (/foo/bar/TheClass.class). But this is wrong. It should start off so that the jar entries start with the top-level package names (like /bar/TheClass.class).
    Maybe you've done that.

  • Using Black ink instead of Photo Black ink

    I have an HP Photosmart Premium 309a and would like to know what settings I need to change so that when printing a text document it uses the black ink instead of the photo black ink.
    OR
    What settings do I need to change so that my 309a uses black ink instead of photo black in not matter what I'm printing?
    This question was solved.
    View Solution.

    See solution here:
    http://h30434.www3.hp.com/t5/Other-printing-questi​ons/Using-photo-black-instead-of-regular-black-for​...

  • Can I use Linux Lubuntu 14.10 software

    Can I use Linux Lubuntu 14.10 software.On my HP ALL -IN -ONE HP DESKJET F2200 All In One, series

    Hello @BigLDavid, 
    Welcome to the HP forums.
    I understand that you are running a Linux operating system, and would like to use your Deskjet F2200 with it.
    I would like to help.
    It is hard to give a yes or no answer with an open source operating system.
    If your OS has the HPLIP software installed, you should be able to use that printer.
    Chances are your version of Linux already has the HPLIP software installed.
    If it does not please use the following link.
    HP Linux Imaging and Printing
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • When to use abstract classes instead of interfaces with extension methods in C#?

    "Abstract class" and "interface" are similar concepts, with interface being the more abstract of the two. One differentiating factor is that abstract classes provide method implementations for derived classes when needed. In C#, however,
    this differentiating factor has been reduced by the recent introduction of extension methods, which enable implementations to be provided for interface methods. Another differentiating factor is that a class can inherit only one abstract class (i.e., there
    is no multiple inheritance), but it can implement multiple interfaces. This makes interfaces less restrictive and more flexible. So, in C#, when should we use abstract classes
    instead of interfaces with extension methods?
    A notable example of the interface + extension method model is LINQ, where query functionality is provided for any type that implements IEnumerable via
    a multitude of extension methods.

    Hi
    Well I believe Interfaces have more uses in software design. You could decouple your component implementing against interfaces so that
    you have more flexibility on changing your code with less risk. Like Inversion of Control patterns where you can use interfaces and then when you decide you can change the concrete implementation that you want to use. Or other uses for interfaces is you could
    use Interceptors using interfaces (Unity
    Interceptor) to do different things where not all of these is feasible or at least as straightforward using abstract classes.
    Regards
    Aram

  • Using ALSA with MPD for the NCMPCPP VIsualizer?

    I've just finished setting up ncmpcpp with MPD, and it works great for playing my music and displaying it in the program. I really like the visualizer feature that comes with ncmpcpp, so I looked at the Wiki guide on activating it. On the wiki page, it uses 'mpd.fifo' to send data about the song file (I presume) to enable the visualization. By following the wiki page, I got the visualization working fine, but my audio was no longer working. According to XFCE's Audio Mixer program, I'm using ALSA. I don't really know what this means or why I can't get the visualization working, or if there's another package I could install to bridge the non-working ALSA with the working FIFO (in terms of ncmpcpp's visualizer). How can I enable the visualizations with ALSA?
    Thanks!
    Last edited by Zulfe (2015-01-27 08:44:26)

    th3voic3 wrote:Could you post your mpd.conf? Remember to put it in code tags.
    MPD
    music_directory "/home/damon/Music/"
    playlist_directory "/home/damon/.mpd/playlists"
    db_file "/home/damon/.mpd/mpd.db"
    log_file "/home/damon/.mpd/mpd.log"
    pid_file "/home/damon/.mpd/mpd.pid"
    state_file "/home/damon/.mpd/mpdstate"
    audio_output {
    type "alsa"
    name "My Audio"
    path "/tmp/mpd.alsa" #I just assumed that you could replace mpd.fifo with mpd.alsa to use ALSA with the visualizer
    format "44100:16:2"
    ncmpcpp
    mpd_music_dir = "/home/damon/Music/"
    mpd_connection_timeout = "5"
    mpd_crossfade_time = "5"
    playlist_disable_highlight_delay = "0"
    playlist_display_mode = "columns"
    browser_display_mode = "columns"
    incremental_seeking = "yes"
    autocenter_mode = "yes"
    header_visibility = "yes"
    statusbar_visibility = "yes"
    fancy_scrolling = "yes"
    follow_now_playing_lyrics = "yes"
    display_screens_numbers_on_start = "yes"
    ignore_leading_the = "yes"
    lyrics_database = "1"
    song_columns_list_format = "(10)[blue]{l} (30)[green]{a} (30)[magenta]{b} (50)[yellow]{t}"
    colors_enabled = "yes"
    main_window_color = "white"
    header_window_color = "cyan"
    volume_color = "red"
    progressbar_color = "cyan"
    statusbar_color = "white"
    color1 = "cyan"
    color2 = "cyan"
    active_column_color = "cyan"
    active_window_border = "blue"
    #visualizer stuff
    visualizer_fifo_path = "/tmp/mpd.alsa" #matching the directory configured in ~/.mpd/mpd.conf, visualizer_alsa_path is not a field
    visualizer_output_name = "My Audio"
    visualizer_sync_interval = "30"
    visualizer_in_stereo = "yes"
    #visualizer_type = "wave" (spectrum/wave)
    visualizer_type = "spectrum"
    frank604 wrote:I'm confused. First of all, how do you not know what you installed? Did you run an install script? Next is, did you get the visualization working? Post your ncmpcpp config.
    I know that I installed ncmpcpp and configured it to work with MPD. MPC is also active and managing my local database. I'm only unsure of what I've installed in terms of the ALSA audio driver. When I went through setting up my system, I downloaded all of the dependencies to get Arch up and running, and I therefore may have installed ALSA in the process when it was instead FIFO that I needed to make this work. The visualization worked fine when I set it up with mpd.fifo, but that cancelled out my audio. I could no longer hear my music. Config above.
    Last edited by Zulfe (2015-01-27 18:09:28)

  • Using Alsa with OSS

    Hello everyone.  I'm using Alsa with Pulseaudio for sound, but I'm having trouble getting it to work with my computer's speakers. I can, however, get Alsa to work with my usb headset. I considered using OSS instead of Alsa, but I heard that it didn't work with usb microphones. Is there any way to run both Alsa and OSS at the same time, so I can use the headset and the speakers? Thanks.

    I think Alsa might not have loaded my drivers
    lsmod | grep '^snd' | column -t
    Gives me
    snd_usb_audio 111545 0
    snd_usbmidi_lib 19027 1 snd_usb_audio
    snd_rawmidi 18742 1 snd_usbmidi_lib
    snd_seq_device 5180 1 snd_rawmidi
    snd_hda_codec_hdmi 27857 1
    snd_hda_codec_realtek 62247 1
    snd_hda_intel 33946 4
    snd_hda_codec 101474 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep 6364 2 snd_usb_audio,snd_hda_codec
    snd_pcm 76956 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc 7298 2 snd_pcm,snd_hda_intel
    snd_timer 18687 2 snd_pcm
    snd 58893 17 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
    By the way, I'm using my Asrock mobo's integrated sound card.

  • HT201302 The laptop I was using to upload photos from my iphone is no longer good and I want to use my desktop instead but it is displaying an error that the iphone has no photos in it. How do I start using my desktop to upload my photos from my iphone5?

    The laptop I was using to upload photos from my iphone is no longer good and I want to use my desktop instead but it is displaying an error that the iphone has no photos in it. How do I start using my desktop to upload my photos from my iphone5, is there any software I need to download?

    Photos on the phone in the DCIM folder are those located in the camera roll. Photos that are synced to the phone from the computer cannot be accessed in this manner. They are synced and the only way to manage them is to connect the phone, go to the photos tab and un-select the folders you want to remove or go into the folder photos are located in and remove the photos you no longer want to sync. Then sync the phone and the photos will be removed.

  • Using the Supra brand, ekey software on BB 10

    Good morning all, I have heard that ekey software can be downloaded and used on the Q10, who has done this and how?  Thank you and have a good morning.

    Please don't double post. I answered your question already:
    http://supportforums.blackberry.com/t5/BlackBerry-Q10/how-to-use-the-Supra-Brand-ekey-software-on-my...
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

Maybe you are looking for

  • Dynamic grant user role issue

    Hi friends, I created a role in oracle 10 and can be granted to user one by one. it works. But I try to grant the role to all users and get error. my code as (copy and modify from OTN) ==== DECLARE l_schema VARCHAR2(30) := 'SCHEMA_OWNER'; BEGIN FOR i

  • Can't get iPad to print

    Can't get iPad to print.  Bought new printer for air print.  When tell to print it searches for printer, but always says not printer found

  • Camera raw CS2 and Leopard

    I have been using CS2 with Leopard.I upgraded from CS online with a download to CS2. My hard drive crashed. I was sent a link via email thru Adobe to download CS2 again. When I downloaded/installed the program, when opening Bridge the message I got w

  • Why PSE 10 works fine while PSE 11 crashes?

    I have used PhotoShop Elements (and Premiere) since 2003 (version 2). I recently was lured into upgrading from version 10 to 11 by a couple of new features, but I had trouble from the beginning. The first download would not start until I repeatedly a

  • Opening X11 App by double-clicking a file

    My favorite text editor, NEdit, is an X11 (X Windows) program. I would like to open files with certain extensions in NEdit by double-clicking on the file icon (or some similarly direct mouse method). Is there any way to do this? I tried the usual met