Fast" Fourier Transforms-For Fun and Profit

Total Page:16

File Type:pdf, Size:1020Kb

Fast FAST" FOURIER TRANSFORMS-FOR FUN AND PROFIT W. M. Gentleman BeU Telephone Laboratories Murray HiU, New Jersey and G. Sande· Princeton University Princeton, New Jersey IMPLEMENTING FAST FOURIER which become practical when used with the fast TRANSFORMS algorithm, make the technique important. Let us therefore first consider some properties of such Definition and Elementary Properties of Fourier transforms. Transj017l'l8 The usual infinite Fourier integral transform is The "Fast Fourier Transform" has now been well known and widely used-the physicist when widely known for about a year. During that time it solving a partial differential equation, the communi­ has had a ma~or effect on several areas of computing, cation engineer looking at noise and the statistician the most striking example being techniques of numer­ studying distributions may all resort to Fourier icaJ convolution, which have been completely ~vo­ transforms, not only be.cause the mathematics may lutionized. What exactly is the "Fast Fourier be simplified, but because nature itself is often easier Transform''? to understand in terms of frequency. What is less well known is that many of the properties of the In fact. the Fast Fourier Transform is nothing usual Fourier transform also hold, perhaps with more than an algorithm whereby, for appropriate slight modification, for the Fourier transform defined length sequences, the finite discrete Fourier transform on finite, equispaced, discrete sequences. of the sequence may be computed much more rapidly than by other available algorithms. The properties We see in Table I that the most significant change and uses of the finite discrete Fourier transform, required to modify the usual theorems so that they apply to the finite discrete case is that indexing must .,... work made use of computer facilities supported in be considered modulo N. A useful heuristic inter­ part by National ~CDce Foundation grant NSF-GPS79. pretation of this is to think of the sequence X(t) as Research was partially ~ported by the Office of Naval a function defined at equispaced points on a circle. ~ UDder CODtract Nonr 1858(05) and by the Na­ UUIIIU Reeearch CouncIl of Canada. This interpretation is to be contrasted with what is .. 563 564 PROCEEDINGS-FALL J~INT COMPUTER. CONFERENCE, 1966 TABLE I TABLE l-(Continued) A Comparison Usual and Finite Discrete 0/ Uaual Finite Dilcrete Fourier Trans/orms that is, the inverse Fourior that is, tho inverse Fourier Usual Finite Discrete transform of the product of transform of the product of the Fourier transforms. the F 0 uri e r tranaforma. Definition NOTE: Tho convolutioD ....1' here must be conaidered as AA N-I ,X(n ... !(t)et-lI~dt X(t) ~ X(t)e lf cyclic, i.e.. the indicoa of X. f__ '=0 and Y must be intorpreled modulo N. Linearity Operational Calculru The Fourior transform is a The Fourier transform is a An operational calculus can An operational calculus can linear operator. linear operator. be defined, based on the be defined, based on the OnhogonaUty property that property that N-I ... ,1 o:..llc1'-~dt - a(i'-'h X(t)j"'d' ~ (~X(t»e'- f-co iG. '..0 · A where a(i'- f) is the Dirac where IN is the Kronecker - -2'11'01(i) - (e --;:' -1) X(I) delta function. That is, delta function with ita argu­ ment being considered mod­ i.e., the Fourior transform Le., tho Fourier transform ulo N. That is, b(kN) of the derivative of a func­ of the (forward) cWfereoce /(0) if 0 /.i(i>a(l)di "" .... I, for intesor k, othOl­ tion ia tho FoUriOl trans­ of a function is the Fourier wise b - 0. , form of the function, mul­ traDlform of the fgnc:tIoa. is fD the interval (a,b), tiplied by -2'11'li: otherwise I multiplied by (e ~t-1). NOTE: Tho difference here J.bf(i> a(i>Ji ... o. must be considered cycJl. cally, so that ~X(t) - X(t+ 1) - X(t) becomr:a Inverse Trans/orm ~X(N-1) .... K(N) - 00 AI' X(N-l) = X(O) - A A A If X(/) If X(t) - 1_ !(/)e... lldl X(N-l) for the case of I = N - 1. thon then Symmetries A If X is real then X is bermi­ If X is real then X is bermf. eo", A " i\ 1 N-l -..III X(t):- X(t)e-Iw"'dt , X(I) ... -~. X(;)e-·- til].D symmetric, i.e., t(t) - til].D aympletric, i.e., .I(t) .. -co f Nt:: {X(-1»·j if X is hepni­ {X(N-1)}·j if X is ~er­ l tian symmetric then jf is mitian symmetric, then Is which we observe can be . wbich we observe can be r considered real. , A ~. If Y is imasfnary, thea considered If Y is imasinarY, then Y r is hermitian antiaym­ 1 is hOJ..lDitian antispnmotric, m 0 tri c, i.e., yO) - as X(t) ... as X(t) -- X N i.e., yet) - -{f(-n)·j -("(N-1»·j if Y Is her­ if Y is hermitian antisym­ mitian antiaymmolric theD N-I "lit}. metric thon Y is imasinary. t is imagiOary. )"e-:-r {f-:X(iW..... '.G} • ~ {X(i> • I { NOTE: The uao of tile tenni hermitian aymmeCric or the complex conjugate of or the complex conjugate of and hermitian antisymmetric the Fourier transform of the tho Fourior transform of the complex conjupte of X. complex conjugate of X, di­ fD the discre~ cue is COD­ vided by N. sistont with that in tho umaI caso if we interpret ~ Convolution Theorem modUlo, N. Shifting Theore11U --X N FAST FOURIER TRANSFORMS-FOR FUN AND PROFIT 565 often the natural interpretation-as sampled data where from ..a continuous infinite function. Basic Algebra 01 Fast Fourier Trans/orms We recognize At this point we will define the notation e(X) tJlflU so $at we may wP~ expressions such as those B-1 (bb) A-I ~ e - Z:(b) and 1 e (A)~ W,,(a) of Table ~ in a ~pler fonia. The two most impor­ "=0 B a=o A tant properties of e(X) are'·that as Fourier transforms themselves, applied to shorter e(X+Y) = e(X)e(Y) sequences. Obtaining a subsequence by starting at and the bth element and taking every Bth element e(X) = 1 if X is an integer. thereafter, in the manner W,,(a) is obtained from X(b+aB), is called decimating by B. Observe that Using this notation, the finite discrete Fourier tlJi sequence Z~(b) are not quite the sequence of transform' of the sequence X(I) is frequency a values from the transforms of these decimated sequences, but these values multiplied 'by N-t ( It) . = X(t)e N XC?) ~ Ii "twiddle fac;tor" e ( ab ). , AB Suppose N has factors A and B so that N AB. = The Fourier transform of the complete AB point • '" A A Then writing I = a + bA and I = b + aB where sequence may thus be accomplished by doing the B a,a = 0,1, .. ,A-l and b,8 = 0,1, .. ,B-1; we different A point Fourier transforms, multiplying have through by the appropriate twiddle factors, then X(a+bA) doing the A different B point Fourier transforms. This is a recursive formula which defines the larger = ~ ~ X(b+aB)e( {a+bAl~b+aB} ) Fourier transform in terms of smaller ones. The total number of operations is now proportional to AB(A +B) rather than (AB)" as it would be for a B-1 A-I {fA aa bb .. ) = ~ ~ X(b+aB)e - + - + - + ab direct implementation of the definition, hence the hOa=o B A B name "Fast Fourier Transform". Associated observations: = ~ ~ ':~(b+aB)' (~) e (;) e( ~) 1. Attention is drawn to the special ad­ vantage of factors 2 or 4, in that since a , as as is in~gral implies e( as) = 1 Fourier transform of a 2 or 4 point se­ quence may be done using only additions = ~ e (~)l e ~ ) ~ X(b+aB)e (~a)~ and subtractions, one stage of complex arithmetic may be avoided. If we define the B different sequences 2. Although the recursive algorithm above may be implemented directly, it is Wt(a) X(b+aH) a 0,1, .. ,A-l = = much better to simulate the recursion as and the A different sequences described in the following sections, since one may avoid the unnecessary calculation Zt(b) = e (!) ~ X(b+aB)e (;) of some complex exponentials. With our programs, for example, the simulating th~ b = 0,1, .. ,B-l recursion takes only 2/5 as long for a 210 point transform .• we can write the above equation as • ' . B 1 A • All programs discuaed in this paper were fmplemeated X(a+GB) = i e (bb) Za(b) usins ALCOR Algol 60 on tho mM 7094 at Princeton 11110 B University. .. 566 PROCEEDING~FALL JOINT COMPUTER CONFERBN,CB, 1966 3. The multi-dimensional finite discrete Fourier transform e(~(a+bA+CAB») X(a+bA+cAB) . ABC In both cases we may factor ~e tWiddle factor out­ side the summation. if we do tliis we obtain in the first case ... .. can be computed efficiently by factorizing X(c+bc+aBC) = ~ e(~) eC~[~~~) in each dimension separately, as above. 4. The algebra presented here is not 2 e(b"&) ~(b~)2 e(~)X(a+bA+cA.B) quite that appearing in "An Algorithm for &..0 B B CaD .C the Machine Calculations of Complex (Cooley version) Fourier Series," by I. W. Cooley' and I. W. In the second case we obtain Tukey.1I The difference can be seen if we consider N as having three factors, N = X(c+tC+DBC) ~ A-1~ e (""')~ e ( ABab )"'1l , ABC.
Recommended publications
  • The Fast Fourier Transform
    The Fast Fourier Transform Derek L. Smith SIAM Seminar on Algorithms - Fall 2014 University of California, Santa Barbara October 15, 2014 Table of Contents History of the FFT The Discrete Fourier Transform The Fast Fourier Transform MP3 Compression via the DFT The Fourier Transform in Mathematics Table of Contents History of the FFT The Discrete Fourier Transform The Fast Fourier Transform MP3 Compression via the DFT The Fourier Transform in Mathematics Navigating the Origins of the FFT The Royal Observatory, Greenwich, in London has a stainless steel strip on the ground marking the original location of the prime meridian. There's also a plaque stating that the GPS reference meridian is now 100m to the east. This photo is the culmination of hundreds of years of mathematical tricks which answer the question: How to construct a more accurate clock? Or map? Or star chart? Time, Location and the Stars The answer involves a naturally occurring reference system. Throughout history, humans have measured their location on earth, in order to more accurately describe the position of astronomical bodies, in order to build better time-keeping devices, to more successfully navigate the earth, to more accurately record the stars... and so on... and so on... Time, Location and the Stars Transoceanic exploration previously required a vessel stocked with maps, star charts and a highly accurate clock. Institutions such as the Royal Observatory primarily existed to improve a nations' navigation capabilities. The current state-of-the-art includes atomic clocks, GPS and computerized maps, as well as a whole constellation of government organizations.
    [Show full text]
  • Fourier Series
    Academic Press Encyclopedia of Physical Science and Technology Fourier Series James S. Walker Department of Mathematics University of Wisconsin–Eau Claire Eau Claire, WI 54702–4004 Phone: 715–836–3301 Fax: 715–836–2924 e-mail: [email protected] 1 2 Encyclopedia of Physical Science and Technology I. Introduction II. Historical background III. Definition of Fourier series IV. Convergence of Fourier series V. Convergence in norm VI. Summability of Fourier series VII. Generalized Fourier series VIII. Discrete Fourier series IX. Conclusion GLOSSARY ¢¤£¦¥¨§ Bounded variation: A function has bounded variation on a closed interval ¡ ¢ if there exists a positive constant © such that, for all finite sets of points "! "! $#&% (' #*) © ¥ , the inequality is satisfied. Jordan proved that a function has bounded variation if and only if it can be expressed as the difference of two non-decreasing functions. Countably infinite set: A set is countably infinite if it can be put into one-to-one £0/"£ correspondence with the set of natural numbers ( +,£¦-.£ ). Examples: The integers and the rational numbers are countably infinite sets. "! "!;: # # 123547698 Continuous function: If , then the function is continuous at the point : . Such a point is called a continuity point for . A function which is continuous at all points is simply referred to as continuous. Lebesgue measure zero: A set < of real numbers is said to have Lebesgue measure ! $#¨CED B ¢ £¦¥ zero if, for each =?>A@ , there exists a collection of open intervals such ! ! D D J# K% $#L) ¢ £¦¥ ¥ ¢ = that <GFIH and . Examples: All finite sets, and all countably infinite sets, have Lebesgue measure zero. "! "! % # % # Odd and even functions: A function is odd if for all in its "! "! % # # domain.
    [Show full text]
  • Red Hat Enterprise Linux 8 Security Hardening
    Red Hat Enterprise Linux 8 Security hardening Securing Red Hat Enterprise Linux 8 Last Updated: 2021-09-06 Red Hat Enterprise Linux 8 Security hardening Securing Red Hat Enterprise Linux 8 Legal Notice Copyright © 2021 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
    [Show full text]
  • CIS Ubuntu Linux 18.04 LTS Benchmark
    CIS Ubuntu Linux 18.04 LTS Benchmark v1.0.0 - 08-13-2018 Terms of Use Please see the below link for our current terms of use: https://www.cisecurity.org/cis-securesuite/cis-securesuite-membership-terms-of-use/ 1 | P a g e Table of Contents Terms of Use ........................................................................................................................................................... 1 Overview ............................................................................................................................................................... 12 Intended Audience ........................................................................................................................................ 12 Consensus Guidance ..................................................................................................................................... 13 Typographical Conventions ...................................................................................................................... 14 Scoring Information ..................................................................................................................................... 14 Profile Definitions ......................................................................................................................................... 15 Acknowledgements ...................................................................................................................................... 17 Recommendations ............................................................................................................................................
    [Show full text]
  • Discrete-Time Fourier Transform
    .@.$$-@@4&@$QEG'FC1. CHAPTER7 Discrete-Time Fourier Transform In Chapter 3 and Appendix C, we showed that interesting continuous-time waveforms x(t) can be synthesized by summing sinusoids, or complex exponential signals, having different frequencies fk and complex amplitudes ak. We also introduced the concept of the spectrum of a signal as the collection of information about the frequencies and corresponding complex amplitudes {fk,ak} of the complex exponential signals, and found it convenient to display the spectrum as a plot of spectrum lines versus frequency, each labeled with amplitude and phase. This spectrum plot is a frequency-domain representation that tells us at a glance “how much of each frequency is present in the signal.” In Chapter 4, we extended the spectrum concept from continuous-time signals x(t) to discrete-time signals x[n] obtained by sampling x(t). In the discrete-time case, the line spectrum is plotted as a function of normalized frequency ωˆ . In Chapter 6, we developed the frequency response H(ejωˆ ) which is the frequency-domain representation of an FIR filter. Since an FIR filter can also be characterized in the time domain by its impulse response signal h[n], it is not hard to imagine that the frequency response is the frequency-domain representation,orspectrum, of the sequence h[n]. 236 .@.$$-@@4&@$QEG'FC1. 7-1 DTFT: FOURIER TRANSFORM FOR DISCRETE-TIME SIGNALS 237 In this chapter, we take the next step by developing the discrete-time Fouriertransform (DTFT). The DTFT is a frequency-domain representation for a wide range of both finite- and infinite-length discrete-time signals x[n].
    [Show full text]
  • An Introduction to Programming in Fortran 90
    Guide 138 Version 3.0 An introduction to programming in Fortran 90 This guide provides an introduction to computer programming in the Fortran 90 programming language. The elements of programming are introduced in the context of Fortran 90 and a series of examples and exercises is used to illustrate their use. The aim of the course is to provide sufficient knowledge of programming and Fortran 90 to write straightforward programs. The course is designed for those with little or no previous programming experience, but you will need to be able to work in Linux and use a Linux text editor. Document code: Guide 138 Title: An introduction to programming in Fortran 90 Version: 3.0 Date: 03/10/2012 Produced by: University of Durham Computing and Information Services This document was based on a Fortran 77 course written in the Department of Physics, University of Durham. Copyright © 2012 University of Durham Computing and Information Services Conventions: In this document, the following conventions are used: A bold typewriter font is used to represent the actual characters you type at the keyboard. A slanted typewriter font is used for items such as filenames which you should replace with particular instances. A typewriter font is used for what you see on the screen. A bold font is used to indicate named keys on the keyboard, for example, Esc and Enter, represent the keys marked Esc and Enter, respectively. Where two keys are separated by a forward slash (as in Ctrl/B, for example), press and hold down the first key (Ctrl), tap the second (B), and then release the first key.
    [Show full text]
  • Short-Time Fourier Analysis Why STFT for Speech Signals Overview
    General Discrete-Time Model of Speech Production Digital Speech Processing— Lecture 9 Short-Time Fourier Analysis Methods- Voiced Speech: • AVP(z)G(z)V(z)R(z) Introduction Unvoiced Speech: 1 • ANN(z)V(z)R(z) 2 Short-Time Fourier Analysis Why STFT for Speech Signals • represent signal by sum of sinusoids or • steady state sounds, like vowels, are produced complex exponentials as it leads to convenient by periodic excitation of a linear system => solutions to problems (formant estimation, pitch speech spectrum is the product of the excitation period estimation, analysis-by-synthesis spectrum and the vocal tract frequency response methods), and insight into the signal itself • speech is a time-varying signal => need more sophisticated analysis to reflect time varying • such Fourier representations provide properties – convenient means to determine response to a sum of – changes occur at syllabic rates (~10 times/sec) sinusoids for linear systems – over fixed time intervals of 10-30 msec, properties of – clear evidence of signal properties that are obscured most speech signals are relatively constant (when is in the original signal this not the case) 3 4 Frequency Domain Processing Overview of Lecture • define time-varying Fourier transform (STFT) analysis method • define synthesis method from time-varying FT (filter-bank summation, overlap addition) • show how time-varying FT can be viewed in terms of a bank of filters model • Coding: • computation methods based on using FFT – transform, subband, homomorphic, channel vocoders • application
    [Show full text]
  • Fourier Analysis
    Fourier Analysis Hilary Weller <[email protected]> 19th October 2015 This is brief introduction to Fourier analysis and how it is used in atmospheric and oceanic science, for: Analysing data (eg climate data) • Numerical methods • Numerical analysis of methods • 1 1 Fourier Series Any periodic, integrable function, f (x) (defined on [ π,π]), can be expressed as a Fourier − series; an infinite sum of sines and cosines: ∞ ∞ a0 f (x) = + ∑ ak coskx + ∑ bk sinkx (1) 2 k=1 k=1 The a and b are the Fourier coefficients. • k k The sines and cosines are the Fourier modes. • k is the wavenumber - number of complete waves that fit in the interval [ π,π] • − sinkx for different values of k 1.0 k =1 k =2 k =4 0.5 0.0 0.5 1.0 π π/2 0 π/2 π − − x The wavelength is λ = 2π/k • The more Fourier modes that are included, the closer their sum will get to the function. • 2 Sum of First 4 Fourier Modes of a Periodic Function 1.0 Fourier Modes Original function 4 Sum of first 4 Fourier modes 0.5 2 0.0 0 2 0.5 4 1.0 π π/2 0 π/2 π π π/2 0 π/2 π − − − − x x 3 The first four Fourier modes of a square wave. The additional oscillations are “spectral ringing” Each mode can be represented by motion around a circle. ↓ The motion around each circle has a speed and a radius. These represent the wavenumber and the Fourier coefficients.
    [Show full text]
  • Intel® Math Kernel Library 10.1 for Windows*, Linux*, and Mac OS* X
    Intel® Math Kernel Library 10.1 for Windows*, Linux*, and Mac OS* X Product Brief The Flagship for High-Performance Computing Intel® Math Kernel Library 10.1 Math Software for Windows*, Linux*, and Mac OS* X Intel® Math Kernel Library (Intel® MKL) is a library of highly optimized, extensively threaded math routines for science, engineering, and financial applications that require maximum performance. Availability • Intel® C++ Compiler Professional Editions (Windows, Linux, Mac OS X) • Intel® Fortran Compiler Professional Editions (Windows, Linux, Mac OS X) • Intel® Cluster Toolkit Compiler Edition (Windows, Linux) • Intel® Math Kernel Library 10.1 (Windows, Linux, Mac OS X) Functionality “By adopting the • Linear Algebra—BLAS and LAPACK • Fast Fourier Transforms Intel MKL DGEMM • Linear Algebra—ScaLAPACK • Vector Math Library libraries, our standard • Linear Algebra—Sparse Solvers • Vector Random Number Generators benchmarks timing DGEMM Threaded Performance Intel® Xeon® Quad-Core Processor E5472 3.0GHZ, 8MB L2 Cache,16GB Memory Intel® Xeon® Quad-Core Processor improved between Redhat 5 Server Intel® MKL 10.1; ATLAS 3.8.0 DGEMM Function 43 percent and 71 Intel MKL - 8 Threads Intel MKL - 1 Thread ATLAS - 8 Threads 100 percent…” ATLAS - 1 Thread 90 Matt Dunbar 80 Software Developer, 70 ABAQUS, Inc. s 60 p GFlo 50 40 30 20 10 0 4 6 8 2 4 0 8 2 8 4 6 0 4 2 4 8 6 6 8 9 10 11 12 13 14 16 18 19 20 22 25 32 38 51 Matrix Size (M=20000, N=4000, K=64, ..., 512) Features and Benefits Vector Random Number Generators • Outstanding performance Intel MKL Vector Statistical Library (VSL) is a collection of 9 random number generators and 22 probability distributions • Multicore and multiprocessor ready that deliver significant performance improvements in physics, • Extensive parallelism and scaling chemistry, and financial analysis.
    [Show full text]
  • The Fractional Fourier Transform and Applications David H. Bailey and Paul N. Swarztrauber October 19, 1995 Ref: SIAM Review, Vo
    The Fractional Fourier Transform and Applications David H. Bailey and Paul N. Swarztraub er Octob er 19, 1995 Ref: SIAM Review,vol. 33 no. 3 (Sept. 1991), pg. 389{404 Note: See Errata note, available from the same web directory as this pap er Abstract This pap er describ es the \fractional Fourier transform", which admits computation by an algorithm that has complexity prop ortional to the fast Fourier transform algorithm. 2 i=n Whereas the discrete Fourier transform (DFT) is based on integral ro ots of unity e , 2i the fractional Fourier transform is based on fractional ro ots of unity e , where is arbitrary. The fractional Fourier transform and the corresp onding fast algorithm are useful for such applications as computing DFTs of sequences with prime lengths, computing DFTs of sparse sequences, analyzing sequences with non-integer p erio dicities, p erforming high-resolution trigonometric interp olation, detecting lines in noisy images and detecting signals with linearly drifting frequencies. In many cases, the resulting algorithms are faster by arbitrarily large factors than conventional techniques. Bailey is with the Numerical Aero dynamic Simulation (NAS) Systems Division at NASA Ames ResearchCenter, Mo ett Field, CA 94035. Swarztraub er is with the National Center for Atmospheric Research, Boulder, CO 80307, whichissponsoredby National Sci- ence Foundation. This work was completed while Swarztraub er was visiting the Research Institute for Advanced Computer Science (RIACS) at NASA Ames. Swarztraub er's work was funded by the NAS Systems Division via Co op erative Agreement NCC 2-387 b etween NASA and the Universities Space Research Asso ciation.
    [Show full text]
  • Fourier Analysis
    FOURIER ANALYSIS Lucas Illing 2008 Contents 1 Fourier Series 2 1.1 General Introduction . 2 1.2 Discontinuous Functions . 5 1.3 Complex Fourier Series . 7 2 Fourier Transform 8 2.1 Definition . 8 2.2 The issue of convention . 11 2.3 Convolution Theorem . 12 2.4 Spectral Leakage . 13 3 Discrete Time 17 3.1 Discrete Time Fourier Transform . 17 3.2 Discrete Fourier Transform (and FFT) . 19 4 Executive Summary 20 1 1. Fourier Series 1 Fourier Series 1.1 General Introduction Consider a function f(τ) that is periodic with period T . f(τ + T ) = f(τ) (1) We may always rescale τ to make the function 2π periodic. To do so, define 2π a new independent variable t = T τ, so that f(t + 2π) = f(t) (2) So let us consider the set of all sufficiently nice functions f(t) of a real variable t that are periodic, with period 2π. Since the function is periodic we only need to consider its behavior on one interval of length 2π, e.g. on the interval (−π; π). The idea is to decompose any such function f(t) into an infinite sum, or series, of simpler functions. Following Joseph Fourier (1768-1830) consider the infinite sum of sine and cosine functions 1 a0 X f(t) = + [a cos(nt) + b sin(nt)] (3) 2 n n n=1 where the constant coefficients an and bn are called the Fourier coefficients of f. The first question one would like to answer is how to find those coefficients.
    [Show full text]
  • Compositional and Analytic Applications of Automated Music Notation Via Object-Oriented Programming
    UC San Diego UC San Diego Electronic Theses and Dissertations Title Compositional and analytic applications of automated music notation via object-oriented programming Permalink https://escholarship.org/uc/item/3kk9b4rv Author Trevino, Jeffrey Robert Publication Date 2013 Peer reviewed|Thesis/dissertation eScholarship.org Powered by the California Digital Library University of California UNIVERSITY OF CALIFORNIA, SAN DIEGO Compositional and Analytic Applications of Automated Music Notation via Object-oriented Programming A dissertation submitted in partial satisfaction of the requirements for the degree Doctor of Philosophy in Music by Jeffrey Robert Trevino Committee in charge: Professor Rand Steiger, Chair Professor Amy Alexander Professor Charles Curtis Professor Sheldon Nodelman Professor Miller Puckette 2013 Copyright Jeffrey Robert Trevino, 2013 All rights reserved. The dissertation of Jeffrey Robert Trevino is approved, and it is acceptable in quality and form for publication on mi- crofilm and electronically: Chair University of California, San Diego 2013 iii DEDICATION To Mom and Dad. iv EPIGRAPH Extraordinary aesthetic success based on extraordinary technology is a cruel deceit. —-Iannis Xenakis v TABLE OF CONTENTS Signature Page .................................... iii Dedication ...................................... iv Epigraph ....................................... v Table of Contents................................... vi List of Figures .................................... ix Acknowledgements ................................. xii Vita .......................................... xiii Abstract of the Dissertation . xiv Chapter 1 A Contextualized History of Object-oriented Musical Notation . 1 1.1 What is Object-oriented Programming (OOP)? . 1 1.1.1 Elements of OOP . 1 1.1.2 ANosebleed History of OOP. 6 1.2 Object-oriented Notation for Composers . 12 1.2.1 Composition as Notation . 12 1.2.2 Generative Task as an Analytic Framework . 13 1.2.3 Computational Models of Music/Composition .
    [Show full text]