471,886 Members | 1,168 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,886 software developers and data experts.

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

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 1082
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
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
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
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
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.