Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more: (untagged)
hi i want paly a selection of sound file
for example from second 12 to second 23

how can i do it?


thanks a lot;
Posted

1 solution

Well, you load the file in to media player, move the slider to the right spot, and push play. If you mean how do you do it in code, it depends on what language and framework you're using, but the essence is the same, you set up a media player control to the place you want to start, and use a timer to work out when it gets to the point you want it to end, or if the control has an event for time changing, you can check it in that.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900