ALSA volume sensitivity

Hello all, I have an Audiotrak Prodigy HD2 audio card + Sennheiser HD 555 headphones. This conjunction is very, very loud. When I want to get lower volume, I do:
[mk@linux ~]$ amixer -- sset Front playback -126dB
Simple mixer control 'Front',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 1 [0%] [-126.00dB]
Front Right: Playback 1 [0%] [-126.00dB]
Louder: [mk@linux ~]$ amixer -- sset Front playback -125dB
Okay, that's enough: [mk@linux ~]$ amixer -- sset Front playback -124dB
It's still 1% in alsamixer. So basically it's impossible to set volume through any graphic mixer or audacious, because gain goes immediately to 5% which is way too much. I'm thinking of taking off headphone amplifier jumper but as far as I remember when I tested both settings after buy, it didn't make a difference. Any suggestions apart of using software volume control in audacious? Thanks.

Use with xbindkeys / khotkeys or whatever can make a global shortcut or a mouse gesture or whatever
Louder:
#!/bin/bash
#by mkkot, 15/04/2012, Public Domain
#This script can be used for precise volume level increasing in Audiotrak Prodigy HD2 Advance DE within ALSA
volume_level=`amixer |grep "Left: Playback" |cut -d ' ' -f 6`
volume_level=$[volume_level + 1]
amixer -- sset Front playback $volume_level
Quiet:
#!/bin/bash
#by mkkot, 15/04/2012, Public Domain
#This script can be used for precise volume level decreasing in Audiotrak Prodigy HD2 Advance DE within ALSA
volume_level=`amixer |grep "Left: Playback" |cut -d ' ' -f 6`
volume_level=$[volume_level -1]
amixer -- sset Front playback $volume_level

