By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,741 Members | 1,979 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,741 IT Pros & Developers. It's quick & easy.

How to make a user listen only the first 30sec of an audio file?

mikek12004
100+
P: 200
I have a link to .mp3 file is it possible when the user click it to hear only the first 30sec of it?
(Wasn't sure where to put this post, here seemed more appropriate)
Oct 1 '08 #1
Share this Question
Share on Google+
4 Replies


acoder
Expert Mod 15k+
P: 16,027
Why not modify the file to 30 seconds length?

What are you using to play the file?
Oct 1 '08 #2

gits
Expert Mod 5K+
P: 5,328
another possibility would be a timeout to call a function that just stops the playback ...

kind regards
Oct 1 '08 #3

mikek12004
100+
P: 200
the thing is that I have about a 100 mp3s,wmv etc. The best solution is indeed to create trimmed versions of them but to do the procedure 100 times is hard. Anyone know of a program for mass modification of audio files?
Oct 2 '08 #4

acoder
Expert Mod 15k+
P: 16,027
There should hopefully be plenty if you search, for example, for "split audio files".

If you can't find one that suits your needs, you could try the timeout option suggested by gits.
Oct 2 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.