EE341Lab1Report - Introduction: The focus of this report is...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction: The focus of this report is to display how individual music notes can be represent by sine functions of certain frequency and how these can be combined together to create musical scores mathematically. Procedure one covers the creation of individual notes and a basic version of a simple song. Learning about how these functions, which represent different notes, can be altered to achieve a more appealing sound is the focus of procedure two. Results and Discussion: Procedure One: This procedure focused on the creation of individual notes and combining them to make a song. I started by creating individual notes with MATLAB, representing them by sine functions. I first found the frequency of the note from the table provided in the lab and created a time vector of 0.5 seconds with the sampling rate of 8kHz, making a quarter note one count (4000 samples per count). An example of creating a quarter not for an A is as follows: t = [0:1/8000:0.5]; a = sin(2*pi*200*t); I was then able to establish each of the 4 different notes needed to create the musical score for the Scarborough Fair provided in the lab, A, E, B, and C. For longer notes it was necessary to create new time vectors of different durations, but with the same sampling rate. After I had these notes created it was a simple matter to combine them by concatenating the matrices that represented them with MATLAB as such: Song = [a a e e e b c b a]; Adding pauses at the end of each note represented by matrices composed solely of
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/01/2010 for the course E E 341 taught by Professor Chizeck during the Fall '09 term at University of Washington.

Page1 / 4

EE341Lab1Report - Introduction: The focus of this report is...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online