BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can I generate waves and directly hear the results?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia
View previous topic :: View next topic  
Author Message
MasterPeter
Guest





PostPosted: Wed Jan 31, 2007 9:11 am    Post subject: How can I generate waves and directly hear the results? Reply with quote



I mean, I do have a program that simply writes the WAV header and wave data into a WAV file and then I can play it...
well that's crap. I want to write directly the wave data into the buffer that is being played, so I can get real-time response from the application.
You know, I change a variable, wave changes, I hear the difference straight away. I know YOU know, so tell me, please! Smile
Back to top
Andrew Jameson
Guest





PostPosted: Wed Jan 31, 2007 4:40 pm    Post subject: Re: How can I generate waves and directly hear the results? Reply with quote



This might be what you're looking for :

http://www.alan-warriner.co.uk/software/TToneGen.zip

Andrew

"MasterPeter" <masterpeter (AT) centrum (DOT) sk> wrote in message
news:45c045bd$1 (AT) newsgroups (DOT) borland.com...
Quote:

I mean, I do have a program that simply writes the WAV header and wave
data into a WAV file and then I can play it...
well that's crap. I want to write directly the wave data into the buffer
that is being played, so I can get real-time response from the
application.
You know, I change a variable, wave changes, I hear the difference
straight away. I know YOU know, so tell me, please! Smile
Back to top
MasterPeter
Guest





PostPosted: Fri Feb 02, 2007 9:12 am    Post subject: Re: How can I generate waves and directly hear the results? Reply with quote



That was nice, and I guess will be helpful, but I was actually expecting somewhat more verbal response. More need, more explanations, please! Let all learn from your experience!
With regards, Peter


"Andrew Jameson" <softspotsoftwareNO (AT) SPAMgmail (DOT) com> wrote:
Quote:
This might be what you're looking for :

http://www.alan-warriner.co.uk/software/TToneGen.zip

Andrew

"MasterPeter" <masterpeter (AT) centrum (DOT) sk> wrote in message
news:45c045bd$1 (AT) newsgroups (DOT) borland.com...

I mean, I do have a program that simply writes the WAV header and wave
data into a WAV file and then I can play it...
well that's crap. I want to write directly the wave data into the buffer
that is being played, so I can get real-time response from the
application.
You know, I change a variable, wave changes, I hear the difference
straight away. I know YOU know, so tell me, please! :)

Back to top
Jens Gruschel
Guest





PostPosted: Sun Feb 04, 2007 3:04 am    Post subject: Re: How can I generate waves and directly hear the results? Reply with quote

Take a look at WaveOutOpen, WaveOutPrepareHeader, WaveOutWrite and
MM_WOM_DONE.

I posted a very simple and dirty example to b.p.d.attachments (see "Play
wave with WaveOutWrite")


--
Jens Gruschel
http://www.pegtop.net
Back to top
MasterPeter
Guest





PostPosted: Sun Feb 11, 2007 9:11 am    Post subject: Re: How can I generate waves and directly hear the results? Reply with quote

Mate, I was looking for that example of yours for a while but got tired of trying (am currently finishing a night shift and I'm fit for a couple hours' sleep). Would you please leave the URL here, so I can simply go and download it the next time? Would be really thankful for that.
Thank's for your help!
Peter



Jens Gruschel <nospam (AT) thisurldoesnotexist (DOT) com> wrote:
Quote:
Take a look at WaveOutOpen, WaveOutPrepareHeader, WaveOutWrite and
MM_WOM_DONE.

I posted a very simple and dirty example to b.p.d.attachments (see "Play
wave with WaveOutWrite")


--
Jens Gruschel
http://www.pegtop.net
Back to top
David J Taylor
Guest





PostPosted: Sun Feb 11, 2007 3:41 pm    Post subject: Re: How can I generate waves and directly hear the results? Reply with quote

MasterPeter wrote:
Quote:
Mate, I was looking for that example of yours for a while but got
tired of trying (am currently finishing a night shift and I'm fit for
a couple hours' sleep). Would you please leave the URL here, so I can
simply go and download it the next time? Would be really thankful for
that. Thank's for your help!
Peter

There's a simple example here:

http://www.david-taylor.myby.co.uk/software/audio.html#ToneBurst

David
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.