IPB

Welcome Guest ( Log In | Register )

Commandline audio analysis utility?
sheh
post Nov 4 2012, 18:37
Post #1





Group: Members
Posts: 89
Joined: 3-November 04
Member No.: 17971



Can anyone suggest a utility that takes an audio file as input, and can output to a text/CSV file various data (RMS, peaks, dominant frequencies, etc.) per each N ms of the input, for both time and frequency domains?

Windows is my main target, but *nix as well.

It seems SoX has a few features in this direction, but not flexible enough (e.g., data per N ms, frequency domain resolution).
Go to the top of the page
+Quote Post
 
Start new topic
Replies
chi
post Nov 5 2012, 01:47
Post #2





Group: Members
Posts: 45
Joined: 27-November 11
Member No.: 95439



QUOTE (sheh @ Nov 4 2012, 19:37) *
It seems SoX has a few features in this direction, but not flexible enough (e.g., data per N ms, frequency domain resolution).


For the time-domain values, you could use something like this:
CODE
sox input.wav -n trim 0 0.012 stats : restart
(change 0.012 s = 12 ms into the desired block length). You are right, however, regarding the frequency domain; there is not much support for that.
Go to the top of the page
+Quote Post
sheh
post Nov 5 2012, 20:03
Post #3





Group: Members
Posts: 89
Joined: 3-November 04
Member No.: 17971



It won't be efficient, executing it thousands of times.
Go to the top of the page
+Quote Post
phofman
post Nov 6 2012, 14:23
Post #4





Group: Members
Posts: 304
Joined: 14-February 12
Member No.: 97162



QUOTE (sheh @ Nov 5 2012, 21:03) *
It won't be efficient, executing it thousands of times.


The command "restart" does not re-execute sox as a new process. It is just a sox parameter telling it to loop the internal processing chain.
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th September 2014 - 16:46