Reference no: EM131404972
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 pseudocode, 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 runtime errors. This gives three marks, each /10.
Attachment:- Assignment Files.rar
Police officers to those who came into the agency 20
: Compare today's police officers to those who came into the agency 20, 30 years ago. How are they similar or differ. Criminal Justice
|
Prepare a revised budget for the stratton township park
: MHA 5001- Prepare a revised budget for the Stratton Township Park reflecting these changes. Will these budget modifications meet the township's goal of reducing the subsidy it would have given to the park in the next fiscal year by 20%?
|
Education system contribute to major depressive disorder
: To what extent does the South Korean education system contribute to Major Depressive Disorder (MDD) amongst South Korean adolescents?
|
Calculate the key rations of rentability for tivoli
: Based on the extract from the annual report for Tivoli 2015, Peter has asked you kindly to calculate the key rations of rentability for Tivoli for the period shown below
|
You should complete the scaletozero and addnote methods
: 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
|
Write what you think the proverb means
: you will be asked to think about how cultural values are taught through proverbs. Re-read pages 45-47 in your textbook. Come up with five proverbs that you were taught as a child. If you get really stuck, hunt on the Internet for proverbs from ..
|
Evaluate the feasibility and validity of the research
: The primary objective of public health research is to add to the body of public health knowledge. Research that is well designed can help to inform public health programs, halt disease transmission, and potentially eradicate disease. All research ..
|
What innovative steps you could take to deter employee theft
: determine the most suitable means of inventory control. Provide specific examples to support your response. For the same business, discuss what innovative steps you could take to deter employee theft and/or shoplifting.
|
Compare the roles ethics and morals play in peoples lives
: you will discuss the similarities and differences between ethics, morals, and laws, and discuss the advantages and disadvantages of having the lines between those principles blurred.discuss the roles ethics, morals, and laws play in people's lives...
|