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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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