I have an audio file. I want to segment into 10 seconds each using java. Is there a simple way to do this
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In short: no, there isn’t. It very much depends on the file format. Is it
.wav,.mp3or yet something else? You’ll need to understand the format, read data and write your 10s segments into separate files according to file format, possibly with decoding/encoding in-between. Look for some audio libraries – they’ll ease your pain.