469,355 Members | 2,603 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,355 developers. It's quick & easy.

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

mikek12004
200 100+
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
4 1052
acoder
16,027 Expert Mod 8TB
Why not modify the file to 30 seconds length?

What are you using to play the file?
Oct 1 '08 #2
gits
5,390 Expert Mod 4TB
another possibility would be a timeout to call a function that just stops the playback ...

kind regards
Oct 1 '08 #3
mikek12004
200 100+
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
16,027 Expert Mod 8TB
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.

Similar topics

9 posts views Thread by YZK | last post: by
reply views Thread by laredotornado | last post: by
reply views Thread by John_Gradian | last post: by
4 posts views Thread by Gary Morrison | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.