All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian H." <vand2@gmx.de>
To: Raymond Yau <superquad.vortex2@gmail.com>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Alsamixer-Qt4 0.4.0 released
Date: Fri, 06 Aug 2010 16:34:50 +0200	[thread overview]
Message-ID: <4C5C1D8A.2040906@gmx.de> (raw)
In-Reply-To: <AANLkTimSVVvT2zvhKhcSPyOgf76q2ea61xtjEOd3Kp3t@mail.gmail.com>


> EQ Peaks is a  volatile control without write access  (i.e. you cannot use
> slider since you cannot modify the value ) which provide the peak of  10
> bands (31Hz, 63Hz, 125Hz, 250Hz, 500Hz, 1Kz, 2Kz, 4Kz, 8Kz , 16Kz) stereo
> channels of the au8830's hardware equalizer  ,  ( one stereo vu-meters at
> each band )
> 
> The values are ordered  by left channel of 10 bands followed by right
> channel of 10 bands
> 
> 
>  control.12 {
>         comment.access read
>         comment.type INTEGER
>         comment.count 20
>         comment.range '0 - 32767'
>         iface MIXER
>         name 'EQ Peaks'
>         value.0 1
>         value.1 1
>         value.2 0
>         value.3 0
>         value.4 1
>         value.5 1
>         value.6 1
>         value.7 1
>         value.8 0
>         value.9 0
>         value.10 1
>         value.11 1
>         value.12 0
>         value.13 0
>         value.14 0
>         value.15 0
>         value.16 1
>         value.17 1
>         value.18 0
>         value.19 0
>     }

Where do you get this listing from?
I greped through the alsa source but did not find it.
Is it an amixer output or so?

> EQ enable switch control the output of DSP pass through/bypass the equalizer
> ,
> so your application can based on the on/off state of the switch to
> start/stop a timer which  read the value from EQ peak control and display on
> 10 stereo vu-meters at regular time intervals
> 
> There are also 10  stereo volume controls to control gain/atten of 10 bands
> of the hardware equalizer
>

I see, thank you for the explanation!


> if your application are unable to display EQ peaks , it is better to skip
> this "EQ peaks" control with count =20 or simple mixer control with 20
> channels

For now I'll skip any element which is named "EQ peaks".
Would this be acceptable with regard to other cards?


> All the EQ controls appear on capture side is a bug of alsa-lib or the
> driver , either change the name of those  "EQ xx" controls to "EQ xx
> Playback" in the driver or add "EQ" to the definition of the controls name

There could be a workaround for this bug in the mixer but IMHO
it should better be fixed in the driver or alsa-lib.


I've enabled the Mercurial repository at sourceforge, it is at:

http://alsamixer-qt4.hg.sourceforge.net:8000/hgroot/alsamixer-qt4/alsamixer-qt4

Cloning and compiling should work like this:

hg clone
http://alsamixer-qt4.hg.sourceforge.net:8000/hgroot/alsamixer-qt4/alsamixer-qt4

cd alsamixer-qt4
mkdir build && cd build
cmake
make


The changes are in the repository if you want to give them a try.

Best,
Sebastian

  reply	other threads:[~2010-08-06 14:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 12:17 Alsamixer-Qt4 0.4.0 released Sebastian H.
2010-08-04 23:33 ` errordeveloper
2010-08-05 11:22   ` Sebastian H.
2010-08-08 12:12     ` Sebastian H.
2010-08-05  7:20 ` Raymond Yau
2010-08-05 12:48   ` Sebastian H.
2010-08-06  0:26     ` Raymond Yau
2010-08-06 14:34       ` Sebastian H. [this message]
2010-08-12  1:38         ` Raymond Yau
2010-08-12  9:27           ` Sebastian H.
2010-08-05  8:46 ` The Source
2010-08-08 20:54 ` Niels Mayer
2010-08-09 14:08   ` Sebastian H.
2010-08-12 14:20     ` Niels Mayer
2010-08-15 13:14       ` Sebastian H.
2010-09-25  1:25 ` Raymond Yau
2010-09-25 10:42   ` Sebastian H.
2010-09-25 23:56     ` Raymond Yau
2010-09-26 10:36       ` Sebastian H.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5C1D8A.2040906@gmx.de \
    --to=vand2@gmx.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=superquad.vortex2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.