Find Jobs
Hire Freelancers

460693 Mp3 saving function in Java

N/A

Completed
Posted over 13 years ago

N/A

Paid on delivery
Dear "akyl0123", bid and do the project according to our agreements in e-mail, please. Mp3 saving function in Java Our Java class (runable by command line commands, referenced as "cutter" below) plays parts of mp3 files. Bit rate: 128KBit, NOT using variable bit rates, sample rate: 44.1k, stereo, quality: high. We need a saving function to these played parts. We need some variations of this saving function too. Adding silence to the start/end part of the saved file. Saving two mp3 files as one while adding silence to the middle of them. Saving files from two folders as a batch task. The earlier suggested solution for saving is OK for us: writing the streams to a wave file and running the LAME application (or any other command-line encoder) via [login to view URL](). However delete or temporary work files at the end, please. Task level: basic (if you already can handle mp3 files) Length and deadline: 1-2 hours within 1 day Needed knowledge: basic Java, basic mp3 file contents handling Needed specification: Javadoc comments at class and method headers and minimal comments in the code Use cases: ---------- - U1: Get mp3 file part by our cutter and save it in mp3. Use the cutter's parameters too. Give a silence addition possibility at the start/end of the saved file. - U2: Get two mp3 files and save them as one mp3 file. Give a silence addition possibility at the start/middle/end of the saved file. - U3: Get two mp3 file parts by using our cutter twice and save them as one mp3 file. Use the cutter's parameters too. Give a silence addition possibility at the start/middle/end of the saved file. - U4: Get two folders containing mp3 file having *[login to view URL] naming convention. Go through the file pairs and save them as one mp3 file. Use the cutter and the silence addition if user needs it. Task summary: ------------- We NEED the following main features: - S1: Java method gets the mp3 file part from a Java class and saves it in mp3 format. Our Java class gets an mp3 file, cuts it and plays it. We need to save the cut part. - S2: Java method gets two mp3 files and saves them as one mp3 file. The two parts can come as two mp3 files or two cut parts from S1. In case of the latter our "cutter" methods should be used twice with all of its parameter possibilities before you do the saving in order to have the two parts at all. We need the following variations of the main features: - S3: Silence addition. Both saving functions should be able to add silence to the start, the middle (just in case of S2) and the end of the saved file. If it is easier then silence addition can be based on a 1 sec long mp3 file which contains silence. Parameter should determine how many times the file should be added. However if it's straight forward to generate silence in mp3 format then we'd like to omit the suggested silent file. - S4: Batch saving. Two folders contain mp3 files. Each has the *[login to view URL] naming convention. The batch saving should go through them from number X to y and add them together, using silence addition if it is needed, and saving the ready files in a third folder. If the second folder parameter omited then the first folder's files should be saved. In this case the point is to be able to save all the files using our "cutter" function and the new silence addition as needed. One more minor thing. Parameter should decide whether the result files will have the names of the first or the second folder's file names. We don't need the followings: ----------------------------- - No user interface. (Hard-code all needed parameters. Give a file with the necessary command bar commands to be able to start and test your code.) We accept your code if: ----------------------- - If it's clear that you've tested your work. For your tests record some ~3-4 sec long mp3 files in a way that you have 1 sec silence before you say e.g. one, two, three etc. in the first set of the files (for the first folder) and eleven, twelve, thirteen etc. in the second set of the files (for the second folder). So you will have files, after your batch test, containing "... one ... eleven ...", "... two ... twelve ..." etc. Use *[login to view URL] naming convention, please. - You give the working method(s) with a clear explanation how to test it. Preferably with a runnable batch file containing the needed command line commands to start the Java method you delivered. - All features from S1-S4 work as it is required, fulfilling the U1-U4 use cases. We pay: ------- - within 2-3 days. Generally immediately after code acceptance.
Project ID: 2206587

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$80 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of HUNGARY
Budapest, Hungary
5.0
50
Payment method verified
Member since Jul 22, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.