Reading MP3 File

  • Thread starter Thread starter goraya
  • Start date Start date
G

goraya

Hi
First of all I m a newby--I want to show text on a window form and
sound is also playing in the back ground.I want to make text sound
synchronize so that the text displayed and sound are same. I have a
single Audio file but whole of text is not displayed on one form so
when sound reaches the end new text is displayed on the screen.
Question is Can I add some custom book marks to my Audio file (MP3) so
that I can identify when sound is played equal to a page of text, I
load the next page? Is it possible ?
Thnx in Advance
Qumer Mumtaz
 
I'm not sure if this is your question, but I think what you're looking for
is the Synchronized Lyrics frame in the ID3v2.3 tag. You can insert several
sets of lyrics into an MP3 using this tag where each "lyric set" is
associated to a point in time for that track.

For general information about the ID3v2.3 tag and specifics on the
Synchronized Lyrics (SYLT) frame, go here...
www.id3.org.

If the SYLT frame is indeed the solution to your problem, then you could try
my (free) .NET ID3 library, UltraID3Lib here...
www.UltraID3Lib.com.

Regards,

- Mitchell S. Honnert
 
Hi
Thank you for ur reply. What I get from ID3 tags is not what I m
looking for because it offer u limited information to add into the MP3
file like the name of artist ect.
What I really want to do is something like below:
I have a story written in Text file:
"Once upon a time there was poor woodcutter. He lived with his wife in
a small village.............. ... . . . . .. . . .. . . ."
I have a MP3 file in which same story is narrated.
So the idea really is I want to ready story sentence by sentence from
the text file and also want to play sound with this.
MP3 player is embadded in my window form.
When it play the sound the text from file is also appeared on the
screen. Like when it plays "Once upon a time there was a poor
woodcutter." the same text is read from the text file and displayed on
the form.
Can I partion my single MP3 file in such a way that during play of file
I can distunish that when a sentence is ending and when the next is
starting. I think by Tagging it is possible. What u say? If yes please
suggesst me some tools and techniques.
Thank You for ur support :)
 
What you are describing is exactly the functionality supported by the
Sychronized Lyrics frame in the ID3 v2.3 tag. You may think of ID3 only in
terms of the basic fields like Artist, Title, Album, and Track Number, but
there are actually over 70 different unique types of information that can be
stored in an MP3. These "info types" are called frames. And if you look
for "Synchronized Lyrics" on www.id3.org , you'll find the details on this
frame and how it works.

As for how to use this feature, that's a little more complicated. Even
though the ID3 standard supports Synchonized Lyrics, not all ID3 editors or
libraries support it. Windows Media Player supports it, so you can see for
yourself how to enter the lyrics into a tag. I think there is a WinAmp
plugin that will display the lyrics as the MP3 is playing, but since you
posted in a "languages" ng, I assume you're looking to program something
yourself. That's why I suggested that you might want to use my library,
UltraID3Lib, which supports Synchronized Lyrics to implement your own
player.

- Mitchell S. Honnert
 
Hi
Thank you for your reply.
I tired to use your labirary but I was unable to add it to my project
becoz I think you developed it in VS2005 and I using VS2003. I will
install VS2005 soon and then tell you either I get through it or not.
Thank you for you time
With best regards
Qumer
 
Hi
Thank you for your reply.
I tired to use your labirary but I was unable to add it to my project
becoz I think you developed it in VS2005 and I using VS2003. I will
install VS2005 soon and then tell you either I get through it or not.
Thank you for you time
With best regards
Qumer
 
Back
Top