Question
Need help on following JAVA problem: Write a class called VolumeAdjuster which contains a method called changeVolume. The changeVolume method allows you to modify how
Need help on following JAVA problem:
Write a class called VolumeAdjuster which contains a method called changeVolume. The changeVolume method allows you to modify how load the sound produced by samples in a WAV file is. The changeVolume method should look like the following with 3 arguments: public void changeVolume(String source file, String destination file, float scale).
The last floating point argument scale is used to multiply the samples of a WAV file up or down by a certain value. In the main method call changeVolume method and use different values of scale to test the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started