Solved

Delphi Sound Input

Posted on 1997-10-05
9
223 Views
Last Modified: 2010-04-04
I want to be able to write a guitar tuner.  I have sussed out low level wav playback but not input.  I want to be able to alter a visual component using the data coming in from the input.  I don't need to save the sound to a file.  Even being able to alter a visual component from a wav being played would help - I just can't find a way of tapping into the data as it is being played.  Ultimately I would like to get a frequency analyser working.

I have been asked which port - well line in and mic in, the most important being mic in.  It would be nice to give those with an electric guitar the chance to plug straignt into the soundcard.  What I have been trying to do is to input a wav file and then read the wav data but if I could get at the raw data then all the better!

In response to Mirek - no I don't want wav to midi conversion, that would be hard!  All I want is to be able to change a display (meter needle) in sympathy with sound input.  I have had an idea of writing a component that has an event in it that is triggered by the sound buffers but I can't find a windows message to do it!  Thanks for the replies - keep them coming!
0
Comment
Question by:welbourn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1346853
Input from which port?
0
 

Author Comment

by:welbourn
ID: 1346854
Edited text of question
0
 
LVL 3

Expert Comment

by:mirek071497
ID: 1346855
Do you need convert wav to midi notation ? I think so this is very hard, but you can try play with Fourier transformation.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:welbourn
ID: 1346856
Edited text of question
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1346858
Hi welbourn,
I was just reading the last edition of UNDU, and I think it's also whortwhile for you to look at it. There is an article about recording and playing wav files. It's very interesting.
You can find this edition on http://www.informant.com/undu
Nice reading pleasure!
c.u. ZifNab

0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1346859
Hi,
Give me a comment if this is what you wanted!
I'd like to have some feedback
0
 

Author Comment

by:welbourn
ID: 1346860
Thanks ZifNab - by the way the name is Rob, the info looks great thanks for your dilligence.  I will look at this over the weekend.  It's weird I had found the relisoft page, the only place on the net that seems to have dealt with this issue and I was just starting the process of creating delphi code for it.  The page you directed me to has already done this - cheers.  I need this info as a basis for my final year uni project and I was therefore getting quite desperate for it.  How do we close this question and award point etc, let me know.


0
 
LVL 8

Accepted Solution

by:
ZifNab earned 200 total points
ID: 1346861
Hi Rob,

To close this question, somebody has to answer this, like now. Then you can grade the answer or you can reject it. I write the last comment again, so your question is answered :

was just reading the last edition of UNDU, and I think it's also whortwhile for you to look at it. There is an article about recording and playing wav files. It's very interesting.
You can find this edition on http://www.informant.com/undu 

Nice reading pleasure! Good luck with your uni project!
c.u. Tom
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question