473,725 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

capturing Input from a microphone

Hello,

I'm currently writing an application that has to Fourier-Analyze little
pieces of audio-data but i don't know how to access the microphone
input at real time. Are there libraries to do that? Or how is it done?

Thank you very much.

Yannick, Belgium

Jun 9 '06 #1
2 3774
Yannick wrote:
Hello,

I'm currently writing an application that has to Fourier-Analyze little
pieces of audio-data but i don't know how to access the microphone
input at real time. Are there libraries to do that? Or how is it done?


There is no support for reading audio data from a microphone in standard
C++. You have to resort to system-specific functions, which you should ask
for in a newsgorup dedicated to programming for the system you are using.

See http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Jun 9 '06 #2

"Yannick" <co*********@ho tmail.com> wrote in message
news:11******** **************@ j55g2000cwa.goo glegroups.com.. .
Hello,

I'm currently writing an application that has to Fourier-Analyze little
pieces of audio-data but i don't know how to access the microphone
input at real time. Are there libraries to do that? Or how is it done?


Ask in the comp.dsp newsgroup. (The answer will depend on what operating
system you're using, and what system or third-party software you have
installed.)

-Howard
Jun 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3110
by: Sune Pedersen | last post by:
How do i get the microphone input level in clear text Sune
1
5520
by: Michael | last post by:
Hi, This might seem a dumb question, but every search I've done so far has come up blank - with the possible exception of Schtoom. I've seen Schtoom that does manage to capture audio under Mac OS X, but it's unclear whether the audio tools it uses can be used independently of Schtoom. So my question this: does anyone know of a library or simple approach to capturing audio (any quality :) from a microphone on Mac OS X ?
0
1669
by: Johann Blake | last post by:
Hi, I want to capture a signal from the sound card (via microphone or line input) using the DirectX.Sound.CaptureBuffer class. One of the properties that can be setup prior to capturing is specifying that the buffer is continous. This means that once the buffer is filled with data, it wraps around and continues filling the buffer. Where I see a potential problem has to do with the sampling speed of the sound card against the speed of...
10
6017
by: Andrew | last post by:
Hi, I have a messagebox that pops up due to an event. I did it in javascript. ie. alert("Time's up. Assessment Ended"); I want to capture the OK and Cancel events of this alert messagebox. My code is in C#/ASP.NET. TIA. Andrew.
1
1669
by: juliano.net | last post by:
How can I capture the audio from the microphone and images from screen or webcam to send to another application? And how can I compress them at run-time? I need to stay capturing, compressing and sending this information for a long time.
18
25002
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin, that IE7 does not seem to offer any way to control the font size of a text input element.
1
2829
by: sr | last post by:
How to monitor the input voice level from Microphone? I mean: Louder you speak -hirgher the input level. (Amplitude?) How can this be easily monitored? ( How to monitor the input level all the time. ) How can it be implemented with C?
3
9628
by: Porkie999 | last post by:
hi i created a program in vb.net 2005 that is meant to allow microphone activity i.e you read the lyrics to a song on the screen and you are meant to be able to sing to it through a microphone like koroake however i have been unable to get help on such a topic please help me is it possible to get some sort of script that just lets me talk through a microphone and come out of the speakers? thanks in advance i would prefer this to be a code...
0
4913
by: roopaloswal | last post by:
Hi All, I need to record audio captured from microphone to the local file system .Is it possible? I am trying to use NetConnect() to connect to local file system. But its throwing error. I am attaching my code below. package
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9116
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.