Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

envext(1) [debian man page]

ENVEXT(1)						  The Canonical Csound Reference						 ENVEXT(1)

NAME
envext - Extracts the envelope of a file to a text file. . SYNTAX
envext [-flags] soundfile csound -U envext [-flags] soundfile INITIALIZATION
soundfile - Name of the input soundfile. The following flags are available for envext (The default values are stated in parenthesis): -o fnam Name of output filename (newenv) -w size (in seconds) of analysis window (0.25) The envext utility generates a text file containing time and amplitude pairs by finding the absolute peak within each window. EXAMPLE
Using the command (while in the manual directory): csound -U envext examples/mary.wav will produce the a text file containing the following: 0.000 0.000 0.000 0.000 0.250 0.000 0.500 0.000 0.750 0.000 1.249 0.170 1.499 0.269 1.530 0.307 1.872 0.263 2.056 0.304 2.294 0.241 2.570 0.216 2.761 0.178 3.077 0.011 3.251 0.001 3.500 0.000 Which shows the time for the peak amplitude within each measured window. CREDITS
Author: John ffitch 1995 AUTHORS
Barry Vercoe MIT Media Lab Author. Dan Ellis MIT Media Lab, Cambridge Massachussetts Author. COPYRIGHT
5.10 08/01/2011 ENVEXT(1)

Check Out this Related Man Page

CVANAL(1)						  The Canonical Csound Reference						 CVANAL(1)

NAME
cvanal - Converts a soundfile into a single Fourier transform frame. . DESCRIPTION
Impulse Response Fourier Analysis for convolve operator SYNTAX
csound -U cvanal [flags] infilename outfilename cvanal [flags] infilename outfilename INITIALIZATION
cvanal -- converts a soundfile into a single Fourier transform frame. The output file can be used by the convolve operator to perform Fast Convolution between an input signal and the original impulse response. Analysis is conditioned by the flags below. A space is optional between the flag and its argument. -s rate -- sampling rate of the audio input file. This will over-ride the srate of the soundfile header, which otherwise applies. If neither is present, the default is 10000. -c channel -- channel number sought. If omitted, the default is to process all channels. If a value is given, only the selected channel will be processed. -b begin -- beginning time (in seconds) of the audio segment to be analyzed. The default is 0.0 -d duration -- duration (in seconds) of the audio segment to be analyzed. The default of 0.0 means to the end of the file. EXAMPLES
cvanal asound cvfile will analyze the soundfile "asound" to produce the file "cvfile" for the use with convolve. To use data that is not already contained in a soundfile, a soundfile converter that accepts text files may be used to create a standard audio file, e.g., the .DAT format for SOX. This is useful for implementing FIR filters. Files The output file has a special convolve header, containing details of the source audio file. The analysis data is stored as "float", in rectangular (real/imaginary) form. Note The analysis file is not system independent! Ensure that the original impulse recording/data is retained. If/when required, the analysis file can be recreated. CREDITS
Author: Greg Sullivan Based on algorithm given in Elements Of Computer Music, by F. Richard Moore. AUTHORS
Barry Vercoe MIT Media Lab Author. Dan Ellis MIT Media Lab, Cambridge Massachussetts Author. COPYRIGHT
5.07 06/23/2009 CVANAL(1)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sort data

Hi! I'm trying to sort a file.dat with the sort command. The data contained by file.dat is similar to the data set below: 100.000 99.000 110.000 55.000 113.000 33.000 25.000 9.000 15.000 It is relatively easy to sort the data in ascending or descending order, but the problem is... (11 Replies)
Discussion started by: bjorb
11 Replies

2. UNIX for Advanced & Expert Users

Grep Line with Matching Fields

Below is the scenario. Help is appreciated. File1: ( 500,000 lines ) : Three fields comma delimited : Not sorted 1234FAA,435612,88975 1224FAB,12345,212356 File2: ( 4,000,000 lines ) : Six fields comma delimited (Last 3 field should match the 3 fields of File1) : Not Sorted : ... (13 Replies)
Discussion started by: hemangjani
13 Replies

3. Shell Programming and Scripting

Average of elements throught multiple files

Hi, I got a lot of files looking like this: 1 0.5 6 All together there are ard 1'000'000 lines in each of the ard 100 files. I want to build the average for every line, and write the result to a new file. The averaging should start at a specific line, here for example at line... (10 Replies)
Discussion started by: chillmaster
10 Replies

