Question: i need help with this. im not sure how to put together the code to make it work language. 4. Identify, compare, evaluate, and use
language. 4. Identify, compare, evaluate, and use the formal elements of procedural abstraction, including parameters, local variables, and return values. 5. Write programs that use a one-dimensional data structure to represent aggregate data and iteration to compute over the structure. 1. Create a program that does the following tasks. Make sure your code uses descriptive function and variable names and is hierarchically decomposed. a. Load a sound file automatically by using getMediaPath() and specifying its file name in your code. b. Use blocking play to play the sound. c. Create a function to display the characteristics of the sound along with labels. Display how many samples, sampling rate, and duration. d. Set the first half of the sound to be one fourth of its original volume. e. Set the last half of the sound to be four times of its original volume. f. Use blocking play to play the resulting sound. g. Display the characteristics of the sound again. h. Set every sample in the sound to its maximum value. If the sample is positive, set it to 32767 ; if negative, set it to 32768. i. Use blocking play to play the resulting sound. j. Display the characteristics of the sound again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