Similar Messages

  • Alsa volume is low compared to Ubuntu & Windows

    Hi all,
    I've noticed that the Alsa volume is too low compared to ubuntu 9.10 and Windows. Even at max slider, the volume is half of that of max of windows. The pcm is set to the max setting that works without distorting the sound.
    Any suggestions?
    Thanks!:)

    Hi,
    Sorry i just returned back to archlinux after a while. Thanks for your input!:)
    My sound card is a conexant, and alsa uses the hda-intel module.
    I did as you said. It's usable for now, with headphones, but with bigger speakers its kind of low.
    I also came to know about the hspda plugin, and audacious has the stereo volume amplifier plugin using hspda. The problem is, if i use the plugin, it does not get saved, so i have to switch it on again the next time i start audacious.
    Thanks!

  • Alsa Volume Control from script [SOLVED]

    I currently have arch setup with a custom desktop environment with Compiz as my window manager and dmenu for launching apps. I love this setup, it's lean, mean and clean. However I would like to be able to control my computers volume by setting a custom command in ccsm and link it to a keyboard shortcut but I don't know how to directly control alsa via the command line to up and down the volume. If this at all possible. it would be very appreciated. Many thanks in advance.
    Last edited by martin101 (2012-01-30 13:59:37)

    skunktrader wrote:man amixer
    Thanks for the quick reply, my word the syntax to control amixer seems rather convoluted. But thanks nonetheless.

  • Mapping Alsa Volume Control for USB SoundCard (C-Media 650)

    Hello everyone who is interested in helping me solve my volume control problem!
    Lets see, I have sound playback working, currently I am listening to some Foo Fighters mp3s in XMMS using the Alsa plugin, so I can't complain too much.
    However, volume control doesn't work. If I set the alsa plugin to use software volume control, then I have volume control but its not ideal and it doesn't help me when I'm not using xmms. When I run alsamixer or open the gnome volume control, I have multiple volume controls for the "Speaker" device. The 1st pair of volume controls do nothing, I can mute them and my music keeps playing... no idea what they're controlling. The 2nd pair ("Speaker 1") DOES control the sound volume. I just need to find a way to remap it or something so I can configure my applications/tray icon/etc to use it. (And preferabbly not the other 6 channels)
    In the Gnome sound control, the devices are:
    "Speaker" - stereo control that doesn't do anything
    and "Speaker 1" - a 7.1 channel (8 sliders) with the first two controlling front left and right sound for my stereo speakers.
    I've tried setting xmms to use "speaker 1", but the option is not in the drop-box, tried typing it manually but that didnt work.
    I set my tray icon to control "speaker 1" but the sliders don't seem to lock properly and the volume just jumps around, unlocking the channels and not staying balanced or scaling with the slider.
    The only way to get the volume to change as expected is to open the gnome volume manager, make sure the channels of "Speaker 1" are UNLOCKED and slide the first 2 sliders to the desired volume.
    So I was thinking if I could just remap the first two channels of "speaker 1" to something else using an alias or link or editing asound.state (which just confused me) for example, then I could use my alias to control the sound in my applications. Thanks for any help with this!
    Here's some system info that may or may not help:
    AMD Athlon 5400 X2
    Asus M2N-E SLi /w C-Media 650 onboard 8-channel audio CODEC (transfer audio signal over USB bus)
    Fully uptodate Arch Linux 64-bit (pacman -Syu'd this morning)
    aplay -L
    default:CARD=default
    PnP Audio Device , USB Audio
    Default Audio Device
    front:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    Front speakers
    surround40:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=default,DEV=0
    PnP Audio Device , USB Audio
    IEC958 (S/PDIF) Digital Audio Output
    null
    $ cat /proc/asound/devices
    2: : timer
    3: : sequencer
    4: [ 0- 0]: digital audio playback
    5: [ 0- 0]: digital audio capture
    6: [ 0] : control
    asound.state:
    state.default {
    control.1 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'Mic Playback Switch'
    value false
    control.2 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 8065'
    comment.dbmin -2400
    comment.dbmax -2400
    iface MIXER
    name 'Mic Playback Volume'
    value.0 6144
    value.1 6144
    control.3 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'CD Playback Switch'
    value true
    control.4 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 8065'
    comment.dbmin -2400
    comment.dbmax -2400
    iface MIXER
    name 'CD Playback Volume'
    value.0 5575
    value.1 5575
    control.5 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'Speaker Playback Switch'
    value false
    control.6 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 8065'
    comment.dbmin -2400
    comment.dbmax -2400
    iface MIXER
    name 'Speaker Playback Volume'
    value.0 6144
    value.1 6144
    control.7 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'Speaker Playback Switch'
    index 1
    value true
    control.8 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 8
    comment.range '0 - 197'
    comment.dbmin -3693
    comment.dbmax -147
    iface MIXER
    name 'Speaker Playback Volume'
    index 1
    value.0 196
    value.1 196
    value.2 196
    value.3 196
    value.4 196
    value.5 196
    value.6 196
    value.7 196
    control.9 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'Mic Capture Switch'
    value true
    control.10 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 6928'
    comment.dbmin -1600
    comment.dbmax -1600
    iface MIXER
    name 'Mic Capture Volume'
    value.0 4096
    value.1 4096
    control.11 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'PCM Capture Switch'
    value true
    control.12 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 6928'
    comment.dbmin -1600
    comment.dbmax -1600
    iface MIXER
    name 'PCM Capture Volume'
    value.0 4096
    value.1 4096
    control.13 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'CD Capture Switch'
    value true
    control.14 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 6928'
    comment.dbmin -1600
    comment.dbmax -1600
    iface MIXER
    name 'CD Capture Volume'
    value.0 0
    value.1 0
    control.15 {
    comment.access 'read write'
    comment.type BOOLEAN
    comment.count 1
    iface MIXER
    name 'PCM Capture Switch'
    index 1
    value true
    control.16 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 2
    comment.range '0 - 6928'
    comment.dbmin -1600
    comment.dbmax -1600
    iface MIXER
    name 'PCM Capture Volume'
    index 1
    value.0 4096
    value.1 4096
    control.17 {
    comment.access 'read write'
    comment.type ENUMERATED
    comment.count 1
    comment.item.0 Mic
    comment.item.1 Mixer
    comment.item.2 'CD '
    comment.item.3 'Input 3'
    iface MIXER
    name 'PCM Capture Source'
    value Mic
    Thanks again!

    Some other observations that may be helpful (and, hopefully, get closer to the heart of the problem)...
    (1) Whenever VLC is playing audio (as mentioned in previous post, it is only application that works in desired manner), it will show up in Kmix's "Playback Streams" tab. Whenever Wine and Firefox are playing, they do NOT show up in the "Playback Streams" tab.
    (2) Kmix will not allow more than one open application to grab the UA-5 sound (e.g. If I open Firefox and play audio, stop playing audio (while leaving Firefox open), then open VLC and try to play audio, VLC will not play audio (unless Firefox is closed)). This is likely a related problem to the problem outlined in the previous post, but it might not be. If it isn't, I'll take advice on how to let KMIX grab multiple audio sources simultaneously on the same sound card.
    Thanks for reading!

  • Storing ALSA volumes

    Hi,
    I've got an Acer laptop with Realtek soundcard (hda-intel driver).
    Sound works perfectly except that the alsa daemon fails to store and restore volumes.
    If I remove alsa from rc.conf, in gnome volume manager I see 2 soundcards, "Realtek" and "ATI HD USB".
    Then I can change the settings and issue "alsactl store" and "alsactl restore" at the terminal, and it works. Of course if I reboot my volume is muted and I have to manually issue "alsactl restore".
    If I add "alsa" to rc.conf, when the daemon launches "alsactl restore" it gives this error:
    alsactl: get_control:209: Cannot read control info '2,0,0,Capture Volume,1': Invalid argument
    Similarly it fails also to store volumes at shutdown.
    What is different is that with "alsa" in rc.conf, the default volume is set to max so for now I let  in rc.conf.
    Another difference is that only Realtek soundcard is displayed in gnome volume manager.
    Thanks in advance for any help
    Greetings

    I also have an acer laptop with Realtek soundcard, and i am having the same issue. Can anyone help?
    Last edited by fadain (2007-04-24 16:51:52)

  • Wmix dockapp - ALSA. volume change dont work

    hi! i change my rig (new motherboard,cpu,videocard...) and i use wmix to change volume under fluxbox... but this motherboard onboard audio is high definition audio or something like that and i change volume in wmix and dont work like always, i can mute or down sliders but volume is the same... in the page
    http://dockapps.org/file.php/id/58
    says it can change volume for OSS or ALSA, but dont know how to switch between them, so it says:
    "Can use a configuration file to control some of the features." but dont know where it is this conf file...
    TNX!

    By menu bar you mean the sound at the top of the screen?
    That doesn´t work either, it´s locked.

  • [Solved] Alsa volume more than 100%

    Hey,
    just wondering if it's possible to raise the volume more than 100% if you just use alsa. In pulseaudio it's possible (up to 153%) and then the alsamixer shows also this value.
    Best Regards
    Last edited by dejavu (2011-11-02 19:48:53)

    Have a look at this.

  • Systemd randomly resetting master ALSA volume [SOLVED]

    Occasionally the master volume is reset back to 34% from where it was before the last shutdown (100%). I'm pretty sure it's related to alsa-store.service but I have no idea where the actual problem is and it's driving me insane. I'm not using PulseAudio either.
    Last edited by speeddefrost (2015-02-15 00:13:17)

    I think there are two problems in your case:
    1) you don't have the right volume stored in '/var/lib/alsa/asound.state', because when you run
    # alsactl restore
    you don't get the right values.
    To solve this, you can do what I mentioned in my post #10
    or if you are sure nothing will change the volume in the running system, you can leave the alsa-store.service enabled, and run only:
    # alsactl store
    once, with the good values.
    2) There is a problem in the default systemd configuration of the sound with alsa installed.
    In fact I have the same problem, but the title of your thread leads me to think it was not the same issue.
    For me, I get:
    LANG=C journalctl|grep "No soundcards found"
    Jan 24 10:49:44 arch64 alsactl[223]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 25 10:14:24 arch64 alsactl[223]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 27 10:40:36 arch64 alsactl[223]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 27 17:15:38 arch64 alsactl[221]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 28 10:11:21 arch64 alsactl[221]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 29 10:16:34 arch64 alsactl[224]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 29 12:00:24 arch64 alsactl[226]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Jan 31 10:38:31 arch64 alsactl[224]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 01 10:22:06 arch64 alsactl[225]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 03 10:39:31 arch64 alsactl[225]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 03 16:46:00 arch64 alsactl[227]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 06 14:01:56 arch64 alsactl[227]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 07 09:57:32 arch64 alsactl[224]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 08 10:33:16 arch64 alsactl[233]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Feb 09 10:26:32 arch64 alsactl[223]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    My machine is booted every day, but the 'No soundcards found' message doesn't appear every day, so there is a randomness in the occurence.
    When it happens, the alsa-restore service is started before the sound target is reached.
    Until today, the workaround I used was to re-run the alsa-restore service 2 minutes after boot with a timer.
    But studying the problem again, I tried something else, based on:
    $ man systemd.special
    sound.target
    This target is started automatically as soon as a sound card is plugged in or becomes available at boot.
    This may be used to pull in audio management daemons dynamically when audio hardware is found.
    I ran:
    # systemctl add-wants sound.target alsa-restore.service
    # systemctl daemon-reload
    At the next boot, it works:
    LANG=C journalctl -b|grep -i -e alsa -e sound -e snd
    Feb 10 16:47:03 arch64 kernel: snd_hda_intel 0000:00:09.0: Disabling MSI
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: mono: mono_out=0x0
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: dig-out=0x1e/0x0
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: inputs:
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: Rear Mic=0x18
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: Front Mic=0x19
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: Line=0x1a
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: CD=0x1c
    Feb 10 16:47:04 arch64 kernel: sound hdaudioC0D0: dig-in=0x1f
    Feb 10 16:47:06 arch64 kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:09.0/sound/card0/hdaudioC0D0/input6
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Rear Mic as /devices/pci0000:00/0000:00:09.0/sound/card0/input7
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Front Mic as /devices/pci0000:00/0000:00:09.0/sound/card0/input8
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Line as /devices/pci0000:00/0000:00:09.0/sound/card0/input9
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Line Out Front as /devices/pci0000:00/0000:00:09.0/sound/card0/input10
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Line Out Surround as /devices/pci0000:00/0000:00:09.0/sound/card0/input11
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Line Out CLFE as /devices/pci0000:00/0000:00:09.0/sound/card0/input12
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia Line Out Side as /devices/pci0000:00/0000:00:09.0/sound/card0/input13
    Feb 10 16:47:06 arch64 kernel: input: HDA NVidia HDMI/DP,pcm=3 Phantom as /devices/pci0000:00/0000:00:09.0/sound/card0/input14
    Feb 10 16:47:06 arch64 systemd[1]: Starting Sound Card.
    Feb 10 16:47:06 arch64 systemd[1]: Reached target Sound Card.
    Feb 10 16:47:13 arch64 systemd[1]: Started Manage Sound Card State (restore and store).
    Feb 10 16:47:13 arch64 systemd[1]: Starting Restore Sound Card State...
    Feb 10 16:47:14 arch64 systemd[1]: Started Restore Sound Card State.
    But it needs to be confirmed in the next days.
    I will post again about that...
    Last edited by berbae (2015-02-10 17:09:25)

  • Need to turn down Volume/ sensitivity of microphone on 8350i

    is there a way to turn down the microphone ? everybody i talk to always tells me they can hear every little noise in backround and they said its very loud. ive never had this problem with another phone .im wondering also if the mic gets turned down if they echo issues would go away.the mic is so sensitive its probly pickin up the ear speaker.

    the microphone is next to the mute button, on the top of your device. two little holes.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Save Alsa Volume Levels

    For some reason when I reboot my Arch Linux workstation, Also is always muted when I login. I always have to go into my sound preferences window (Gnome) & enable the levels and select 'headphones' which gets very annoying after some time. I don't remember how I can save my Alsa levels on Arch Linux and the Wiki has changed in the last year since I've installed Arch Linux. Can someone please show me how I can save this so I don't always have to un-mute and configure my sound during each reboot?
    Thank you!

    Carlwill wrote:
    foutrelis wrote:'alsactl store'), to save the current sound levels.
    I think this is exactly what I'm looking for. I will test it and report back.
    Thank you!
    The problem is, /etc/rc.d/alsa does pretty much the same thing; it runs 'alsactl restore' on boot and 'alsactl store' on shutdown.
    Also, check if SAVE_VOLUME is set to 'yes' in /etc/conf.d/alsa. (This is the default, but you never know.)

  • ALSA volumes not stored properly - what gives?

    Recently, I've encountered a problem wherein my ALSA settings are not stored, even though I have the alsa daemon running. The relevent settings are for PCM and CD - when I shut down, both are at 100 and unmuted; after booting, PCM is at 100 and muted, and CD is at 0 and muted. Any other changes I make are also lost on the next bootup. What is going on?

    same here. I suspect its a udev thing; the devices haven't had time to set up when alsa is called. I added
    sleep 5
    underneath
    stat_busy "Restoring ALSA Levels"
    in /etc/rc.d/alsamixer and it works ok. Since I background the alsa daemon, this doesn't slow down bootup. THere's got to be a better way.
    Dusty

  • Seperate Volumes between alsa and pulseaudio

    I have pulseaudio running as my primary sound server, and all alsa apps (Sygic Drive in particular) running through the pulseaudio-alsa plugin which works great.
    My problem is that when Drive starts up (Or outputs any audio), it changes the master volume in pulse to whatever volume drive is set to use.
    Example of this is, set pulseaudio to 0%, make Drive output audio, the pulse volume shoots back up to whatever Drive's config is set to change the volume to.
    I have tried changing
    flat-volumes = no
    in /etc/pulse/daemon.conf which gives me an individual volume for the app, yet the app can still mess with the master control in pulse.
    I was wondering, Is there a way to setup a completely different sink that all alsa apps use that has its own set of alsa controls that Drive can mess with, without messing with the pulse master control.
    I.e. set pulse master to 50%, Drive makes audio at say 70%, drive changes the dummy "master" to 70% which would equate to 70% of the 50% of master volume (35% total volume)
    As I only have one alsa app that is causing me this nightmare, I am happy for all alsa apps to use the one set of dummy sinks.
    In basic, I want my alsa volumes completely seperate (but not exceeding) from pulseaudio's. But pulseaudio is still master, so if 50% master volume is set in pulse, maximum is 50% of total volume.
    Cheers.

    I have pulseaudio running as my primary sound server, and all alsa apps (Sygic Drive in particular) running through the pulseaudio-alsa plugin which works great.
    My problem is that when Drive starts up (Or outputs any audio), it changes the master volume in pulse to whatever volume drive is set to use.
    Example of this is, set pulseaudio to 0%, make Drive output audio, the pulse volume shoots back up to whatever Drive's config is set to change the volume to.
    I have tried changing
    flat-volumes = no
    in /etc/pulse/daemon.conf which gives me an individual volume for the app, yet the app can still mess with the master control in pulse.
    I was wondering, Is there a way to setup a completely different sink that all alsa apps use that has its own set of alsa controls that Drive can mess with, without messing with the pulse master control.
    I.e. set pulse master to 50%, Drive makes audio at say 70%, drive changes the dummy "master" to 70% which would equate to 70% of the 50% of master volume (35% total volume)
    As I only have one alsa app that is causing me this nightmare, I am happy for all alsa apps to use the one set of dummy sinks.
    In basic, I want my alsa volumes completely seperate (but not exceeding) from pulseaudio's. But pulseaudio is still master, so if 50% master volume is set in pulse, maximum is 50% of total volume.
    Cheers.

  • Xmonad/Xmobar - How do you display volume in xmobar?

    I would like it to indicate the current percentage of volume and mute indication. Is anyone generous enough to help or share?

    10PinkPanther wrote:Don't know about Xmonad but I use stalonetray for that (nm-applet and volwheel).Herbstluftwm is my WM.I also use i3 and in that case i3 bar displays icons.I'm sure you can use trayer as well.
    I was looking for an answer that could be in use with xmobar. I tried installing xmobar's alsa volume plugin, but it seems that it's not working. There isn't really any reliable instruction to do so.

  • [Solved] ALSA "This sound device does not have any controls" XDJ-R1

    Hey guys,
    I have a XDJ-R1 which includes a 24bit 44.1khz USB soundcard that can be used to record audio from the mixer.
    When I plug it in it's detected fine. However using alsamixer (or amixer) I don't see any audio controls for volume.
    If I start pulseaudio it will detect the device just fine. However, at 100% volume the audio seems rather low. I'm seeing about -24db while my mixer shows the output at around +2db. I suspect the ALSA volume is rather low. But have no way of changing it as I can't seem to see any controls!
    Here are some command outputs:
    alpaly -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: XDJR1 [PIONEER XDJ-R1], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    sysdefault:CARD=Intel
    HDA Intel, ALC269 Analog
    Default Audio Device
    front:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    Front speakers
    surround40:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
    HDA Intel, ALC269 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    default:CARD=XDJR1
    PIONEER XDJ-R1, USB Audio
    Default Audio Device
    sysdefault:CARD=XDJR1
    PIONEER XDJ-R1, USB Audio
    Default Audio Device
    front:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    Front speakers
    surround40:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=XDJR1,DEV=0
    PIONEER XDJ-R1, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
    amixer -c 1
    (output is empty)
    cat /proc/asound/devices
    2: [ 0- 0]: digital audio playback
    3: [ 0- 0]: digital audio capture
    4: [ 0- 0]: hardware dependent
    5: [ 0] : control
    6: [ 1- 0]: raw midi
    7: [ 1- 0]: digital audio playback
    8: [ 1- 0]: digital audio capture
    9: [ 1] : control
    33: : timer
    (with pulseaudio on) pacmd list-sources
    3 source(s) available.
    index: 2
    name: <alsa_input.usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9049
    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max rewind: 0 KiB
    sample spec: s24le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 1
    fixed latency: 99.95 ms
    card: 1 <alsa_card.usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1>
    module: 5
    properties:
    alsa.resolution_bits = "24"
    device.api = "alsa"
    device.class = "sound"
    alsa.class = "generic"
    alsa.subclass = "generic-mix"
    alsa.name = "USB Audio"
    alsa.id = "USB Audio"
    alsa.subdevice = "0"
    alsa.subdevice_name = "subdevice #0"
    alsa.device = "0"
    alsa.card = "1"
    alsa.card_name = "PIONEER XDJ-R1"
    alsa.long_card_name = "Pioneer PIONEER XDJ-R1 at usb-0000:00:1d.1-2, full speed"
    alsa.driver_name = "snd_usb_audio"
    device.bus_path = "pci-0000:00:1d.1-usb-0:2:1.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0/sound/card1"
    udev.id = "usb-Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1-00-XDJR1"
    device.bus = "usb"
    device.vendor.id = "08e4"
    device.vendor.name = "Pioneer Corp."
    device.product.id = "0170"
    device.product.name = "PIONEER XDJ-R1"
    device.serial = "Pioneer_PIONEER_XDJ-R1_PIONEER_XDJ-R1"
    device.string = "front:1"
    device.buffering.buffer_size = "26448"
    device.buffering.fragment_size = "6612"
    device.access_mode = "mmap"
    device.profile.name = "analog-stereo"
    device.profile.description = "Analog Stereo"
    device.description = "PIONEER XDJ-R1 Analog Stereo"
    alsa.mixer_name = "USB Mixer"
    alsa.components = "USB08e4:0170"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-usb"
    ports:
    analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
    properties:
    active port: <analog-input>
    What might I be missing? Why can PA figure the device out but ALSA can't?
    Last edited by EvanPurkhiser (2014-04-16 09:27:13)

    I'm interested in recording from the mixer over USB.
    The device also supports playback into the mixer, but I assume this is designed for use in conjunction with using the device as a MIDI-Controller, which I don't have any intentions of doing.
    What I've been doing to check the levels of the device is to play a track through the device (making sure that the VU meter for the channel is peaking at around 0db), record using `ffmpeg -f pulse -i 1 recording.wav` and then running `ffmpeg -i recording.wav -af "volumedetect" -f null /dev/null`
    Which looks something like this:
    [Parsed_volumedetect_0 @ 0x1f0eb80] n_samples: 10265206
    [Parsed_volumedetect_0 @ 0x1f0eb80] mean_volume: -26.1 dB
    [Parsed_volumedetect_0 @ 0x1f0eb80] max_volume: -12.0 dB
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_12db: 21
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_13db: 238
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_14db: 1619
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_15db: 7703
    [Parsed_volumedetect_0 @ 0x1f0eb80] histogram_16db: 29370
    I actually _can_ record directly from alsa, but I have to tell it the format, rate, and channels of the device.
    [netbook/scratch/]> arecord -D hw:1 test.wav
    Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
    arecord: set_params:1233: Sample format non available
    Available formats:
    - S24_3LE
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Mono
    arecord: set_params:1239: Channels count non available
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE -c 2 test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 44100Hz)
    please, try the plug plugin
    [netbook/scratch/]> arecord -D hw:1 -f S24_3LE -c 2 -r 44100 test.wav
    Recording WAVE 'test.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 Hz, Stereo
    The volume is still just as low as recording with PA though

  • Is there any way to iconify a volume control? solved

    I know how to adjust the alsa volume.
    What I'm wanting is to iconify some sort of volume control to place in the kicker panel so I don't have to open alsa up every time to adjust the volume.
    Anyone know of a way to do that?
    Shouldn't make a diff but if it does I'm using kdemod.
    Last edited by windtalker (2008-03-19 04:18:10)

    Pfft!
    I had just got done removing the kde from the original install and replacing it with kdemod.
    The original kde didn't have the mixer icon, i opened kmix up and the mixer icon popped up on the kicker.
    Cool!

Maybe you are looking for

  • My ipod touch isnt recognised in windows or itunes

    my ipod touch isnt recognised in windows or itunes.i have reinstalled itunes and updated software on ipod touch

  • Moving from ABAP to ABAP oo

    We are currently running on a 4.0 system, but are preparing for an upgrade to ERP '05. I have looked at OO and have collected a few questions. 1.     A simple ABAP report today in 4.0 looks like this : Selection-screen Start-of-selection Perform read

  • ORA-306500 error when using EXEC_SQL? [SOLVED]

    I used Francois Degrelle's example of doing a dynamic where clause to create a procedure using the EXEC_SQL package to get various counts from a table with different where clauses. Everything works for all the where clauses except when I try a date c

  • HT204291 no video using Airplay from DVD

    I can see my desktop and a video window appears on both my MBP (2012 model) and on my TV but the image of the DVD I'm trying to play shows a checkerboard pattern.  The audio passes through just fine.

  • Decision Report from siebel-determinations-server missing name substitution

    In the debugger decision report, I get the name substitution - ie "Bubba Gump is eligible". But in the decision report that gets saved in Siebel, I am getting "the person is eligible" the inbound XML also shows "the person" What do I need to be doing