sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Joe Desbonnet <jdesbonnet@gmail.com>
To: sox-devel@lists.sourceforge.net
Subject: Spectrogram lower/upper frequency limit: proposal
Date: Sun, 16 Feb 2014 16:04:46 +0000	[thread overview]
Message-ID: <CAHBCceYM0LPEi4UTFC-0=ZaL_njvnFaXvDBezmwzjd8i5JZJzQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 874 bytes --]

In connection with my modification of the spectrogram to plot frequency on
a log10 axis, I have a need to place (at least) a lower bound on the
frequency. Eg looking at music, anything <10Hz is of no use and wastes
chart space.  I also have noticed a few requests for a feature to limit the
plot to a subset of the available frequencies. So I intend to add this in
the coming days.

I'm not very familiar with the sox utility, so I'm asking what's the best
way of specifying the lower and upper frequencies consistent with the rest
of the utility? What I propose is to use just one command line switch, eg
-R lower-freq[:upper-freq]

For example
-R 10
meaning from 10Hz -> nyquist frequency

-R 100:12k
meaning 100Hz -> 12kHz

So to generate a chart of a music file looking at frequencies 100Hz - 10kHz
sox mymusic.mp3 -n spectrogram -L -R 100:10k

Does that seem ok?

Joe.

[-- Attachment #1.2: Type: text/html, Size: 1136 bytes --]

[-- Attachment #2: Type: text/plain, Size: 382 bytes --]

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

                 reply	other threads:[~2014-02-16 16:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAHBCceYM0LPEi4UTFC-0=ZaL_njvnFaXvDBezmwzjd8i5JZJzQ@mail.gmail.com' \
    --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).