LiveAudio over internet DSP Group TrueSpeech Format

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

LiveAudio over internet DSP Group TrueSpeech Format

Postby Maksut » June 14th, 2006, 10:08 am

hi,
can i send "DSP Group TrueSpeech" wav files to LiveaudioPlayer in a pc difrent location in internet...

when i try it (in same PC localhost) it shows me an erro message like "format unsupported" in InternalOpen--> WaveOutOpen...

i have this codec...i can convert any files in this format...

pls...any help

thanks...
Maksut
Member
Member
 
Posts: 3
Joined: June 14th, 2006, 9:52 am

Postby Kambiz » June 14th, 2006, 11:47 am

Please try to see whether TAutioPlayer can play the wave or not, and let me know about the result.

Thank you
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

i can play PCM Formatted Wav files via this method...

Postby Maksut » June 14th, 2006, 1:46 pm

hi
first of all thank you for your reply...
and sory because of my english....

i can play PCM Formatted Wav files via this method...
but i have to use DSP Group Speech...

i changed this events to set wav format...
procedure TMainForm.LiveAudioPlayerFormat(Sender: TObject;
out pWaveFormat: PWaveFormatEx; var FreeIt: Boolean);

in this event WaveFormat is changed...


procedure TMainForm.tcpServerAccept(Sender: TObject; Socket: TCustomWinSocket);
var
WaveFormat: TWaveFormatEx;
WaveFormatSize: Integer;
begin

i changed this events to set wav format...
WaveFormat

finally with SendBuf i am sending the file....

thanks
Maksut
Member
Member
 
Posts: 3
Joined: June 14th, 2006, 9:52 am

Postby Kambiz » June 14th, 2006, 4:22 pm

You didn't answer my question.

If you can play "DSP Group TrueSpeech" by TLiveAudioPlayer, therefore there is a problem in the way you send or receive the wave format over the network.

If even TLiveAUdioPlayer failed, instead of Wave Audio package you have to use DirectSound.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

hi again

Postby Maksut » June 19th, 2006, 5:12 pm

May be i did some mistakes but i can not play DSP Group TrueSpeech wav files via TLiveAudioPlayer.

my friend wrote a dll it converts DSP Gr.TS to PCM 16Khz 8 Bit mono format than i convert incoming data by using the dll after that i load this coming PCM stream to TliveAudioPlayer part by part...iti works for now...

probably there is easier way ...now this is enough...but i am keeping to study your components ... to learn more...

thanks a lot!
Maksut
Member
Member
 
Posts: 3
Joined: June 14th, 2006, 9:52 am


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 2 guests

cron