QUESTION # 01: A media clip is a short segment of slextris medischer an audio clip or a video clip Modia clips may be promotional in nature, as with movie clips. Additionally, media clips may be raw materials of other productions, such as audio clips med for und effects The fidelity of an audio clip is defined by the resolution (8.16 24 hits per sample), the sampling rate (22050, 44100, or $200 samples per second) and duration whereas, video clip is defined by number of frames per second frame sine and duration Audio codecs has one audio channel (mono) and two odio channels (stereo). For example, hursan voice is recorded using one channel while music uses in general two or more channels The quality will vary depending on the bitrate, ie the number of hits used per unit of playback time Video codecs will contain a sequence of frames, ie, still pictures and for compressed formats, movements between those pictures. Quality will vary depending on the number of frames per second, resolution, etc Identify the number of classes and relation between them. In as object oriented programming language of your choice, write definition for classes that contains Fields for storing attributes with appropriate visibility 2 Setter and getter methods for manipulating these fields, such that the resolution can only have values & 16 of 24 and sample Rate can only have values 22050, 44100 88200 frames per second must be greater than 25 and less than 30 and frame size should be 480, 720 and 960 A constructor that initializes sew objects to have the lowest quality resolution is set to 8. sampleRate is set to 22050, frames per second is set to be 25 and frame size to 480. 4A A copy constructor Write a new method called studio Quality that will retum te or false, depending upon whether the clip stead has the maximum possible quality fie. 24-bit resolution and sample rate of 88200 samples per second, frames per second is to be 30 and frame size to 960) Write a new method called dataSize that accept the duration that an audio and video clip last is seconds as an integer and returns the number of bytes that this ma video clip would occupy on desk or in memory The formula for calculating number of bytes b for audio clip where is d duration in seconds), C is channels, ris resolution in bits), and is sample rate is And for video clip you need to sam the data sire of each of these digital still images. It means that the total file sue can be found file size - duration * frame per second frame site The file size is expressed in data size units, sach as bytes kilobytes, or megabytes In main create an object array of 10 media clip and test your code. Design a class diagram you can draw on paper on drawin it's up to you Code should be written in c# (C sharp). QUESTION # 01: A media clip is a short segment of slextris medischer an audio clip or a video clip Modia clips may be promotional in nature, as with movie clips. Additionally, media clips may be raw materials of other productions, such as audio clips med for und effects The fidelity of an audio clip is defined by the resolution (8.16 24 hits per sample), the sampling rate (22050, 44100, or $200 samples per second) and duration whereas, video clip is defined by number of frames per second frame sine and duration Audio codecs has one audio channel (mono) and two odio channels (stereo). For example, hursan voice is recorded using one channel while music uses in general two or more channels The quality will vary depending on the bitrate, ie the number of hits used per unit of playback time Video codecs will contain a sequence of frames, ie, still pictures and for compressed formats, movements between those pictures. Quality will vary depending on the number of frames per second, resolution, etc Identify the number of classes and relation between them. In as object oriented programming language of your choice, write definition for classes that contains Fields for storing attributes with appropriate visibility 2 Setter and getter methods for manipulating these fields, such that the resolution can only have values & 16 of 24 and sample Rate can only have values 22050, 44100 88200 frames per second must be greater than 25 and less than 30 and frame size should be 480, 720 and 960 A constructor that initializes sew objects to have the lowest quality resolution is set to 8. sampleRate is set to 22050, frames per second is set to be 25 and frame size to 480. 4A A copy constructor Write a new method called studio Quality that will retum te or false, depending upon whether the clip stead has the maximum possible quality fie. 24-bit resolution and sample rate of 88200 samples per second, frames per second is to be 30 and frame size to 960) Write a new method called dataSize that accept the duration that an audio and video clip last is seconds as an integer and returns the number of bytes that this ma video clip would occupy on desk or in memory The formula for calculating number of bytes b for audio clip where is d duration in seconds), C is channels, ris resolution in bits), and is sample rate is And for video clip you need to sam the data sire of each of these digital still images. It means that the total file sue can be found file size - duration * frame per second frame site The file size is expressed in data size units, sach as bytes kilobytes, or megabytes In main create an object array of 10 media clip and test your code. Design a class diagram you can draw on paper on drawin it's up to you Code should be written in c# (C sharp)