<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-17272497</id><updated>2011-07-14T14:30:57.638-07:00</updated><title type='text'>Music in Matlab</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-17272497.post-113398727952527464</id><published>2005-12-07T12:27:00.000-08:00</published><updated>2005-12-07T12:27:59.550-08:00</updated><title type='text'>Finals and additional office hours</title><content type='html'>&lt;p class="mobile-post"&gt;There were several inquiries about the time of the final. According to &lt;br /&gt;Tritonlink, it is Friday Dec. 9, 3 - 6 p.m.&lt;br /&gt;https://tritonlink.ucsd.edu/portal/site/tritonlink-preview/menuitem.b4448692267a11256ec5e210514b01ca?storyID=18016&lt;/p&gt;&lt;p class="mobile-post"&gt;I will hold additional office hours tomorrow (Thu.) 2-4 pm.&lt;br /&gt;My office location is Mandeville Center, Room B139&lt;/p&gt;&lt;p class="mobile-post"&gt;Shlomo&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113398727952527464?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113398727952527464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113398727952527464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113398727952527464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113398727952527464'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/12/finals-and-additional-office-hours.html' title='Finals and additional office hours'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-113353818218365318</id><published>2005-12-02T07:43:00.000-08:00</published><updated>2005-12-02T07:43:02.223-08:00</updated><title type='text'>Additional office hours</title><content type='html'>&lt;p class="mobile-post"&gt;I will be available for meetings Tuesday 12-6, between 10am - 12, 1- 5pm at &lt;br /&gt;my office (Mandeville Center, Room B139).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113353818218365318?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113353818218365318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113353818218365318' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113353818218365318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113353818218365318'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/12/additional-office-hours.html' title='Additional office hours'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-113342691227055277</id><published>2005-12-01T00:48:00.000-08:00</published><updated>2005-12-01T00:48:32.293-08:00</updated><title type='text'>Scheduled meetings</title><content type='html'>&lt;p class="mobile-post"&gt;The reserved / open slots for tomorrow  (Thu. 12-1) are:&lt;br /&gt;12:30 Mehrdad&lt;br /&gt;1:15&lt;br /&gt;2:00 Kristine&lt;br /&gt;2:45&lt;br /&gt;3:30 Richie ?&lt;br /&gt;4:15&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113342691227055277?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113342691227055277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113342691227055277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113342691227055277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113342691227055277'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/12/scheduled-meetings.html' title='Scheduled meetings'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-113320843899828870</id><published>2005-11-28T12:07:00.000-08:00</published><updated>2005-11-28T12:07:19.016-08:00</updated><title type='text'>No class on Wed 11-30 and extended office hours on Thu. 12-1</title><content type='html'>&lt;p class="mobile-post"&gt;Attention! For those who missed the last class meeting, note that there &lt;br /&gt;will be no class on Wed 11-30.&lt;br /&gt;I will hold extended office hours on Thu. 12-1 from 12:30 till 5:00.&lt;br /&gt;Final exam (projects presentation and discussion) will be on Fri. 12-9.&lt;/p&gt;&lt;p class="mobile-post"&gt;If you would like to discuss your project on Thu., please bring it with you &lt;br /&gt;or email me the presentation / code before the meeting.&lt;br /&gt;Also, if you would like to reserve a specific time-slot, please email the &lt;br /&gt;requested time.&lt;br /&gt;  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113320843899828870?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113320843899828870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113320843899828870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113320843899828870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113320843899828870'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/11/no-class-on-wed-11-30-and-extended.html' title='No class on Wed 11-30 and extended office hours on Thu. 12-1'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-113164411612751631</id><published>2005-11-10T09:35:00.000-08:00</published><updated>2005-11-11T06:29:34.236-08:00</updated><title type='text'>Projects and other</title><content type='html'>&lt;p class="mobile-post"&gt;Here is a short explanation about the FM synthesis project that I promised:&lt;br /&gt;- fm synthesis uses the principle of fm modulation to create sidebands around a carrier frequency. It is a very fast method to generate a complex&lt;br /&gt;spectrum from only few oscillators. John Chowning developed this method into music synthesis, so that by a careful selection of the modulation&lt;br /&gt;index and other parameters, one can emulate real instruments, from woodwinds to bells, to drums and etc.&lt;br /&gt;The method is described in a paper that I've put in &lt;a href="http://music.ucsd.edu/~sdubnov/Mu176/Projects/Chowning-FM.pdf"&gt;http://music.ucsd.edu/~sdubnov/Mu176/Projects/Chowning-FM.pdf&lt;/a&gt;  Miditoolbox playsound.m is an implementation of one such instrument. The purpose of the project is to add other instruments, according to the&lt;br /&gt;parameters that are described in the paper.&lt;/p&gt;&lt;p class="mobile-post"&gt;Other addenda:&lt;/p&gt;&lt;p class="mobile-post"&gt;- I've added a new mfile texturesyn.m in the LSEE folder in mfiles&lt;br /&gt;directory. This is a demonstration of using LSEE to generate a long sound&lt;br /&gt;from a random assembly of spectral clips drawn from analysis of a natural&lt;br /&gt;sound (jungle). This is related to so called "granular synthesis" (but done in a "smart" way ;) or "audio texture synthesis".&lt;/p&gt;&lt;p class="mobile-post"&gt;- I've put midi and mp3 files for the Bach prelude in the Lab2 directory.&lt;/p&gt;&lt;p class="mobile-post"&gt;- If anyone has a good summary of yesterday's class on DFT, zero padding&lt;br /&gt;and windowing effects, I would like to put a copy on the blog. Note that some of the material (basic DFT) appears in &lt;a href="http://music.ucsd.edu/~sdubnov/Mu176/ClassTalks/172oldnotes.pdf"&gt;http://music.ucsd.edu/~sdubnov/Mu176/ClassTalks/172oldnotes.pdf&lt;/a&gt;&lt;br /&gt;If preparing these notes requires extra work, I'm willing to take this instead of one of the exercises, or as an extra credit.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113164411612751631?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113164411612751631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113164411612751631' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113164411612751631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113164411612751631'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/11/projects-and-other.html' title='Projects and other'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-113121881258156335</id><published>2005-11-05T11:26:00.000-08:00</published><updated>2005-11-05T11:26:52.606-08:00</updated><title type='text'>Faculty Mentor Program</title><content type='html'>I have offered two of the projects for continuation through the faculty mentor program this Winter and Spring. I believe that this entitles the student taking it for some payment and a 199 credit.&amp;nbsp; See &lt;a href="http://ugresearch.ucsd.edu/default.asp" eudora="autourl"&gt;http://ugresearch.ucsd.edu/default.asp&lt;/a&gt; for more details on &lt;i&gt;Ghostklavier &lt;/i&gt;and &lt;i&gt;Audio Spectral Design&lt;/i&gt;.&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113121881258156335?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113121881258156335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113121881258156335' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113121881258156335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113121881258156335'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/11/faculty-mentor-program.html' title='Faculty Mentor Program'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-113021296110480942</id><published>2005-10-24T21:02:00.000-07:00</published><updated>2005-10-24T21:02:41.123-07:00</updated><title type='text'>DFT review</title><content type='html'>&lt;p class="mobile-post"&gt;I put a scan of lecture notes on complex numbers and Discrete Fourier &lt;br /&gt;Transform at http://music.ucsd.edu/~sdubnov/Mu176/ClassTalks/172oldnotes.pdf&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-113021296110480942?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/113021296110480942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=113021296110480942' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113021296110480942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/113021296110480942'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/10/dft-review.html' title='DFT review'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112961858832970356</id><published>2005-10-17T23:56:00.000-07:00</published><updated>2005-10-17T23:57:56.610-07:00</updated><title type='text'>Notes on Instantaneous Frequency and the Phase Vocoder</title><content type='html'>&lt;p class="mobile-post"&gt;Read a short (6 pages) summary of the Instantaneous Frequency and the Phase Vocoder at &lt;a href="http://music.ucsd.edu/~sdubnov/Mu176/ClassTalks/ClassTalk2.pdf"&gt;http://music.ucsd.edu/~sdubnov/Mu176/ClassTalks/ClassTalk2.pdf&lt;/a&gt;&lt;/p&gt;&lt;p class="mobile-post"&gt;We will discuss these notes in the next class.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112961858832970356?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112961858832970356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112961858832970356' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112961858832970356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112961858832970356'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/10/notes-on-instantaneous-frequency-and.html' title='Notes on Instantaneous Frequency and the Phase Vocoder'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112921748888348863</id><published>2005-10-13T08:31:00.000-07:00</published><updated>2005-10-13T08:31:28.890-07:00</updated><title type='text'>Assignment II - makeup and addendum</title><content type='html'>&lt;p class="mobile-post"&gt;As a quick reminder, the frequency has to be integrated to get the phase. &lt;br /&gt;The command for that in Matlab is cumsum.&lt;br /&gt;For our next class correct / complete the chirp assignment. Design your &lt;br /&gt;initial and final frequency so that it starts below Nyquist and goes over &lt;br /&gt;it (if you want, it can continue rising beyond sampling frequency as well). &lt;br /&gt;Describe what you hear. See this in specgram. Explain.&lt;br /&gt;Note: in order to keep the aliasing effect in audible range, use Nyquist &lt;br /&gt;around 2KHz.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112921748888348863?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112921748888348863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112921748888348863' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112921748888348863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112921748888348863'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/10/assignment-ii-makeup-and-addendum.html' title='Assignment II - makeup and addendum'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112913628285899392</id><published>2005-10-12T09:10:00.000-07:00</published><updated>2005-11-02T12:06:02.873-08:00</updated><title type='text'>Project Ideas</title><content type='html'>1/f noise generator for Wav &amp; MIDI (Voss-Gardner method)&lt;br /&gt;&lt;br /&gt;Audio Texture synthesis (Lie et al. paper)&lt;br /&gt;&lt;br /&gt;Multipitch detection (Tolonen paper)&lt;br /&gt;&lt;br /&gt;Wav to midi (monophonic): create midi file from pitch detection.&lt;br /&gt;&lt;br /&gt;Query by humming: use pitch contours and autocorrelatoin to find a tune by humming.&lt;br /&gt;&lt;br /&gt;Specgram from midi: creat a spectrogram directly from midi file (without synthesis).&lt;br /&gt;&lt;br /&gt;Midi expressive timing: do time warping of a midi file from wav of a real performance.&lt;br /&gt;&lt;br /&gt;Midi expressive dynamics: change dynamics of a midi file according to wav.&lt;br /&gt;&lt;br /&gt;Wav alignment: same as midi, but for two wav performances of same music.&lt;br /&gt;&lt;br /&gt;Do a wavetable synthesis program using time domain resampling.&lt;br /&gt;&lt;br /&gt;Do a wavetable synthesis using spectral domain pvoc.&lt;br /&gt;&lt;br /&gt;Add instruments to fm synth (Chowning paper)&lt;br /&gt;&lt;br /&gt;Native matlab midiread and midiwrite (including control parameters).&lt;br /&gt;&lt;br /&gt;Midi filters: add / remove legato or staccatto in a midi file.&lt;br /&gt;&lt;br /&gt;Chord finding: extend the key finding method to detect chords.&lt;br /&gt;&lt;br /&gt;Polyphonic midi reduction: extract theme or theme and chords from polyphonic midi.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112913628285899392?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112913628285899392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112913628285899392' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112913628285899392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112913628285899392'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/10/project-ideas.html' title='Project Ideas'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112873049929111631</id><published>2005-10-07T17:04:00.000-07:00</published><updated>2005-10-07T17:14:59.296-07:00</updated><title type='text'>assignment II</title><content type='html'>Here is a short follow up on what we started in class.&lt;br /&gt;&lt;br /&gt;1. Create a matlab function that returns a sinusoid (a sound vector, i.e. a vector containing samples of the sinusoid). The inputs to the function should be sinusoid frequency, amplitude, duration and sampling frequency.&lt;br /&gt;Analize it with specgram and look at the figure. Explain what you see.  Write the results of the specgram command into a matrix. Look at the absolute values of the matrix. Which bins correspond to the sinusoidal frequency? Explain the results. (We did briefly that in class).&lt;br /&gt;&lt;br /&gt;2.  Modify the function in 1 so that it receives a vector of frequencies and amplitudes (you do not need duration now). The length of there vectors should be equal to the length of the output sound vector. The values of these vectors should be the instantaneous frequency and amplitude at that sample (moment in time).  Test your function for a slowly sloping frequency (a slow chirp or glissando, i.e. frequency slowily increasing (or decreasing) in time).  Play your result. Does it sound right? Plot it with specgram. What do you see. (Hint: make sure you calculate the phase correctly. We will talk about this in class).&lt;br /&gt;&lt;br /&gt;Shlomo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112873049929111631?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112873049929111631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112873049929111631' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112873049929111631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112873049929111631'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/10/assignment-ii.html' title='assignment II'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112857289971378890</id><published>2005-10-05T21:26:00.000-07:00</published><updated>2005-10-05T21:29:26.123-07:00</updated><title type='text'>mfiles</title><content type='html'>The mfiles directory should have read permissions now. It contains the miditoolbox and mp3_toolbox.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112857289971378890?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112857289971378890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112857289971378890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112857289971378890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112857289971378890'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/10/mfiles.html' title='mfiles'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112801690766635327</id><published>2005-09-29T10:48:00.000-07:00</published><updated>2005-09-29T13:27:09.176-07:00</updated><title type='text'>Bit depth and specgram - assignment I</title><content type='html'>Here is a short assingement, to work out the meaning of bit depth. Bring it to the next class 10/5.&lt;br /&gt;&lt;br /&gt;1. Record a sound using your computer audio recording application. Set the Audio sample size to 8 bits. Do the same using 16 bits. Listen to both sounds. Read them into matlab. Explain where you hear the difference. Can you see this in the waveform plot? Explain.&lt;br /&gt;(To record a sound from internal source, like your midi player, set your recording properties in the volume control-&gt; recording, to SW sytn. To set the sample size, on Windows open sound recorder and go to file-&gt;properties and click on "convert now".)&lt;br /&gt;&lt;br /&gt;A second short assingment will show how the spectrum of the same musical piece changes with an instument type.&lt;br /&gt;&lt;br /&gt;2. use miditoolbox playsound (or nmat2snd directly) to synthesize a midi file with 'fm' or 'shepard' timbre. Do specgram analysis of the resulting sound. Use NFFT=1024 or more. Record the same midi file by using your computer audio card or another synth. (See previous assignemnt for instructions on how this is done). Compare the specgram of this recording to the previous one. Explain the differences.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112801690766635327?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112801690766635327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112801690766635327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112801690766635327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112801690766635327'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/09/bit-depth-and-specgram-assignment-i.html' title='Bit depth and specgram - assignment I'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17272497.post-112801582400090129</id><published>2005-09-29T10:43:00.000-07:00</published><updated>2005-09-29T10:43:44.003-07:00</updated><title type='text'>Welcome</title><content type='html'>This is a blog for Music 176 seminar, Fall 2005, Department of Music, UCSD, led by Shlomo Dubnov. The purpose of the blog is to help exchange information, questions, suggestions and ideas about the class material and student projects. For course webpage see &lt;a href="http://music.ucsd.edu/~sdubnov/Mu176"&gt;http://music.ucsd.edu/~sdubnov/Mu176&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17272497-112801582400090129?l=mu176.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mu176.blogspot.com/feeds/112801582400090129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17272497&amp;postID=112801582400090129' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112801582400090129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17272497/posts/default/112801582400090129'/><link rel='alternate' type='text/html' href='http://mu176.blogspot.com/2005/09/welcome.html' title='Welcome'/><author><name>Shlomo Dubnov</name><uri>http://www.blogger.com/profile/09570047643107225451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
