play mp3 or other files - pointing with mm:ss where to start andstop

M

mesut

Hi Colleagues,

When I click a link or button I would like to play some part of the
MP3. e.g.

I've got a MP3 file which is 60 minutes long.

when I click control1 (doesn't matter what control) it should start
play from minutes 3 sec. 15 and it should play 47 seconds....

Can someon advice me whehter I can do this in C# and is it doable?

at least where to look what are the keywords? which namespaces maybe
some sample code or sample websites?

It doesn't matter which player, it can be Mediaplayer or WINAMP... it
doens't matter. I just want to steer which file to play, start pointer
and stop pointer.


great thanks for any advice,

mesut
 
G

G.S.

Hi Colleagues,

When I click a link or button I would like to play some part of the
MP3. e.g.

I've got a MP3 file which is 60 minutes long.

when I click control1 (doesn't matter what control) it should start
play from minutes 3 sec. 15 and it should play 47 seconds....

Can someon advice me whehter I can do this in C# and is it doable?

at least where to look what are the keywords? which namespaces maybe
some sample code or sample websites?

It doesn't matter which player, it can be Mediaplayer or WINAMP... it
doens't matter. I just want to steer which file to play, start pointer
and stop pointer.

great thanks for any advice,

mesut


What platform is your app based on?

maybe this is a good starting point:
http://msdn.microsoft.com/en-us/library/bb249672(VS.85).aspx

Or maybe you want to look into the WPF media capabilities...
 
M

mesut

IT's XP, C#, ASPX..

I would like to load my dropdownlistbox with all the song names.
All the song names will refer/point to 1 MP3/WMA file, because this
single file contains 100 songs...5 hours long.. copied from casette/
LP, empty gaps etc.

so I would like to say song 1 is start at 5 min.33 sec and stop at
7min.64 etc.
song 2 start 9min 32 secs and stop after 213 secs
the min. secs can be something else. I don't care, if I can say start
and stop. this makes me happy enough.

thanks for your help,

mesut


I'VE SOME INFO ABOUT INTERNET, BUT I STILL TRY TO PROCESS, NEED SOME
HELP..!!


<object ID="Player"
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" >
<embed type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/
download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='0'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320"
height="285"
src="http://servername/path/to/media.file" autostart="false"
designtimesp='5311' loop="true">
</embed>
</object>



<select id="cancion"
onchange="document.all.music.filename=document.all.cancion.value;
size=1" name="Music">
<option selected>::::::::::::: Choose Your Song Here :::::::::::::</
option>
<option value=s292.wma>Jon Courson - Song Title</option>
<option value=tc4014-v.wmv>Jon Couson Vid - Song Title</option>
<option value="C:\temp\M-Player\test1.wma">Song 1</option>
<option value="C:\temp\M-Player\test2.wma">Song 2</option>
<option value="C:\temp\M-Player\test3.wma">Song 3</option>
</select></br>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top