Nt1310 Unit 3 Lab Report

Words: 1229
Pages: 5

Chapter Three
Design Principles and Implementation

3.1 Overview

This chapter deals with the use of the MATLAB software to design the digital-mixer. At first the idea of using the Graphical User Interface for MATLAB was looking promising as it provides a more classic and neat look compare Simulink model. But using the GUI in MATLAB was a very tedious task with all the coding and errors that arose. Therefore, Simulink was chosen as it provides a more direct approach to design the digital mixer. The concept of the digital mixer was based on the concept of the examples of digital signal processing in Simulink. The command “dspaudioeffects” was typed in the MATLAB command window to generate the example. From this example, the idea to design
…show more content…
Upon double clicking on the Effect parameter, a new window will appear to let you choose between the five different sound effects available as shown in the diagram below. Now that the desirable audio effect has been selected, click Ok button and then Run the simulation, note that the simulation is set to infinite so that it runs the music in a loop. If the user wants to listen to the difference between the original sound and the enhanced version, the use of the switch before the ‘To Audio Device’ block is pressed to change the Audio effect parameter and therefore listening to the …show more content…
From the diagram above, there are five subsystems which represent the five different sound effect.
Here, the active subsystem is controlled using a Simulink Switch Case block which is named ‘Switch Effect’ in the diagram. Also, the Effect parameter of the parent block drives the switch, this in turns will activate one of the five audio effects subsystem.
3.3 The Subsystems

Now, the contents of each subsystem are shown and thoroughly explained with the help of calculations and theories. When the user clicks on any one of the subsystems, a new window will appear revealing the inside of inside of each subsystem. This is where the design of each audio effect is done. All the five audio effects will be shown below.
3.3.1 Audio Flanging

As explained in great detailed in chapter 2, the flanging effect is a time-based audio effect which is created by combining a signal with the delayed version of itself. In the digital-mixer, the amount of delay is time-varying and this can be done by using the DSP System Toolbox Variable Fractional Delay