<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="id10543225">
  <name>MATLAB EQ: Approach: Time-Domain and Effects</name>
  <metadata>
  <md:version>1.1</md:version>
  <md:created>2007/12/18 20:51:02.913 US/Central</md:created>
  <md:revised>2007/12/19 09:14:45.873 US/Central</md:revised>
  <md:authorlist>
      <md:author id="nik">
      <md:firstname>Niklos</md:firstname>
      
      <md:surname>Maureira</md:surname>
      <md:email>niklos@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="nik">
      <md:firstname>Niklos</md:firstname>
      
      <md:surname>Maureira</md:surname>
      <md:email>niklos@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="AlexM">
      <md:firstname>Alex</md:firstname>
      
      <md:surname>Mrozack</md:surname>
      <md:email>alex.mrozack@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract>This is a summary of the time-domain effects and Gain &amp; Volume.</md:abstract>
</metadata>
  <content>
    <section id="id-235182373767">
      <name>Approach: Time-Domain and Effects</name>
      <para id="id10853321">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.</para>
      <section id="id-444968782566">
        <name>Flange</name>
        <para id="id12274985"/>
        <para id="id12132543">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.</para>
        <para id="id10184231">In our coding, we used 15 refresh periods. </para>
        <figure id="id11549963">
          <media type="image/jpg" src="graphics1.jpg">
            <param name="height" value="419"/>
            <param name="width" value="332"/>
          </media>
        </figure>
      </section>
      <section id="id-470610818094">
        <name>Reverb</name>
        <para id="id11624797">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.</para>
        <para id="id10578802">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.</para>
        <para id="id11549385">The main visual difference between flange and reverb was the persistence of sound once the song/audio clip ended.</para>
        <figure id="id9655378">
          <media type="image/jpg" src="graphics2.jpg">
            <param name="height" value="414"/>
            <param name="width" value="332"/>
          </media>
        </figure>
      </section>
      <section id="id-452296464522">
        <name>Distortion</name>
        <para id="id12788669">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. </para>
        <para id="id8685674">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.</para>
        <para id="id11552834">In order to guarantee a visual representation, we went ahead and clipped our signals at the 0.5 mark in amplitude.</para>
        <figure id="id9414590">
          <media type="image/jpg" src="graphics3.jpg">
            <param name="height" value="418"/>
            <param name="width" value="332"/>
          </media>
        </figure>
      </section>
      <section id="id-981588731002">
        <name>Gain</name>
        <para id="id11545754">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.</para>
        <figure id="id12288033">
          <media type="image/jpg" src="graphics4.jpg">
            <param name="height" value="418"/>
            <param name="width" value="332"/>
          </media>
        </figure>
      </section>
      <section id="id-526724802838">
        <name>Volume</name>
        <para id="id12297127">Volume is the implementation of gain for all frequencies.</para>
        <figure id="id8168230">
          <media type="image/jpg" src="graphics5.jpg">
            <param name="height" value="419"/>
            <param name="width" value="332"/>
          </media>
        </figure>
      </section>
    </section>
  </content>
</document>
