Re: Audio Streaming
- From: "Vinod S" <vinod.s@xxxxxxxxxxxx>
- Date: Wed, 2 Nov 2005 10:03:09 +0530
Hi Tom all the links you send was to Record and play the wave files. What I
need is to stream the wave files. That is the main file will be there in an
Internet server. And I have to stream or buffer a portion of the wave file
in to my client system and play it here. How can I do this. Hope to see some
mail from you regarding this.
Hi Joseph from where can I get the examples for mmseek. I have searched on
MSDN online and installed one for mmseek but I cant get even a help for
this. Also can you send me the links for the MSDN samples you used to work
for this
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:v29cm15vgpnoeh7jqp51jtj0p7glevc874@xxxxxxxxxx
> Depends on the nature of the file. If it is a .wav file, there is an
mmseek, which knows
> how to seek within the structure of a .wav file. It isn't as simple as
CFile::Seek
> because a .wav file has internal structure. I'd suggest seeing if there
is anything on
> www.codeproject.com, and reading the examples in MSDN (I have working
code, but it is
> definitely proprietary so I can't post any examples. OTOH, the code I
have is clearly
> based on the MSDN examples, which I actually read so I could understand
the structure of
> the code I have). Note that mmseek requires identifying the correct
"segment" of the .wav
> file, then seeking within that. Along the way, the metadata, such as the
sampling rate
> and other critical information required to convert the signal to audible
sound, and to
> convert time to a seek offset in the segment, can be discovered.
>
> (Note also that if A transcribes 0:60 and B transcribes 60:120, then you
should actually
> send A some larger amount, like 0:62 and B would get 58:122, or something
like that.
> Otherwise, each might get half a syllable in the middle of a word and
you'd have a gap at
> the boundary)
> joe
>
> On Mon, 31 Oct 2005 08:50:36 -0500, "Scott McPhillips [MVP]"
<org-dot-mvps-at-scottmcp>
> wrote:
>
> >Vinod S wrote:
> >> Hi all.
> >>
> >>
> >>
> >> My doubt is regarding audio streaming techniques. I will narrate my
> >> requirement first. We are in to transcription tool. We have big audio
> >> files -wave- in our main server. Different transcription clients will
be
> >> doing the transcription of different portions of the big file, say 0 -
30
> >> minutes conversion will be done by Mr A, 30 - 60 minutes transcription
will
> >> be done by Mr. B and so. Now what we are doing is downloading the
complete
> >> file in to the client machines and playing only the portion of file
which
> >> each transcriptors need. But its taking too much time and bandwidth as
the
> >> files are really too big in size. So what we think now is to retrieve
only
> >> the portion of file which each transcriptors need.
> >>
> >>
> >>
> >> Now my question is how can I implement this. Which technology will be
giving
> >> maximum support for this. We were working on VC 7. Do other
technologies
> >> like C# or ASP .NET provide better option for this requirement. Can any
one
> >> give me some hints and directions J.
> >>
> >>
> >
> >You can use CFile::Seek to start reading a portion within a file. The
> >SetFilePointerEx API does the same thing. You could use one of these
> >methods to copy to a local file, or you could simply read a few seconds
> >into buffers and begin playing immediately, without waiting for the copy.
> Joseph M. Newcomer [MVP]
> email: newcomer@xxxxxxxxxxxx
> Web: http://www.flounder.com
> MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Prev by Date: Re: Does Folder Exist ?
- Next by Date: Re: how to send a message from dialog to the dialog control?
- Previous by thread: Re: Audio Streaming
- Next by thread: Re: How to use a large buffer for a CEdit control
- Index(es):
Relevant Pages
|