You should complete the scaletozero and addnote methods

Assignment Help JAVA Programming
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 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

Reference no: EM131404972

Questions Cloud

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...

Reviews

len1404972

2/24/2017 11:24:14 PM

The txt files are java files. I have already finished the first method so I don't need help with that one. Please submit your AudioManipulation.java file for via the Hand­In System. Do not modify it in any way, apart from adding in code for the effects. Do not include any code whatsoever at the start of the file, such as a package or project statement.

Write a Review

JAVA Programming Questions & Answers

  1 what makes a program easy to modify2 describe the order

1. what makes a program easy to modify?2. describe the order of magnitude of the following code section using bigo

  Find method of the class is passed each of the targets

How many calls to the recFind method of the ArraySortedList3 class are made when the find method of the class is passed each of the targets?

  How many data items are within one standard deviation

How many data items are within One Standard Deviation - Generate a list of 100 values between 0 and 100 using the generator (int)(Math.random()*101).

  Explore how to throw and rethrow and exception

We will explore how to throw and rethrow and exception, and how to handle events in a program.  Please respond to all of the following prompts:Discuss whether it is it possible

  Write a program which randomly chooses an integer

Write a program which randomly chooses an integer from 1 to 100. The program should then tell the user.The program should then ask the user to complete the puzzle such that each row and each column consists of the letters

  Purchasing type of mobile device

Mobile devices use touch screens to interact with the individual. Select a mobile device and identify three (3) important usability features that are important to you when purchasing this type of mobile device. Provide a rationale for your respons..

  Banking program that simulates the operation

Write a banking program that simulates the operation of your local bank. Declare the following class

  Develop and test stand alone java applications

Demonstrate an understanding of Object-Oriented Programming concepts in Java.

  Design and implement the class day

Design and implement the class Day that implements the day of the week in a program. The class Day should store the day, such as Sun for Sunday. The program should be able to perform the following operations on an object of type Day: Set the day

  Display the total annual compensation

The application should ask the user to enter annual sales, and it should display the total annual compensation

  Program that reads customers information from a file

Write a program that reads customers information from a file, and creates a movie theatre seating with a number of rows and columns specified by a user. Then it will attempt to assign each customer to a seat in a movie theatre.

  Write a while loop that lets the user enter a number

1) Write a while loop that lets the user enter a number. The number should then be multiplied by 10, and stored in a variable called product. The loop should then iterate as long as product contains a value less than 100.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd