09-28-2015
Hi RudiC,
I only use terminal@Ubuntu Linux Virtual Machine. I tried to run at the terminal and it showed "Playing raw data 'audio1.raw' : Unsigned 8 bit, Rate 8000 Hz, Mono" as output.
suk@pabet-xmdevc105:~/audio$ aplay audio1.raw
Playing raw data 'audio1.raw' : Unsigned 8 bit, Rate 8000 Hz, Mono
Can i winscp and hear these audio files with any other audio player at windows machine if not "VLC Media player"
Regards,
Sushil kumar
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
na_record
NA_RECORD(1) BSD General Commands Manual NA_RECORD(1)
NAME
na_record -- record waveform from audio device
SYNOPSIS
na_record [-h] [-f sampling rate] [-audiodevice device] [-time seconds] [-o file] [-otype type] [-ostype sample type] [-F sample rate]
[-obo MSB | LSB | native] [-oswap] [-p audio device protocol]
DESCRIPTION
na_record records digital audio data from the system's audio input device and writes it to the specified file. It supports a variety of out-
put file formats and native audio devices.
The following option flags are recognized:
-h Prints a short summary of usage to standard output.
-f sampling rate
Sets the input sampling rate (in samples per second, i.e. Hz). Not all devices support all sampling rates, so it may be desire-
able to set this separately from the output sampling rate.
-audiodevice device
Sets the audio device to record from, if supported by the audio protocol chosen (e.g. /dev/dsp, /dev/audio)
-time seconds
Stops recording after the specified number of seconds.
-o file
Writes sound output to the specified file
-otype type
Specifies the file format to use for output. Supported types currently include nist, est, dsps, snd, riff, aiff, audlab, raw, and
ascii. The -h flag will show the most accurate list. The default type is nist.
-F sampling rate
Sets the output sampling rate (again, in samples per second, i.e. Hz). If this differs from the input sampling rate, resampling
will be done. Defaults to 16000Hz.
-obo byte order
Sets the output byte order. Supported values are MSB, LSB, and native. Many file formats have their own byte order, or are byte
order independent, so this isn't tremendously useful except for raw data. The default is the native byte order for the system
audio device.
-oswap
Swap bytes when saving to output.
-ostype sample type
Sets the sample type of the output. Suported values are short, mulaw, byte, or ascii. Again, this is usually implied by the file
format, so should only be used for raw data. The default is short (i.e. 16-bit PCM).
-p audio device protocol
Selects an audio device protocol (i.e. type of audio device) to use. This varies between different installations of Speech
Tools, but defaults to the most 'native' audio device, usually Open Sound System on Linux and *BSD and /dev/audio on Solaris.
ENVIRONMENT
NA_PLAY_PROTOCOL
Audio protocol to use (as in the -p flag)
NA_PLAY_HOST
Host to record audio from when using a network audio protocol.
EXAMPLES
To record five seconds of audio from /dev/dsp1 (on Linux) to foo.wav in RIFF format at 32kHz:
$ na_record -time 5 -audiodevice /dev/dsp1 -o foo.wav -otype RIFF -f 32000
To record one second of audio to bar.wav in raw format in 8kHz mu-law:
$ na_record -time 1 -o bar.wav -otype raw -ostype mulaw -f 8000
BUGS
The -time argument only accepts integer values (though the usage message implies otherwise)
SEE ALSO
na_play(1)
Edinburgh Speech Tools April 4, 2001 Edinburgh Speech Tools