Sponsored Content
Top Forums Shell Programming and Scripting Generate 10000 unique audio file of 2MB each using shell script. Post 302956058 by sushil.kumar on Friday 25th of September 2015 07:18:44 AM
Old 09-25-2015
Thanks for reply,
I do not bother about audio quality of these files as it is not in scope.

* Any audio file format either raw, wav, AIFF, MP3 etc. is fine.
* Any type of audio either voice, music, noise or bandpass tests.
* Sampling rates should be between 44.1kHz or 48kHz.
* It can be anything among Stereo, mono, multichannel, etc?
* Anything either digitally and/or analogue compressed or not?

I need to use these file to testing software with unique file every time at unix command line so do not bother to listen any file. My requirement is to have almost same size audio file(10% +- is file size).

Regards,
Sushil Kumar
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need to generate unique id from constant sid

Hello I have multiple accounts that running application that uses unique port number I want to generate this port from some sid number that stays constant for every user account , is there any place in the system that generate number that is unique to the account ? thanks (0 Replies)
Discussion started by: umen
0 Replies

2. Shell Programming and Scripting

Urgent: selecting unique specific content of a file using shell script

Hi, I have a file whose content and format at places is as given below. print coloumn .... coloumn .... coloumn .... skip 1 line print coloumn ... skip 1 line I need to select the following : print coloumn .... coloumn .... coloumn... (2 Replies)
Discussion started by: jisha
2 Replies

3. Shell Programming and Scripting

How to generate 10.000 unique numbers?

hello, does anybody can give me a hint on how to generate a lot of numbers which are not identically via scripting etc? (7 Replies)
Discussion started by: xrays
7 Replies

4. Shell Programming and Scripting

Create shell script to extract unique information from one file to a new file.

Hi to all, I got this content/pattern from file http.log.20110808.gz mail1 httpd: Account Notice: close igchung@abc.com 2011/8/7 7:37:36 0:00:03 0 0 1 mail1 httpd: Account Information: login sastria9@abc.com proxy sid=gFp4DLm5HnU mail1 httpd: Account Notice: close sastria9@abc.com... (16 Replies)
Discussion started by: Mr_47
16 Replies

5. Shell Programming and Scripting

a shell script to generate an excel sheet from a text file..

hi, i have a text file that looks like this! i want to generate an excel sheet out of it, removing all the junk data except the addresses that look like . Arrow Electrical Services Rotating Machinery, Electrical Contracting & Mining Specialists Onsite maintenance, breakdown... (8 Replies)
Discussion started by: vemkiran
8 Replies

6. Linux

Shell Script to generate Dynamic Param file Using SQL Plus Quey

Hi All, Can anyone give me Shell script sample script to generate Param file by Reading Values from SQL Plus query and it should assign those values to variables like.. $$SChema_Name='ORCL' Thanks in Advance... Srav... (4 Replies)
Discussion started by: Sravana Kumar
4 Replies

7. Shell Programming and Scripting

Generate unique mac address

Hi, I want to generate 2000 mac address. Please let me know how to do so. Perl script or there is some tool availlable wherein i can give the count and it will generate that many mac-address Thanks, Kriti (4 Replies)
Discussion started by: kriti
4 Replies

8. Shell Programming and Scripting

Shell script to compare and generate a new file

Requirement is I have two files their format is File1 - input_file ----- tmp_value|3|number|| tmp_value1|3|alpha|| tmp_value2|6|alpha|AA AA| tmp_value3|15|number|000000005| tmp_value4|15|number|000000000000000| tmp_value5|11|alpha|bbbbbbbbbbb| tmp_value6|11|alpha|bb bb| input_file ... (4 Replies)
Discussion started by: greenworld123
4 Replies

9. Shell Programming and Scripting

Parameterizing to dynamically generate the extract file from Oracle table using Shell Script

I have below 2 requirements for parameterize the generate the extract file from Oracle table using Shell Script. Could you please help me by modifying the script and show me how to execute it. First Requirement: I have a requirement where I need to parameterize to generate one... (0 Replies)
Discussion started by: hareshvikram
0 Replies

10. UNIX for Beginners Questions & Answers

Shell script newbie- how to generate service log from shell script

Hi, I am totally a newbie to any programming languages and I just started an entry level job in an IT company. One of my recent tasks is to create a script that is able to show the log file of linux service (i.e. ntpd service) lets say, if I run my script ./test.sh, the output should be... (3 Replies)
Discussion started by: xiaogeji
3 Replies
SFINFO(1)																 SFINFO(1)

NAME
sfinfo - display information about audio files SYNOPSIS
sfinfo [options] audio files... DESCRIPTION
sfinfo prints information about the specified audio files, including file format, sample rate, duration, and audio data format. By default sfinfo displays information in a longer, multi-line format; specifying the --short or -s option produces a short, single-line summary. Any files which are not recognized as valid audio files will be ignored unless the --reporterror or -r option is given. The file formats currently supported by sfinfo are AIFF, AIFF-C, NeXT/Sun .snd/.au, WAVE, Berkeley/IRCAM/CARL Sound File, AVR, Amiga IFF/8SVX, Sample Vision, Creative Voice File, NIST SPHERE, and Core Audio Format. OPTIONS
--short, -s Print short single-line summary of each recognized audio file. --reporterror, -r Print an error message if any of the specified files are not recognized as valid audio files. --help, -h Print help message. --version, -v Print version information. EXAMPLES
Display summary of an audio file: % sfinfo drum.aiff File Name drum.aiff File Format Audio Interchange File Format (aiff) Data Format 16-bit integer (2's complement, big endian) Audio Data 1569972 bytes begins at offset 54 (36 hex) 2 channels, 392493 frames Sampling Rate 44100.00 Hz Duration 8.900 seconds List all recognized audio files in the current directory using the short output format: % sfinfo -s * 9.60s 44100.00 aiff 1ch 16b -- bass.aiff 8.90s 44100.00 aiff 2ch 16b -- drum.aiff SEE ALSO
sfconvert(1) AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 SFINFO(1)
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy