 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
MK Guest
|
Posted: Fri Aug 04, 2006 12:06 am Post subject: WAVE file settings |
|
|
Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA |
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Fri Aug 04, 2006 8:12 am Post subject: Re: WAVE file settings |
|
|
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
MK написа:
| Quote: | Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA |
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Sat Aug 05, 2006 12:47 am Post subject: Re: WAVE file settings |
|
|
On 3 Aug 2006 23:08:24 -0700, Tsviatko Jongov wrote:
| Quote: | Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
|
Hoi Tsviatko
Good answer, but unfortunately MK will not see it, because you posted on
Google Groups, that means your answer is invisible to MK and most other
people that reads these groups. You need to repost it on the Borland news
server.
How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Sat Aug 05, 2006 5:46 pm Post subject: Re: WAVE file settings |
|
|
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
| Quote: | Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA
|
|
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Sat Aug 05, 2006 5:47 pm Post subject: Re: WAVE file settings |
|
|
Thanks Riki.
Riki Wiki написа:
| Quote: | On 3 Aug 2006 23:08:24 -0700, Tsviatko Jongov wrote:
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Hoi Tsviatko
Good answer, but unfortunately MK will not see it, because you posted on
Google Groups, that means your answer is invisible to MK and most other
people that reads these groups. You need to repost it on the Borland news
server.
How to post to Delphi newsgroups:
http://delphi.wikia.com/wiki/Delphi_Newsgroups |
|
|
| Back to top |
|
 |
MK Guest
|
Posted: Sun Aug 06, 2006 2:43 am Post subject: Re: WAVE file settings |
|
|
Thanks for the reply!
Just to make it clear I've got 2 filters, FileSource and FileWriter which
connect to each other.
What I need to do is add a third filter called WAVDEST and in it's
properties (viewed by double clicking the filter) set the output type (16
bit, 44.1khz, stereo).
Then I make the FileSource filter connect to WAVDEST and WAVDEST to
FileWriter, is this correct?
Regards,
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d49320$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA
|
|
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Sun Aug 06, 2006 11:29 pm Post subject: Re: WAVE file settings |
|
|
Hi,
From your first letter I thought that you want to capture audio data from default sound capture filter.
Now I see that you want to convert existing wave file to 44.1 KHz, 16 bps, stereo wave file. If that is correct, you'll need an audio resampler filter. I don't know if there are any free resampling filters, so you must write your own.
WaveDest filter takes care only for the wave file header and doesn't tuch the audio data.
Regards,
Tsviatko Jongov
tsviatko.jongov.com
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
| Quote: | Thanks for the reply!
Just to make it clear I've got 2 filters, FileSource and FileWriter which
connect to each other.
What I need to do is add a third filter called WAVDEST and in it's
properties (viewed by double clicking the filter) set the output type (16
bit, 44.1khz, stereo).
Then I make the FileSource filter connect to WAVDEST and WAVDEST to
FileWriter, is this correct?
Regards,
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d49320$1 (AT) newsgroups (DOT) borland.com...
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA
|
|
|
| Back to top |
|
 |
MK Guest
|
Posted: Mon Aug 07, 2006 5:54 pm Post subject: Re: WAVE file settings |
|
|
Hi, thanks for the reply!
I've got the resampling filter written/coded and I can even output it to wav
but the only problem I had was sometimes the wav file produced would be in
mono and sometimes in stereo. That's why I wanted to know if there was a
way to guarantee the output is always in stereo.
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d6350e$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Hi,
From your first letter I thought that you want to capture audio data from
default sound capture filter.
Now I see that you want to convert existing wave file to 44.1 KHz, 16 bps,
stereo wave file. If that is correct, you'll need an audio resampler
filter. I don't know if there are any free resampling filters, so you must
write your own.
WaveDest filter takes care only for the wave file header and doesn't tuch
the audio data.
Regards,
Tsviatko Jongov
tsviatko.jongov.com
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Thanks for the reply!
Just to make it clear I've got 2 filters, FileSource and FileWriter which
connect to each other.
What I need to do is add a third filter called WAVDEST and in it's
properties (viewed by double clicking the filter) set the output type (16
bit, 44.1khz, stereo).
Then I make the FileSource filter connect to WAVDEST and WAVDEST to
FileWriter, is this correct?
Regards,
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d49320$1 (AT) newsgroups (DOT) borland.com...
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav
file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA
|
|
|
| Back to top |
|
 |
Tsviatko Jongov Guest
|
Posted: Tue Aug 08, 2006 8:11 am Post subject: Re: WAVE file settings |
|
|
Hi,
You can check your resampler filter output pin's media type before connecting it to the file writer filter. The Format filed must be WAVFormatEx structure and the nChannels will give you if the output wave file will be mono or stereo. If it is mono you can write a transform filter which will convert mono data to stereo (you can add silence in the new channel or double the existing channel). You can also embed this code in your resampler filter.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
| Quote: | Hi, thanks for the reply!
I've got the resampling filter written/coded and I can even output it to wav
but the only problem I had was sometimes the wav file produced would be in
mono and sometimes in stereo. That's why I wanted to know if there was a
way to guarantee the output is always in stereo.
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d6350e$1 (AT) newsgroups (DOT) borland.com...
Hi,
From your first letter I thought that you want to capture audio data from
default sound capture filter.
Now I see that you want to convert existing wave file to 44.1 KHz, 16 bps,
stereo wave file. If that is correct, you'll need an audio resampler
filter. I don't know if there are any free resampling filters, so you must
write your own.
WaveDest filter takes care only for the wave file header and doesn't tuch
the audio data.
Regards,
Tsviatko Jongov
tsviatko.jongov.com
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Thanks for the reply!
Just to make it clear I've got 2 filters, FileSource and FileWriter which
connect to each other.
What I need to do is add a third filter called WAVDEST and in it's
properties (viewed by double clicking the filter) set the output type (16
bit, 44.1khz, stereo).
Then I make the FileSource filter connect to WAVDEST and WAVDEST to
FileWriter, is this correct?
Regards,
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d49320$1 (AT) newsgroups (DOT) borland.com...
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav
file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA
|
|
|
| Back to top |
|
 |
MK Guest
|
Posted: Fri Aug 11, 2006 3:23 am Post subject: Re: WAVE file settings |
|
|
Thank you for all your help! I will give that a try!
Regards,
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d832db$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Hi,
You can check your resampler filter output pin's media type before
connecting it to the file writer filter. The Format filed must be
WAVFormatEx structure and the nChannels will give you if the output wave
file will be mono or stereo. If it is mono you can write a transform
filter which will convert mono data to stereo (you can add silence in the
new channel or double the existing channel). You can also embed this code
in your resampler filter.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Hi, thanks for the reply!
I've got the resampling filter written/coded and I can even output it to
wav
but the only problem I had was sometimes the wav file produced would be in
mono and sometimes in stereo. That's why I wanted to know if there was a
way to guarantee the output is always in stereo.
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d6350e$1 (AT) newsgroups (DOT) borland.com...
Hi,
From your first letter I thought that you want to capture audio data
from
default sound capture filter.
Now I see that you want to convert existing wave file to 44.1 KHz, 16
bps,
stereo wave file. If that is correct, you'll need an audio resampler
filter. I don't know if there are any free resampling filters, so you
must
write your own.
WaveDest filter takes care only for the wave file header and doesn't
tuch
the audio data.
Regards,
Tsviatko Jongov
tsviatko.jongov.com
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Thanks for the reply!
Just to make it clear I've got 2 filters, FileSource and FileWriter
which
connect to each other.
What I need to do is add a third filter called WAVDEST and in it's
properties (viewed by double clicking the filter) set the output type
(16
bit, 44.1khz, stereo).
Then I make the FileSource filter connect to WAVDEST and WAVDEST to
FileWriter, is this correct?
Regards,
SA
"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote in message
news:44d49320$1 (AT) newsgroups (DOT) borland.com...
Hi,
By setting the Default Sound Capture filter settings to 16 bit, 44100
Hz, stereo.
After this filter you must connect WAVDest filter, which will add WAV
header data to the stream and FileWriter, which will write your wave
file.
Regards,
Tsviatko Jongov
"MK" <mk_astrotel (AT) hotmail (DOT) com> wrote:
Hello,
How do I set the wave file output?
By that I mean, how do I tell Delphi using DSPack that the output wav
file
should be 16 bit, 44100Hz, 2Ch/Stereo?
Thanks,
SA
|
|
|
| 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
|
|