linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Periodic noise on microphone with bt_sco (BTA-6030 Dongle, Motorola H500 Headset)
Date: Mon, 07 Nov 2005 16:21:14 +0100	[thread overview]
Message-ID: <1131376874.5824.127.camel@blade> (raw)
In-Reply-To: <436F6FEA.4030207@csr.com>

Hi Steven,

> > When I record "silence" from the microphone (as silent as possible) then
> > there is clearly the noise with about -40db power.
> > Is there a way to record the digital from the headset directly, before
> > it is processed in alsa? Similar to the way hcidump works, maybe?
> 
> In theory, if you use hcidump and extract all the SCO data, you should
> just have raw samples which you can stitch together into a file.
> 
> You should be able to see the two directions independently and see
> where the noise is being introduced.
> 
> I don't know if there's a speific tool, but use hcidump -w to make a
> raw log and then use hcidump -x -r to read the log back later. A little
> bit of perl and a pass through sox should get the data into a playable
> format.

I never fully tested it, but you can extract the SCO stream with -A in
the latest hcidump version. It was one of my fast and ugly hacks for
some security auditing of headsets at the last UnPlugFest, but we never
actually came around in using it seriously.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-11-07 15:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07  9:19 [Bluez-users] Periodic noise on microphone with bt_sco (BTA-6030 Dongle, Motorola H500 Headset) Dirk Stockmann
2005-11-07 12:50 ` Steven Singer
2005-11-07 12:56   ` Marcel Holtmann
2005-11-07 13:26   ` Dirk Stockmann
2005-11-07 13:49     ` Steven Singer
2005-11-07 14:11       ` Dirk Stockmann
2005-11-07 15:16         ` Steven Singer
2005-11-07 15:21           ` Marcel Holtmann [this message]
2005-11-07 17:57             ` Brad Midgley
2005-11-09  8:44             ` [Bluez-users] Periodic noise on microphone with bt_sco [Solved] Dirk Stockmann
  -- strict thread matches above, loose matches on Subject: below --
2005-11-08  1:08 [Bluez-users] Periodic noise on microphone with bt_sco (BTA-6030 Dongle, Motorola H500 Headset) Li, Lea
2005-11-08  1:26 Li, Lea

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=1131376874.5824.127.camel@blade \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).