Skip to content Skip to navigation

Connexions

You are here: Home » Content » MATLAB EQ: Approach: Time-Domain and Effects

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

This feature requires Javascript to be enabled.

MATLAB EQ: Approach: Time-Domain and Effects

Module by: Niklos Maureira

Summary: This is a summary of the time-domain effects and Gain & Volume.

Approach: Time-Domain and Effects

Once the Inverse Fast Fourier Transform (IFFT) has taken place, we are able to apply our time-domain effects: Reverb, Flange, and Distortion. When the effects have been implemented, we then output our modified signal into a plot where we are able to analyze the new spectrum of our signal. The last two effects, Gain and Volume, are included at the end.

Flange

Flanging is another time-domain audio effect which happens when two audio signals are mixed together, with the requirement that one of the signals is time-delayed by a very small amount of time. An analogy we like is the simultaneous playing of two tape recorders playing the same track. Then if we pause one of them for a small amount of time and then hit play, the combined audio of the two tape recorders is flanging.

In our coding, we used 15 refresh periods.

Figure 1
Figure 1 (graphics1.jpg)

Reverb

By definition, reverberation is the lingering of sound in a given space once the original sound is removed. It is not necessarily termed “echo” as reverb is the decay of a large number of echoes when the sound is absorbed. Thus, once the sound signal stops, the reverberated reflections carry on and gradually decrease in amplitude until they zero out.

In our implementation, we used 15 consecutive refresh periods. This wasn’t incredibly realistic as we could have modified our design to produce a better reverb, but this allowed our program to function smoothly without memory overflows in MATLAB.

The main visual difference between flange and reverb was the persistence of sound once the song/audio clip ended.

Figure 2
Figure 2 (graphics2.jpg)

Distortion

A distortion that we introduced in our equalizer can also be referred to as “audio clipping” as we cut off signals above a certain amplitude.

This is also called hard clipping. Distortion is usually an unwanted effect except in music, such as Gabber (150-220 beats-per-minute hardcore techno) or as an electric guitar effect.

In order to guarantee a visual representation, we went ahead and clipped our signals at the 0.5 mark in amplitude.

Figure 3
Figure 3 (graphics3.jpg)

Gain

In our equalizer, we implemented a gain control which provided for the increase of our input signal’s amplitude for a given frequency band. We had 10 frequency bands of which we could modify the gain levels.

Figure 4
Figure 4 (graphics4.jpg)

Volume

Volume is the implementation of gain for all frequencies.

Figure 5
Figure 5 (graphics5.jpg)

Comments, questions, feedback, criticisms?

Send feedback