Question: Question 1 : WAVE Header Interpretation [ 2 0 marks ] Write a MIPS program, called question 1 . asm, that will tell us information

Question 1: WAVE Header Interpretation [20 marks]
Write a MIPS program, called question1.asm, that will tell us information about a wave file by reading its header. Your program should prompt the user to enter the full file name (the entire path) and the file size (in bytes) as input. The program will then output information about the files number of channels, sample rate, byte rate and bits per sample.
Sample IO:
Enter a wave file name:
/home/lynn/Documents/CSC2002S/assign1/q1_t1_in.wav
Enter the file size (in bytes):
132344
Information about the wave file:
================================
Number of channels: 1
Sample rate: 22050
Byte rate: 44100
Bits per sample: 16

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!