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

  Create a new project in ide named exceptionhandler

Write code to accept numbers as described above from the user. Your code should ensure that only numbers are accepted.

  Arrays and control structures problem

While working with Java, one should become familiar with the term called array. An array is a category that holds more than one value at one time, a list of various items that belong to a certain category or bucket. Similar to an excel spreadsheet..

  Write a syntactically correct java program

Give an example from your daily life of some things that could be represented as an Array and how it could be used. Write a syntactically correct Java program to present your example: declarations, initializations and use

  Design a solution to the problem by using the five steps to

the software needs to allow the restaurant owner to schedule employees for up to 40 hours in a seven-day week. the

  What do you think the advantages of method overloading

What side are you on? What do you think the advantages of method overloading are? How would you use method overloading when writing a program? Critique or defend your classmates' positions

  Create an employee class.

Create an Employee class. Items to include as data members are employee number, name, date of hire, job description, department, and monthly salary.

  Write a program to read a file and encode

Write a program to read a file and encode the file to an encrypted file. And write a program to get an encrypted file and decode to original file. Your program should prompt the user to enter an input file name and an output file name

  Create a jsp that displays the student name

Create a JSP that displays the student name and the current score, given the EMPLID and class ID. For each class, a text file is used to store the student name, EMPLID, and current score

  Create a japplet that contains a jlabel and jbutton

Create a JApplet that contains a JLabel and JButton -  create an HTML document to host the applet, set the Width to 450 and the Height to 200. Save as TestJChangeFont.html.

  Corrections as necessary and output screen snapshots

Submit all completed programs, with corrections as necessary and output screen snapshots, to demonstrate that they all perform properly to meet the specifications.

  What is localization and why add it to your app

Is Google Cloud Messaging the best approach to use for push notifications? What is localization and why add it to your app?

  Write java program that demonstrates exception handling

You will write a Java program that demonstrates exception handling. Your program will accept from the user ten values and place those numbers in an array

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