Re: MP3 in VB does not loop seamlessly
- From: "casManG@xxxxxxxxx" <casManG@xxxxxxxxx>
- Date: 21 Feb 2007 16:58:41 -0800
On Feb 21, 6:04 pm, "Lloyd Sheen" <a...@xxx> wrote:
<casM...@xxxxxxxxx> wrote in message
news:1172097491.039413.275420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 20, 11:01 am, "Lloyd Sheen" <a...@xxx> wrote:
If you want to get rid of this you can useDirectX(not that difficult).
Then you create your first stream, play it and when it gets near the end
you
create another stream with nextmp3. You can then start the secondmp3
at
your own defined time before the end (crossover). The first will end and
on
you go.
Lloyd Sheen<casM...@xxxxxxxxx> wrote in message
news:1171937295.576547.73660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have tried using both the Windows Media Player control as well as
the mciSendString method for playing anMP3within my Visual Basic
2003 app. The problem is that when theMP3is looping there is always
a small bit of silence between when the sound ends and begins again. I
have verified that the sound I am testing with loops perfectly without
any pause or silence at the end of the sound when looping. Does anyone
know how to make it so that I can play anMP3seemlessly without the
audible pause when looping. (I have done it with a wav file using
winmm.dll successfully without the audible pause between loops)
A coupld of questions if you don't mind:
1. Does this require me to install theDirectXSDK?
2. Does this require the person running the program to haveDirectX
installed, or do most XP and Vista machines have the requiredDirectX
stuff already to run the app?
3. Is there any way with mciSendString or Windows Media Player control
to do the same thing you suggested above?
Thanks in advance
cas
Not that I know of. I just installed Vista and when I installed my app it
worked as did the source code so I think the dll is installed.
D:\WINDOWS\Microsoft.NET\DirectXfor Managed
Code\1.0.2902.0\Microsoft.DirectX.AudioVideoPlayback.dll
Now that is the dll that I ended up referencing. Did nothing to cause it to
happen on new install so that might be best way.
Lloyd
Well, I gave it a try. I used the tutorial here:
http://gpwiki.org/index.php/VBNET:AudioVideoPlayback
But, after all is said and done, and it's working, the music still
doesn't loop seamlessly :( Man, I just don't get it. Anyone have any
other ideas?
.
- Follow-Ups:
- Re: MP3 in VB does not loop seamlessly
- From: Lloyd Sheen
- Re: MP3 in VB does not loop seamlessly
- References:
- MP3 in VB does not loop seamlessly
- From: casManG
- Re: MP3 in VB does not loop seamlessly
- From: casManG@xxxxxxxxx
- Re: MP3 in VB does not loop seamlessly
- From: Lloyd Sheen
- MP3 in VB does not loop seamlessly
- Prev by Date: SortedList (Dates) with Duplicate Keys
- Next by Date: Re: How to rename files with support wildcard ?
- Previous by thread: Re: MP3 in VB does not loop seamlessly
- Next by thread: Re: MP3 in VB does not loop seamlessly
- Index(es):
Relevant Pages
|