sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Markus Glugla <markus.glugla@physik.tu-berlin.de>
To: sox-devel@lists.sourceforge.net
Subject: spectrogram
Date: Fri, 31 Oct 2014 19:19:56 +0100	[thread overview]
Message-ID: <1414779596.22596.25.camel@tycho-brahe> (raw)

Hello,

I am new on this list and I have a question.

The source code for the spectrogram includes the following line:

double dBFS = 10 * log10 ( p > magnitudes [ i ] * p-> block_norm ) ;

I'm not sure, but the product p-> magnitudes [ i ] * p-> block_norm
describes an amplitude spectrum and not a power spectrum, right?

If so, then it should be 20*log10(...) instead 10*log10(...) with an
output displayed in dBFS.

I would be grateful for an explanation, thank you.

Markus Glugla




------------------------------------------------------------------------------

             reply	other threads:[~2014-10-31 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 18:19 Markus Glugla [this message]
2014-11-01 11:19 ` spectrogram Rob Sykes
2014-11-01 11:53   ` spectrogram Markus Glugla

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-list from there: mbox

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

  List information: https://lists.sourceforge.net/lists/listinfo/sox-devel

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

  git send-email \
    --in-reply-to=1414779596.22596.25.camel@tycho-brahe \
    --to=sox-devel@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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).