Re: Delphi and DSP



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
==============

.



Relevant Pages

  • Re: Questions about WAV Files
    ... The WAV file samples should be thought of as a percentage of full scale, ... Since the sound card is designed to play up to full scale, ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: Questions about WAV Files
    ... is there a way to record a WAV File so that it plays with a specific output voltage level at max volume? ... Since the sound card is designed to play up to full scale, you can't force the sound card to clip on playback unless you clip the data before it goes to the card. ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: snoring memory while computer idles
    ... Dunno if you ever told us...what kind of sound card do you have? ... > I uploaded a recorded .wav file of what the noise is like. ... This noise stops. ...
    (microsoft.public.windows.mediacenter)
  • Re: want to record daughter playing instrument onto PC....how???
    ... a microphone hooked to the sound card, what's the best way in Windows XP ... record her playing so she can then make CD's? ... Try your recording using an audio recording and converting software. ... the wav file as Mp3 using "Save As" command and now burn in CD. ...
    (microsoft.public.windowsxp.music)
  • Re: 2 Startup Sounds
    ... I have a Creative SoundBlaster Audigy Platinum sound card installed. ... > "Whitesteel" wrote in message ... I've been unable to locate the .wav file on my computer ...
    (microsoft.public.windowsxp.customize)