Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Real time audio processing in octave

Status
Not open for further replies.

Reni Septiana

Newbie level 5
Newbie level 5
Joined
Dec 19, 2013
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
57
Does anyone know how to capture sound real time (to be processed) using octave. Usually I read wav file, but how to get audio input in real time? Is it possible?
Thank you very much
 

Don't know about Octave, but there are several utility programs for capturing incoming audio. They digitize the sound and save it as wav or other format.

If you're interested in free digital sound processing programs...
A popular one is Audacity (available for Mac or Windows).
It will record whatever you select as your input device (microphone or line-level jacks).
You can work with numerous tracks.
You can save your sound file in a variety of formats (mono or stereo).
 

thanks for the reply. Octave itself can capture audio. But usually I have to record it first as wav file or variable, and then make a computation on it. But sometimes we need to process the audio signal as soon as it received (for example for speech recognition to control something or maybe locate the sound source, like radar). It will take a long delay if we save it first.
 

I'm pretty certain you would need to write your own custom software...

Evidently it will take some work to do what you want. Firstly, to access your sound card driver, and to obtain its data (in the form of digitized audio). Manufacturers and designers are reluctant to make this an easy process.

Secondly, you must write code to perform the desired operations on the incoming data. Your code must be streamlined so that it can keep up with data coming in at rates of several tens of kHz. (Fortunately this is possible with modern computers.)

To display waveforms in real time, you will need to duplicate a digital oscilloscope.

Or, to do speech recognition you will need to do something similar to Dragon Speak software.
Etc.

No doubt you are aware of programming languages such as the C family, or VisualBASIC, or RealBASIC families, etc. If you research their capabilities, you may find one which contains example programs, to get your project rolling.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top