473,407 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Getting raw audio data

40
I'm trying to read raw audio input say from a guitar or keyboard from my line in port on my sound card, to read the data and analyze what notes are being played.

How do I even begin to do this?

Some people have mentioned using DirectSound, which I'm currently investigating (installing right now) but I just wanted to see if anyone else has recommendations?

NOTE: Though I posted this is C#...I'm open to any language really...its just that I expect the Dirext X (which has DirectSound...I think) and I'm also open to using any OS.
Feb 5 '09 #1
1 8239
vekipeki
229 Expert 100+
Most of soundcards also support ASIO interface, which is used for low-latency reading/writing. If your driver doesn't support it, there is a free universal driver here: http://www.asio4all.com/ which should work.

If you want to access it using .Net, check this article: http://www.codeproject.com/KB/audio-video/Asio_Net.aspx. ASIO is used by most digital recording apps (Cubase), and it's the preferable way of working with sound if you want precise results.

After you get the raw input data, you will have to do some FFT processing to get the harmonics.
Feb 5 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: projecktzero | last post by:
Well, I've managed to get an image into a postgre database, but now I'm having trouble getting it out. #! /usr/bin/env python from pyPgSQL import PgSQL def main(): connectdb =...
1
by: Antonio. kim | last post by:
Hello~ ^^ I have a question about getting excel data with oledbconnection. I entered '23190000' to Excel Cell and changed Column width to small, then the value chaged to 2E+07 or ####. And I...
0
by: Paul van der Heu | last post by:
I hope I've come to the right place..;^) For an app I am writing I need to create a list of available audio devices and display them in a combobox.. Displaying them is no problem, but I cannot...
2
by: bil.shah | last post by:
Hi, I am listening to a port for data but I am not able to recieve whole data, I only get truncated data. Client sends me data that exceeds 40K and the data I recieve in my callback function is...
36
by: Chuck Faranda | last post by:
I'm trying to debug my first C program (firmware for PIC MCU). The problem is getting serial data back from my device. My get commands have to be sent twice for the PIC to respond properly with...
10
by: arunbalait | last post by:
Help me how to insert audio or wave files into sql server database and what data type do i have to use..? Give me samples..... And also I want to know how to retrieve them? Thanx...........
3
by: Niraj Shah | last post by:
Dear All, In my application, i want to capture live audio data and send them to speaker. I can able store captured audio data in file but my application requirement is to send data directly to...
3
by: mudassar87 | last post by:
Hi, I want to present live audio data samples ( which I am recieving as an updating float array in C) as an audio file so that I can open this live audio data in VLC. Is there any way ? Or any...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.