You should complete the scaletozero addnote tune and


In this worksheet you will handle sound data. In particular you will write methods that introduce sound effects to recorded sound data.

Exercise - Your task is to complete the AudioManipulation.java file.

The AudioManipulation class is similar to the ImageManipulation class of coursework

1. The methods in this class take one AudioInputStream as input and return a new AudioInputStream. Typically the input comes from a recording of your voice.

You need RunEffects.java and editor.jar to run the audio software. To compile use: javac ­classpath editor.jar:. RunEffects.java

To run use: java ­classpath editor.jar:. RunEffects

You can assume that the AudioInputStream passed to the following methods is PCM encoded with 16 bits (big endian), a sample rate of 44.1 kHz, and 2 channels.

The echo effect method is already written and by trying to understand it you will begin to see how to code up the remaining methods.

In each case, use pencil and paper, plus audio theory and pseudo­code, to specify/design solutions. Then begin coding.

General instructions

You should complete the scaleToZero, addNote, tune and altChannels methods.

You can test your method with different parameter values by editing the RunEffects.java file.

One mark C/10 will be awarded for code that complies without any errors.

A mark S/10 will be awarded for scaleToZero, addNote+tune (one mark for the combined code), altchannels. S is for code specification correctness and no run­time errors. This gives three marks, each /10.

Attachment:- Assignment Files.rar

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: You should complete the scaletozero addnote tune and
Reference No:- TGS02201601

Expected delivery within 24 Hours