All of lore.kernel.org
 help / color / mirror / Atom feed
From: Abramo Bagnara <abramo.bagnara@libero.it>
To: Laurent Georget <lgeorget2@club-internet.fr>
Cc: Devel Alsa <alsa-devel@lists.sourceforge.net>
Subject: Re: help for a levelmeter
Date: Fri, 18 Oct 2002 14:27:48 +0200	[thread overview]
Message-ID: <3DAFFE44.20CDE90E@libero.it> (raw)
In-Reply-To: 3DAFD3E9.8090400@club-internet.fr

Laurent Georget wrote:
> 
> 
> Excellent!
> 
> Well, you wrote  that there is a sample implementation of this pcm_meter ,
> but I can't find it (searched in alsa tools / utils , and searched  with
> google with no good result)
> 
> Anyway, i'm going on trying to use it


Install alsa-driver, alsa-lib, alsa-oss.
Insert (adapting it) this in your .asoundrc

pcm_scope.level {
	type level
}

pcm_scope_type.level {
	lib /u/cvs/alsa/alsa-lib/src/pcm/scopes/.libs/liblevel.so
}

pcm.dsp0 {
	type meter
	slave.pcm 'hw:0,0'
	scopes.0 level
}

Then try:

aplay -D dsp0 file.wav

or the more complex

aoss realplay /u/music/real/music.rm

and you'll see amazing things ;-)


-- 
Abramo Bagnara                       mailto:abramo.bagnara@libero.it

Opera Unica                          Phone: +39.546.656023
Via Emilia Interna, 140
48014 Castel Bolognese (RA) - Italy


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2002-10-18 12:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 21:15 help for a levelmeter Laurent Georget
2002-10-15 22:40 ` karsten wiese
2002-10-16 20:16   ` Laurent Georget
2002-10-17  7:10     ` Abramo Bagnara
2002-10-17 17:59       ` Jack O'Quin
2002-10-17 18:42         ` Patrick Shirkey
2002-10-17 20:48         ` Abramo Bagnara
2002-10-18  9:27           ` Laurent Georget
2002-10-18 12:27             ` Abramo Bagnara [this message]
2002-10-18 20:59               ` Laurent Georget
  -- strict thread matches above, loose matches on Subject: below --
2002-10-16 22:42 karsten wiese
     [not found] <3DAC1C6C000947E6@ims5a.libero.it>
2002-10-17 21:24 ` Abramo Bagnara
     [not found] <3DAC1C6C000959C1@ims5a.libero.it>
2002-10-17 21:56 ` Abramo Bagnara
2002-10-18  3:25   ` Patrick Shirkey
     [not found] <20021016220528.EF3E0E081@relay-4m.club-internet.fr>
2002-10-18  9:00 ` Laurent Georget

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=3DAFFE44.20CDE90E@libero.it \
    --to=abramo.bagnara@libero.it \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=lgeorget2@club-internet.fr \
    /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.