4. Shell Programming and Scripting

column to row convert - script - help

Hi, I have a file named col.txt 1.000 2.000 3.000 4.000 5.000 6.000 7.000 8.000 I should get this 1.000 5.000 2.000 6.000 3.000 7.000 (10 Replies)
Discussion started by: G0Y
10 Replies

5. Shell Programming and Scripting

convertion of a file

Hi I am having file like this 1 560017039 575052020 22-11-2003 8,290.00 709545 100239050 11 2 560017006 575052020 13-01-2008 20,000.00 709545 100246770 11 i want to convert it like 5600170395750520202211200300000008290000000000000709545010023905011... (8 Replies)
Discussion started by: suryanarayana
8 Replies

6. Shell Programming and Scripting

Removing file lines that each match to a different patterns

I have a very large file (10,000,000 lines), that contains a sample id and a property of that sample. I have another file that contains around 1,000,000 lines with sample ids that I want to remove from the original file (create a new file without these lines). I know how to do this in Perl, but it... (9 Replies)
Discussion started by: Jo_puzzled
9 Replies

7. Shell Programming and Scripting

Writing a Perl Script that processes multiple files

I want to write a Perl script that manipulates multiple files. In the directory, I have files 250.*chr$.ped where * is from 1 to 1000 and $ is from 1-22 for a total of 22 x 10,000 = 22,000 files. I want to write a script that only manipulates files 250.1chr*.ped where * is from 1 to 22.... (10 Replies)
Discussion started by: evelibertine
10 Replies

8. Shell Programming and Scripting

search and replace in csv file

I have csv file where I want the second column has to be replaced with value 1. Source file 919568760477,1,2011-07-11T22:34:27.000+05:30, 919557735692,2,2011-07-11T22:36:16.000+05:30, 917417384969,2,2011-07-11T22:33:26.000+05:30, Final file ... (30 Replies)
Discussion started by: dondilip
30 Replies

9. Shell Programming and Scripting

sum numbers of multiple files

Hi, I want to count the number of occurrences of numbers from a file of 6,000,000 lines. Because its too large, I decided to split the counts up in multiple files. So I have files of the counts of 5,000 lines. Now I want to add up the counts of all those files. The "counts file" looks like... (9 Replies)
Discussion started by: linseyr
9 Replies

10. Shell Programming and Scripting

Adding columns of time

Hello all, I'm in the process of writing a script, and I need to be able to add columns of time in the following format (time elapsed Net Backup logs): 000:01:03 000:00:58 000:00:49 Does anyone have a way of converting and/or adding timestamps such as these accurately? Thanks in... (9 Replies)
Discussion started by: LinuxRacr
9 Replies

11. Shell Programming and Scripting

How to print column by getting user input.?

Hi.. I have data file.. and I could able to print using cat and awk like this cat filename awk '{print $1 "\t" $2 "\t" $3}' filenamebut I want to receive input from user like this echo -n " how many columns you want to display : " read abcsuppose if I give all, it should display all... (11 Replies)
Discussion started by: Akshay Hegde
11 Replies

12. Shell Programming and Scripting

Extract certain columns from big data

The dataset I'm working on is about 450G, with about 7000 colums and 30,000,000 rows. I want to extract about 2000 columns from the original file to form a new file. I have the list of number of the columns I need, but don't know how to extract them. Thanks! (14 Replies)
Discussion started by: happypoker
14 Replies

13. What is on Your Mind?

Congratulations to Corona688 for 20,000 Posts!

Please join me in congratulating and thanking Corona688 for 20,000 top quality posts at unix.com ! https://www.unix.com/members/1-albums112-picture651.png (11 Replies)
Discussion started by: Neo
11 Replies

14. Shell Programming and Scripting

Parse file for fields and specific text

I have a file of ~500,000 entries in the following: file.txt chr1 11868 12227 ENSG00000223972.5 . + HAVANA exon . gene_id "ENSG00000223972.5"; transcript_id "ENST00000456328.2"; gene_type "transcribed_unprocessed_pseudogene"; gene_status "KNOWN"; gene_name "DDX11L1"; transcript_type... (17 Replies)
Discussion started by: cmccabe
17 Replies