🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #720

Sampled waveform to mediaplayer

#720
From: Roelof Steyn
Date: Thu, 12 Jun 2003 15:46
17 lines
1324 bytes
Hi

I need to send data from an IO Card (with Analogue-to-Digital ports) to the
PC's sound card. I have sampled analogue data and I have the following
"inputs":
int    NumberOfSamples
double AudioData[NumberOfSamples];
double SampleFrequency;
The sampled data is speech.

How can I play/record this?
Maybe with MediaPlayer?
Alternatively, I could build a wav-file. Does anybody know the format of a
wav-file or where I could get it?

Thanks!
Roelof
Technical Details
Message-ID: <3ee8a063@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,6414ceb1282d980e,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2003-06-12 08:56:16 PST
From: "Roelof Steyn" <roelof@imaginet.co.za>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Sampled waveform to mediaplayer
Date: Thu, 12 Jun 2003 17:46:37 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 155.239.182.172
Message-ID: <3ee8a063@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055432803 155.239.182.172 (12 Jun 2003 08:46:43 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail