Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Extracting audio samples from raw file Post 302131586 by sarvagya on Sunday 12th of August 2007 04:18:53 PM
Old 08-12-2007
Extracting audio samples from raw file

Is there any way for me to read a raw audio file and save the samples data to a text file for further use in waveform generation?
 

8 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

RAW File System

Hi Guys, I'm a windows user.......... I got a hard drive that windows recognize as a RAS FS ....and I don't know what is RAW file system ... can you help me guys ??? is there any way that I can access the data written on this drive from windows 2000 operations system ??? Thanks & Best... (1 Reply)
Discussion started by: night1901
1 Replies

2. Fedora

Raw File System

Hi! This is my first post!!! I'm sorry if i will have mistakes in english... feel free to correct me :) -------------------------------------------------------------------- I have a SanDisk Flash Drive 16GB. He is in RAW file system. The files in the drive doesnt importent and i just want... (0 Replies)
Discussion started by: efid845
0 Replies

3. UNIX for Dummies Questions & Answers

Formatting data in a raw file by using another mapping file

Hi All, i have a requirement where i need to format the input RAW file ( which is CSV) by using another mapping file(also CSV file). basically i am getting feed file with dynamic headers by using mapping file (in that target field is mapped with source filed) i have to convert the raw file into... (6 Replies)
Discussion started by: ravi4informatic
6 Replies

4. Shell Programming and Scripting

Calculating mean for samples 1-3 4-6 etc.

Hi. I have a LOOONG list of samples but I am not sure how to write the loop/script to calculate the mean... I normally use awk... ...................MEAN Sample1 25.82 40.61333 Sample1 47.6 Sample1 48.42 Sample2 54.03 54.12 Sample2 53.98 Sample2 54.35 etc..... I would like to... (4 Replies)
Discussion started by: danieladna
4 Replies

5. Slackware

Problems with audio recording in Audacity 2.0.5. Slackware64 14.1; Intel HD Audio.

I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
Discussion started by: qzxcvbnm
2 Replies

6. Shell Programming and Scripting

How to print values that are greater than 0.1 in at least 80% of the samples?

input sample1 sample2 sample3 sample4 sample5 sample6 sample7 sample8 sample9 sample10 v1 0.2 0.1 0.1 0 1 2 3 4 9 10 v2 0 0 0.01 0 0 0 0 0 0 0 v3 0 0 0 0 0 ... (35 Replies)
Discussion started by: quincyjones
35 Replies

7. Red Hat

EX300 - Samples Needed

May i have some samples of EX300 exam cert.? pls help ---------- Post updated at 01:12 AM ---------- Previous update was at 12:52 AM ---------- Who can share new RHCE V7 EX300 exam dumps/EX300 exam questions? ---------- Post updated at 03:48 AM ---------- Previous update was at 01:12... (1 Reply)
Discussion started by: ded325
1 Replies

8. Shell Programming and Scripting

Re-aligned text file into one raw

Hi, Anyone can help on how to re-aligned the data into one raw; Input Text File: TESTA Carbon A China 06/28/2016 Active Vol. 8210, No. 2048, New Era 02/25/2010 ... (1 Reply)
Discussion started by: fspalero
1 Replies
read_sound_input(3alleg4)					  Allegro manual					 read_sound_input(3alleg4)

NAME
read_sound_input - Retrieves the last recorded audio buffer. Allegro game programming library. SYNOPSIS
#include <allegro.h> int read_sound_input(void *buffer); DESCRIPTION
Retrieves the most recently recorded audio buffer into the specified location. The buffer size can be obtained by checking the return value from start_sound_input(). You must be sure to call this function at regular intervals during the recording (typically around 100 times a second), or some data will be lost. If you are unable to do this often enough from the mainline code, use the digi_recorder() callback to store the waveform into a larger buffer of your own. Note: many cards produce a click or popping sound when switching between record and playback modes, so it is often a good idea to discard the first buffer after you start a recording. The waveform is always stored in unsigned format, with stereo data consisting of alternate left/right samples. RETURN VALUE
The function will return non-zero if a buffer has been copied or zero if no new data is yet available (you were too fast checking the input). SEE ALSO
start_sound_input(3alleg4) Allegro version 4.4.2 read_sound_input(3alleg4)
All times are GMT -4. The time now is 08:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy