https://ccrma.stanford.edu/mediawiki/index.php?title=256a-fall-2010/hw3&feed=atom&action=history
256a-fall-2010/hw3 - Revision history
2024-03-28T15:39:17Z
Revision history for this page on the wiki
MediaWiki 1.24.1
https://ccrma.stanford.edu/mediawiki/index.php?title=256a-fall-2010/hw3&diff=11092&oldid=prev
Njb: /* Specification (part 1 of 3): naming + compilation */
2010-11-12T03:33:51Z
<p><span dir="auto"><span class="autocomment">Specification (part 1 of 3): naming + compilation</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 03:33, 12 November 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Specification (part 1 of 3): naming + compilation ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Specification (part 1 of 3): naming + compilation ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* choose a name for your program</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* choose a name for your program</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* get a framework compiling on your system (keep in mind the final deliverable must be compilable/runnable on the CCRMA machines <del class="diffchange diffchange-inline">OR on OS X</del>)</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* get a framework compiling on your system (keep in mind the final deliverable must be compilable/runnable on the CCRMA machines)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* might wish to start from the [http://ccrma.stanford.edu/courses/256a-fall-2010/code/hw3/VisualSine VisualSine] example from lecture (time domain waveform rendering)</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* might wish to start from the [http://ccrma.stanford.edu/courses/256a-fall-2010/code/hw3/VisualSine VisualSine] example from lecture (time domain waveform rendering)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* use the chuck_fft.* files [http://ccrma.stanford.edu/courses/256a-fall-2010/code/hw3/FFT found here] '''NOTE: this library ONLY works with single-precision floating point numbers (e.g., float)'''</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* use the chuck_fft.* files [http://ccrma.stanford.edu/courses/256a-fall-2010/code/hw3/FFT found here] '''NOTE: this library ONLY works with single-precision floating point numbers (e.g., float)'''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Specification (part 2 of 3): Visualizing the spectrum ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Specification (part 2 of 3): Visualizing the spectrum ===</div></td></tr>
</table>
Njb
https://ccrma.stanford.edu/mediawiki/index.php?title=256a-fall-2010/hw3&diff=10942&oldid=prev
Njb: /* Note */
2010-10-26T07:33:44Z
<p><span dir="auto"><span class="autocomment">Note</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 07:33, 26 October 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 37:</td>
<td colspan="2" class="diff-lineno">Line 37:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Note ===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=== Note ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* have fun with it!!!</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* have fun with it!!!</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* your code should compile and run on the CCRMA <del class="diffchange diffchange-inline">(or OSX) </del>machines</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* your code should compile and run on the CCRMA machines</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* comment your code!</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* comment your code!</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* choose your own coding conventions - but '''be consistent'''</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* choose your own coding conventions - but '''be consistent'''</div></td></tr>
</table>
Njb
https://ccrma.stanford.edu/mediawiki/index.php?title=256a-fall-2010/hw3&diff=10786&oldid=prev
Ge at 22:57, 14 October 2010
2010-10-14T22:57:04Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 22:57, 14 October 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* choose a name for your program</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* choose a name for your program</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* get a framework compiling on your system (keep in mind the final deliverable must be compilable/runnable on the CCRMA machines OR on OS X)</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* get a framework compiling on your system (keep in mind the final deliverable must be compilable/runnable on the CCRMA machines OR on OS X)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* might wish to start from the [http://ccrma.stanford.edu/courses/256a-fall-<del class="diffchange diffchange-inline">2009</del>/code/hw3/VisualSine VisualSine] example from lecture (time domain waveform rendering)</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* might wish to start from the [http://ccrma.stanford.edu/courses/256a-fall-<ins class="diffchange diffchange-inline">2010</ins>/code/hw3/VisualSine VisualSine] example from lecture (time domain waveform rendering)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* use the chuck_fft.* files [http://ccrma.stanford.edu/courses/256a-fall-<del class="diffchange diffchange-inline">2009</del>/code/hw3/FFT found here] '''NOTE: this library ONLY works with single-precision floating point numbers (e.g., float)'''</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* use the chuck_fft.* files [http://ccrma.stanford.edu/courses/256a-fall-<ins class="diffchange diffchange-inline">2010</ins>/code/hw3/FFT found here] '''NOTE: this library ONLY works with single-precision floating point numbers (e.g., float)'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Ge
https://ccrma.stanford.edu/mediawiki/index.php?title=256a-fall-2010/hw3&diff=10757&oldid=prev
Ge: Created page with '= Homework #3: Sound Peeking = Due date: 2010.10.26 11:59:59pm (or thereabout), Tuesday. <div style="text-align: left;">Image:waves-bw.jpg</div> In this assignment, you …'
2010-10-13T21:51:17Z
<p>Created page with '= Homework #3: Sound Peeking = Due date: 2010.10.26 11:59:59pm (or thereabout), Tuesday. <div style="text-align: left;"><a href="/wiki/File:Waves-bw.jpg" title="File:Waves-bw.jpg">Image:waves-bw.jpg</a></div> In this assignment, you …'</p>
<p><b>New page</b></p><div>= Homework #3: Sound Peeking =<br />
<br />
Due date: 2010.10.26 11:59:59pm (or thereabout), Tuesday.<br />
<br />
<br />
<div style="text-align: left;">[[Image:waves-bw.jpg]]</div><br />
<br />
In this assignment, you are to visualize sound in real-time, using OpenGL for the graphics programming.<br />
<br />
<br />
=== Specification (part 1 of 3): naming + compilation ===<br />
* choose a name for your program<br />
* get a framework compiling on your system (keep in mind the final deliverable must be compilable/runnable on the CCRMA machines OR on OS X)<br />
* might wish to start from the [http://ccrma.stanford.edu/courses/256a-fall-2009/code/hw3/VisualSine VisualSine] example from lecture (time domain waveform rendering)<br />
* use the chuck_fft.* files [http://ccrma.stanford.edu/courses/256a-fall-2009/code/hw3/FFT found here] '''NOTE: this library ONLY works with single-precision floating point numbers (e.g., float)'''<br />
<br />
<br />
=== Specification (part 2 of 3): Visualizing the spectrum ===<br />
* implement short time fourier transform, and visualize the spectrum over time<br />
* considerations:<br />
** windowing (rectangular, hann, hamming)<br />
** window size<br />
** FFT size<br />
** hop size (for now, hop size can equal window size)<br />
* implement either a waterfall plot (like sndpeek) or a real-time scrolling spectrogram<br />
<br />
<br />
=== Specification (part 3 of 3): Visualize something about the sound ===<br />
* implement and visualize your choice of one of the following:<br />
** vowel vs. consonant<br />
** pitch tracking<br />
** an audio feature<br />
** use the sound to control some type of animation<br />
** (or something of your choosing)<br />
<br />
<br />
=== Note ===<br />
* have fun with it!!!<br />
* your code should compile and run on the CCRMA (or OSX) machines<br />
* comment your code!<br />
* choose your own coding conventions - but '''be consistent'''<br />
* you are welcome to work together, but you must do/turn in your own work (you'll likely get more out of it this way)<br />
<br />
=== Deliverables ===<br />
<br />
'''turn in all files by putting them in your Library/Web/256a/hw3/ directory, and concise online documentation + readme'''<br />
<br />
* 1) source code to the project (*.h, *.cpp, *.c makefile, etc.)<br />
* 2) online page for your project (should be viewable at http://ccrma.stanford.edu/~YOURID/256a/hw3/). It should include:<br />
** links to your files of various kinds<br />
** instructions on building the project (for example, anyone in the class should be able to download<br />
** a short README text section that:<br />
*** conveys your ideas/comments in constructing each program <br />
*** describes any difficulties you encountered in the process<br />
*** lists any collaborators<br />
* 3) '''email Ge and Nick''' with the link to your web page, as a confirmation that you are submitting the assignment</div>
Ge