Re: Delphi and DSP
- From: MeMyselfAndI <agp001@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 01:13:07 +1000
Jatin -
No sound card can interpret data into sound. Sound cards take PCM data (ie: plain digital audio as in a .wav file or a CD) and convert it into analog signals. To get the physical parameters you told Marc about to come out as sound you need to write the interpretation rules into your program and get your program to create PCM data based on what information comes through the com port. (Incidentally, why not use a USB port)? You then use the windows sound playback routines to play those sounds. I've got a class that I use for playing buffers of wave data up to 8MB. I'll send it to you if you like.
Jatin wrote:
This question is about Digital Signal Processing (DSP) and not meant for this group, but I would still ask because I will be implementing the solution to this question in Delphi. Probably someone on the group has already tackled this problem...please pardon me if I am a bit vague.
My application will be receiving alpha-numeric data from the COM port in realtime. The application is responsible for converting this data into a sound. (Please note that data is *not* to be converted into speech).
I am not an expert on DSP, but I envisage that I need to put the incoming data into the buffer of the sound card so that it can be played back. Another possibility is to create an in-memory wave file that can be played back.
I will appreciate any comments, or pointers to resources on this matter.
Jatin ==============
.
- Follow-Ups:
- Re: Delphi and DSP
- From: Jatin
- Re: Delphi and DSP
- References:
- Delphi and DSP
- From: Jatin
- Delphi and DSP
- Prev by Date: FFT class or routines
- Next by Date: Re: FFT class or routines
- Previous by thread: Re: Delphi and DSP
- Next by thread: Re: Delphi and DSP
- Index(es):
Relevant Pages
|