-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
475 lines (409 loc) · 22.4 KB
/
index.html
File metadata and controls
475 lines (409 loc) · 22.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>8-bit Sound Stuff</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicons -->
<link href="img/favicon.png" rel="icon">
<link href="img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700|Open+Sans:300,300i,400,400i,700,700i" rel="stylesheet">
<!-- Bootstrap CSS File -->
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Libraries CSS Files -->
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
<!-- Main Stylesheet File -->
<link href="css/style.css" rel="stylesheet">
<!-- =======================================================
Theme Name: Avilon
Theme URL: https://bootstrapmade.com/avilon-bootstrap-landing-page-template/
Author: BootstrapMade.com
License: https://bootstrapmade.com/license/
======================================================= -->
</head>
<body>
<!--==========================
Header
============================-->
<header id="header">
<div class="container">
<div id="logo" class="pull-left">
<h1><a href="#intro" class="scrollto">Sound Stuff </a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="#intro"><img src="img/logo.png" alt="" title=""></a> -->
</div>
<nav id="nav-menu-container">
<ul class="nav-menu">
<li class="menu-active"><a href="#intro">Home</a></li>
<li><a href="#about">Overview</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#call-to-action">Reflection</a></li>
<li><a href="#team">Team</a></li>
</ul>
</nav><!-- #nav-menu-container -->
</div>
</header><!-- #header -->
<!--==========================
Intro Section
============================-->
<section id="intro">
<div class="intro-text">
<h2>Welcome to 8-Bit Sound Stuff</h2>
<p>A team of ambitious Student Computer Architects </p>
<a href="#about" class="btn-get-started scrollto">Get Started</a>
</div>
<div class="product-screens">
<div class="product-screen-1 wow fadeInUp" data-wow-delay="0.4s" data-wow-duration="0.6s">
<img src="img/team/Sabrina.png" style="width: 314px;height: auto" alt="">
</div>
<div class="product-screen-2 wow fadeInUp" data-wow-delay="0.2s" data-wow-duration="0.6s">
<img src="img/team/Jonah.png" style="width: 314px;height: auto" alt="">
</div>
<div class="product-screen-3 wow fadeInUp" data-wow-duration="0.6s">
<img src="img/team/Shy.png" style="width: 314px;height: auto" alt="">
</div>
</div>
</section><!-- #intro -->
<main id="main">
<!--==========================
About Us Section
============================-->
<section id="about" class="section-bg">
<div class="container-fluid">
<div class="section-header">
<h3 class="section-title">Project Overview</h3>
<span class="section-divider"></span>
<p class="section-description">This website is a description of Sabrina Pereira, Shyheim Russell, and Jonah Spicher's Computer Architecture final project. We pursued this project because we were very enthusiastic on the concept of developing our own music based on the Super Mario Bros. theme.</p>
<p class="section-description"> </p>
</div>
<div class="row">
<div class="col-lg-6 about-img wow fadeInLeft">
<img src="img/Components/HighLevelDiagram.png" alt="">
</div>
<div class="col-lg-6 content wow fadeInRight">
<h2>An 8-Bit Audio Processor </h2>
<h3>The goals and deliverables of our project</h3>
<p>
For our project, we dove into developing Verilog representation of a sound controller that allows us to process sounds then produce an 8-bit audio from our hardware. We desired to gain a strong grasp on the functionality and communications of the individual parts of our hardware such as the digital signal processor. For this project, we had three stages:</p>
<ul>
<li><i class="ion-android-checkmark-circle"></i> MVP: Verilog code of an 8-bit audio hardware with each member having a firm grasp of content</li>
<li><i class="ion-android-checkmark-circle"></i> Planned: Verilog code of the hardware implemented on FPGA ZIBO </li>
<li><i class="ion-android-checkmark-circle"></i> Stretch: Physical hardware implentation on FPGA plugged into a speaker</li>
</ul>
<p>
For this project, what we planned on accomplishing is developing the Verilog code then implement this code on the FPGA through an undetermined manner such that we are able to process the signal. The difference between the stretch and planned goals is that the planned goal does not produce an actual sound through a speaker like in our desired stretch.
</p>
</div>
</div>
</div>
</section><!-- #about -->
<!--==========================
Product Featuress Section
============================-->
<section id="features">
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-4">
<div class="section-header wow fadeIn" data-wow-duration="1s">
<h3 class="section-title">High Level Diagram</h3>
<span class="section-divider"></span>
</div>
</div>
<div class="col-lg-4 col-md-5 features-img">
<img src="img/Components/SquareWaveGen.png" alt="" class="wow fadeInLeft">
<img src="img/Components/SawtoothWaveGen.png" alt="" class="wow fadeInLeft">
<img src="img/Components/NoiseWaveGen.png" alt="" class="wow fadeInLeft">
</div>
<div class="col-lg-8 col-md-7 ">
<div class="row">
<div class="col-lg-6 col-md-6 box wow fadeInRight">
<!-- <div class="icon"><i class="ion-ios-speedometer-outline"></i></div>-->
<h4 class="title"><a href="">Inputs</a></h4>
<p class="description">Our inputs are controlled by notes that are stored in memory and used for generating the wave lengths and frequencies by outputting 18-bit results. Different parts of the result is used to control the different channels turning them on or off. </p>
</div>
<div class="col-lg-6 col-md-6 box wow fadeInRight" data-wow-delay="0.1s">
<!-- <div class="icon"><i class="ion-social-buffer-outline"></i></div>-->
<h4 class="title"><a href="">Channels</a></h4>
<p class="description">Our Channels are generate square, sawtooth and noise waves based on the inputs. Each channel is equipped with a wave generator that uses counters to scaffold the frequency and lengths of the waves. </p>
</div>
<div class="col-lg-6 col-md-6 box wow fadeInRight offset-xl-3" data-wow-delay="0.2s">
<!-- <div class="icon"><i class="ion-social-buffer-outline"></i></div>-->
<h4 class="title"><a href="">Adder/Bit Shifter</a></h4>
<p class="description">This component was tasked with taking the four channels as input, bit shifting them to the right by 2 arithmetically and output an 8-bit wave from the addition of the four channels using an 8-bit Adder. </p>
</div>
</div>
</div>
</div>
</div>
</section><!-- #features -->
<!--==========================
Product Advanced Featuress Section
============================-->
<section id="advanced-features">
<div class="features-row section-bg">
<div class="container">
<div class="row">
<div class="col-12">
<img class="advanced-feature-img-right wow fadeInRight" src="img/Components/Inputs.png" style="width: 555px; height: auto" alt="">
<div class="wow fadeInLeft">
<h2>Inputs/Channels</h2>
<p>For our inputs, we use memory to store the notes that are previously and currently being used, using the next_note as a clock, to then go into memory and output a 18-bit result where the first 8-bit control frequency, the next 8 controls the length of each note, and the final 2 bits control the channel to show which channel is on for this cycle. </p>
<p>From there, the different sections of the output is used in for the four channels through D-Flip-Flops that would AND the channel and frequency where if frequency is low (0), then the channel is also 0, but if frequency is high (1), then the channel would then pass through and allow length to pass through the D-Flip-Flop as well, resulting in the length of time in which each wave generator would be on for. </p>
</div>
</div>
</div>
</div>
</div>
<div class="features-row">
<div class="container">
<div class="row">
<div class="col-12">
<img class="advanced-feature-img-left" src="img/Components/Adder.png" style="width: 555px; height: auto" alt="">
<div class="wow fadeInRight">
<h2>Adder/Bit Shifter</h2>
<i class="ion-ios-paper-outline wow fadeInRight" data-wow-duration="0.5s"></i>
<p class="wow fadeInRight" data-wow-duration="0.5s">The Adder takes in uses the four channels as inputs where we take signed 8-bit values from each wave. </p>
<i class="ion-ios-color-filter-outline wow fadeInRight" data-wow-delay="0.2s" data-wow-duration="0.5s"></i>
<p class="wow fadeInRight" data-wow-delay="0.2s" data-wow-duration="0.5s">The amplitude of each channel are the values are taken into the adder. Channels that are not on have amplitudes and frequencies at zero. </p>
<i class="ion-ios-barcode-outline wow fadeInRight" data-wow-delay="0.4" data-wow-duration="0.5s"></i>
<p class="wow fadeInRight" data-wow-delay="0.4s" data-wow-duration="0.5s">Finally, the signal is normalized then bit shifted by 2 arithmetically, to preserve the sign, then all four values are added to produce an 8-bit sound_ out.</p>
</div>
</div>
</div>
</div>
</div>
<div class="features-row section-bg">
<div class="container">
<div class="row">
<div class="col-12">
<div class="wow fadeInLeft">
<h2>Final Results</h2>
<h3>The final product and what it does? </h3>
<p>For our project, we developed a Verilog representation of the 8-bit hardware that is able to generate 8-bit music using square, sawtooth, and noise channels for different aspects of the song.</p>
<i class="ion-ios-albums-outline"></i>
<p> We developed a sound card that reads a list of hexadecimal notes (32-bits in binary) and uses those notes to create a sound wave to play. Some examples of the waves it generates are located below. In the end, we were unable to reach our stretch goal of creating a physical hardware implementation on the FPGA, but we were able to produce sound as a whole.</p>
</div>
</div>
</div>
</div>
</div>
</section><!-- #advanced-features -->
<!--==========================
Call To Action Section
============================-->
<section id="call-to-action">
<div class="container">
<div class="row">
<div class="col-lg-9 text-center text-lg-left col-xl-12">
<h3 class="cta-title">Reflection</h3>
<p class="cta-text"> Overall, the teaming experience and collaboration worked well as each member was able to contribute and grow through taking point on different aspects of the project. For example:
<li class="cta-text">Shy: He focused on the documentation and schematic designing for this project along with developing the adder and bit shifter for the normalization. Shy also structured and developed the website for this project.</li>
<br>
<li class="cta-text">Jonah: He was tasked with developing the inputs and the method in which they worked as he developed the connections between each modules while also being able to guide others with understanding how sound works and designing the noise channel for our design.</li>
<br>
<li class="cta-text">Sabrina: She dove into designing the square and sawtooth wave generators and through truly creative methods design and troubleshoot different components while also performing the math for finding the each specific note in respects to our system and its limitations.</li></p>
<p class="cta-text">To discuss our final system, it operates as desired as each component works together to output the results we expect. We were not able to implement goals that allowed us to dig deeper into the development of the physical sound hardware, but the Verilog simulation works as expected. It does not normalize volume as intelligently as we desired or implement it on FPGA, but it does have four channels that generate one wave each at a given frequency for its type. The frequency is controlled by input controlls that reads from memory and uses memory to iterate through what notes to play next. Finally, through a Python script, we compile the notes to create a .wav file to play the music.</p>
</div>
</div>
</div>
</section><!-- #call-to-action -->
<!--==========================
More Features Section
============================-->
<section id="more-features" class="section-bg">
<div class="container">
<div class="section-header">
<h3 class="section-title">How to Run </h3>
<span class="section-divider"></span>
<center><a href="https://github.com/ShyRussell/SoundStuff" class="btn">View Github</a></center>
<p class="section-description"><center>Demo Requirements:
<li class="center">Ability to run Linux commands in terminal</li>
<li class="center">Cloned repository</li></center></p>
<p class="section-description"><center>In terminal run:
<li class="center">cd SoundStuff/Verilog/</li>
<li class="center">make run</li></center></p>
</div>
</div>
</section><!-- #more-features -->
<section id="clients">
<div class="container">
<div class="section-header">
<h3 class="section-title">Sound Files </h3>
<span class="section-divider"></span>
<p class="section-description">Here are some of the sound files we were able to develop:
<center>
<li>Square Wave 1 Channel</li>
<li>Sawtooth Wave Channel</li>
<li>Sawtooth Wave Different Frequency</li>
<li>Noise Channel</li>
<li>Zelda Melody</li>
<li>Cinderella</li>
<li>Mario Melody</li>
<li>Mario Full</li>
</center></p>
</div>
<ul id="faq-list" class="wow fadeInUp" object align="middle">
<audio controls>
<source src="Verilog/channel1.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/channel3.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/cool_sawtooth.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/channel4.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/zelda_melody.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/cinderella.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/mario_melody.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
<audio controls>
<source src="Verilog/mario_full.wav" type="audio/wav">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="viper.mp3">link to the audio</a> instead.</p>
</audio>
</ul>
</div>
</section><!-- #faq -->
<!--==========================
Frequently Asked Questions Section
============================-->
<section id="faq">
<div class="container">
<div class="section-header">
<h3 class="section-title">References </h3>
<span class="section-divider"></span>
<p class="section-description">Here is a list of references and resources we used for inspiration:</p>
</div>
<ul id="list" class="wow fadeInUp">
<li>
<a data-toggle="collapse" class="collapsed">Harmonia. “Digital Audio: the Real Meaning of 8-Bit Music.” Medium, Medium, 21 Aug. 2019, medium.com/@harmonia.global/digital-audio-the-real-meaning-of-8-bit-music-1be5fc8ab2b1.</a>
</li>
<li>
<a data-toggle="collapse" class="collapsed"> The 8-Bit Guy, director. How Oldschool Sound/Music Worked. Youtube, 5 Oct. 2015, www.youtube.com/watch?v=q_3d1x2VPxk. </a>
</li>
<li>
<a data-toggle="collapse" class="collapsed">Suits, B. H. “Physics of Music - Notes.” Frequencies of Musical Notes, A4 = 440 Hz, pages.mtu.edu/~suits/notefreqs.html. </a>
</li>
</ul>
</div>
</section><!-- #faq -->
<!--==========================
Our Team Section
============================-->
<section id="team" class="section-bg">
<div class="container">
<div class="section-header">
<h3 class="section-title">Our Team</h3>
<span class="section-divider"></span>
<p class="section-description">The team of students engineers who worked on this project.</p>
</div>
<div class="row wow fadeInUp">
<div class="col-lg-3 col-md-6 offset-xl-2">
<div class="member">
<div class="pic"><img src="img/team/Jonah.png" alt=""></div>
<h4>Jonah Spicher</h4>
<span>Junior, ECE</span>
<div class="social">
<a href="mailto: jspicher@olin.edu"><i class="fa fa-envelope"></i></a>
<a href="https://github.com/JonahSpicher"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="member">
<div class="pic"><img src="img/team/Sabrina.png" alt=""></div>
<h4>Sabrina Pereira</h4>
<span>Junior, ECE</span>
<div class="social">
<a href="mailto: spereira@olin.edu"><i class="fa fa-envelope"></i></a>
<a href="https://github.com/sabpereira"><i class="fa fa-github"></i></a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="member">
<div class="pic"><img src="img/team/Shy.png" alt="" class="center"></div>
<h4>Shyheim Russell</h4>
<span>Junio, ECE</span>
<div class="social">
<a href="mailto: shy@olin.edu"><i class="fa fa-envelope"></i></a>
<a href="https://github.com/ShyRussell"><i class="fa fa-github"></i></a> </div>
</div>
</div>
</div>
</div>
</section><!-- #team -->
<!--==========================
Gallery Section
============================-->
<!--==========================
Contact Section
============================-->
</main>
<!--==========================
Footer
============================-->
<footer id="footer">
<div class="container">
<div class="row">
<div class="col-lg-6 text-lg-left text-center">
<div class="copyright">
© Copyright <strong>Avilon</strong>. All Rights Reserved
</div>
<div class="credits">
<!--
All the links in the footer should remain intact.
You can delete the links only if you purchased the pro version.
Licensing information: https://bootstrapmade.com/license/
Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/buy/?theme=Avilon
-->
Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a>
</div>
</div>
<div class="col-lg-6">
<nav class="footer-links text-lg-right text-center pt-2 pt-lg-0">
<a href="#intro" class="scrollto">Home</a>
<a href="#about" class="scrollto">About</a>
<a href="#">Privacy Policy</a>
<a href="#">Terms of Use</a>
</nav>
</div>
</div>
</div>
</footer><!-- #footer -->
<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>
<!-- JavaScript Libraries -->
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/superfish/hoverIntent.js"></script>
<script src="lib/superfish/superfish.min.js"></script>
<script src="lib/magnific-popup/magnific-popup.min.js"></script>
<!-- Contact Form JavaScript File -->
<script src="contactform/contactform.js"></script>
<!-- Template Main Javascript File -->
<script src="js/main.js"></script>
</body>
</html>