Page 1 of 1

LiveAudio over internet DSP Group TrueSpeech Format

PostPosted: June 14th, 2006, 10:08 am
by Maksut
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...

PostPosted: June 14th, 2006, 11:47 am
by Kambiz
Please try to see whether TAutioPlayer can play the wave or not, and let me know about the result.

Thank you

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

PostPosted: June 14th, 2006, 1:46 pm
by Maksut
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

PostPosted: June 14th, 2006, 4:22 pm
by Kambiz
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.

hi again

PostPosted: June 19th, 2006, 5:12 pm
by Maksut
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!