{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EE341Lab1Report

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

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

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];

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online