 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
MasterPeter Guest
|
Posted: Wed Jan 31, 2007 9:11 am Post subject: How can I generate waves and directly hear the results? |
|
|
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 |
|
 |
Andrew Jameson Guest
|
Posted: Wed Jan 31, 2007 4:40 pm Post subject: Re: How can I generate waves and directly hear the results? |
|
|
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!  |
|
|
| Back to top |
|
 |
MasterPeter Guest
|
Posted: Fri Feb 02, 2007 9:12 am Post subject: Re: How can I generate waves and directly hear the results? |
|
|
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
|
Posted: Sun Feb 04, 2007 3:04 am Post subject: Re: How can I generate waves and directly hear the results? |
|
|
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
|
Posted: Sun Feb 11, 2007 9:11 am Post subject: Re: How can I generate waves and directly hear the results? |
|
|
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
|
Posted: Sun Feb 11, 2007 3:41 pm Post subject: Re: How can I generate waves and directly hear the results? |
|
|
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 |
|
 |
|
|
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
|
|