-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
294 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_Store | ||
.sass-cache/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: post | ||
title: Real-time Signal Processing with Arduino | ||
excerpt: "How to use Arduino for real-time audio signal processing." | ||
categories: Arduino | ||
comments: true | ||
--- | ||
|
||
The objective of this exercise is to reproduce "Sitting Wave" using an Arduino. The audio signal from a microphone connected to the Arduino is modulated with a signal with a known frequency to bring the audio signal to base band. A low pass filter is applied to the result. Then the audio signal is output to SWIM stick to illustrate the phenomenon of the Sitting Wave with the use of a long exposure photograph. | ||
|
||
### Background Knowledge | ||
Nyquist Theorem: | ||
|
||
We can only accurately measure frequencies equal or less than half of the sampling rate. | ||
|
||
|
||
|
||
|
||
<!-- Code example goes here --> | ||
|
||
|
||
<!-- Questions | ||
1. Inside the same app, could multiple instance of tasks exist? | ||
--> | ||
|
||
[You can find the awesome Adafruit tutorial here.]( https://learn.adafruit.com/fft-fun-with-fourier-transforms?view=all) | ||
[Documentation on Wave Shield from Adafruit.](https://learn.adafruit.com/adafruit-wave-shield-audio-shield-for-arduino?view=all) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title>Real-time Signal Processing with Arduino</title> | ||
<meta name="description" content="How to use Arduino for real-time audio signal processing."> | ||
|
||
<!-- CSS files --> | ||
<link rel="stylesheet" href="/css/font-awesome.min.css"> | ||
<link rel="stylesheet" href="/css/main.css"> | ||
|
||
<link rel="canonical" href="/articles/2016-04/FFT-with-Arduino"> | ||
<link rel="alternate" type="application/rss+xml" title="neomorning's blog" href=" /feed.xml " /> | ||
|
||
<!-- Icons --> | ||
<!-- 16x16 --> | ||
<link rel="shortcut icon" href="/favicon.ico"> | ||
<!-- 32x32 --> | ||
<link rel="shortcut icon" href="/favicon.png"> | ||
</head> | ||
|
||
|
||
<body> | ||
<div class="row"> | ||
<div class="col s12 m4"> | ||
<div class="table cover"> | ||
|
||
|
||
<div class="cover-card table-cell table-bottom"> | ||
|
||
<img src="/img/avatar.jpg" alt="" class="avatar"> | ||
|
||
<a href="/" class="author_name">neomorning</a> | ||
<span class="author_job">Developer</span> | ||
<span class="author_bio mbm">Code monkey, fantasy/scifi/coffee addict, soldering fume maker, whah? A blog for like-minded people, and a notepad for myself. Have fun...</span> | ||
<nav class="nav"> | ||
<ul class="nav-list"> | ||
|
||
<li class="nav-item"> | ||
<a href="/archive/">Archive</a> | ||
<span>/</span> | ||
</li> | ||
|
||
<li class="nav-item"> | ||
<a href="/categories/">Categories</a> | ||
<span>/</span> | ||
</li> | ||
|
||
<li class="nav-item"> | ||
<a href="/tags/">Tags</a> | ||
</li> | ||
|
||
</ul> | ||
</nav> | ||
<div class="social-links"> | ||
<ul> | ||
|
||
<li><a href="http://twitter.com/annienmao" class="social-link-item" target="_blank"><i class="fa fa-fw fa-twitter"></i></a></li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<li><a href="http://github.com/maoning" class="social-link-item" target="_blank"><i class="fa fa-fw fa-github"></i></a></li> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</ul> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="col s12 m8"> | ||
<div class="post-listing"> | ||
<div class="back-home"> | ||
<a href="/">< back Home.</a> | ||
</div> | ||
|
||
|
||
|
||
<div id="post"> | ||
<header class="post-header"> | ||
<h1 title="Real-time Signal Processing with Arduino">Real-time Signal Processing with Arduino</h1> | ||
<span class="post-meta"> | ||
<span class="post-date"> | ||
15 APR 2016 | ||
</span> | ||
• | ||
<span class="read-time" title="Estimated read time"> | ||
|
||
|
||
1 min read | ||
|
||
</span> | ||
|
||
</span> | ||
|
||
</header> | ||
|
||
<article class="post-content"> | ||
<p>The objective of this exercise is to reproduce “Sitting Wave” using an Arduino. The audio signal from a microphone connected to the Arduino is modulated with a signal with a known frequency to bring the audio signal to base band. A low pass filter is applied to the result. Then the audio signal is output to SWIM stick to illustrate the phenomenon of the Sitting Wave with the use of a long exposure photograph.</p> | ||
|
||
<h3 id="background-knowledge">Background Knowledge</h3> | ||
<p>Nyquist Theorem:</p> | ||
|
||
<pre><code>We can only accurately measure frequencies equal or less than half of the sampling rate. | ||
</code></pre> | ||
|
||
<!-- Code example goes here --> | ||
|
||
<!-- Questions | ||
1. Inside the same app, could multiple instance of tasks exist? | ||
--> | ||
|
||
<p><a href="https://learn.adafruit.com/fft-fun-with-fourier-transforms?view=all">You can find the awesome Adafruit tutorial here.</a> | ||
<a href="https://learn.adafruit.com/adafruit-wave-shield-audio-shield-for-arduino?view=all">Documentation on Wave Shield from Adafruit.</a></p> | ||
|
||
</article> | ||
</div> | ||
|
||
<div class="share-buttons"> | ||
<h6>Share on: </h6> | ||
<ul> | ||
<li> | ||
<a href="https://twitter.com/intent/tweet?text=/articles/2016-04/FFT-with-Arduino" class="twitter btn" title="Share on Twitter"><i class="fa fa-twitter"></i><span> Twitter</span></a> | ||
</li> | ||
<li> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=/articles/2016-04/FFT-with-Arduino" class="facebook btn" title="Share on Facebook"><i class="fa fa-facebook"></i><span> Facebook</span></a> | ||
</li> | ||
<li> | ||
<a href="https://plus.google.com/share?url=/articles/2016-04/FFT-with-Arduino" class="google-plus btn" title="Share on Google Plus"><i class="fa fa-google-plus"></i><span> Google+</span></a> | ||
</li> | ||
<li> | ||
<a href="https://news.ycombinator.com/submitlink?u=/articles/2016-04/FFT-with-Arduino" class="hacker-news btn" title="Share on Hacker News"><i class="fa fa-hacker-news"></i><span> Hacker News</span></a> | ||
</li> | ||
<li> | ||
<a href="https://www.reddit.com/submit?url=/articles/2016-04/FFT-with-Arduino" class="reddit btn" title="Share on Reddit"><i class="fa fa-reddit"></i><span> Reddit</span></a> | ||
</li> | ||
</ul> | ||
</div><!-- end share-buttons --> | ||
|
||
<!-- | ||
|
||
<footer> | ||
© 2016 neomorning. Powered by <a href="http://jekyllrb.com/">Jekyll</a>, <a href="http://github.com/renyuanz/leonids/">leonids theme</a> made with <i class="fa fa-heart heart-icon"></i> | ||
</footer> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
<script type="text/javascript" src="/js/jquery-2.1.4.min.js"></script> | ||
<script type="text/javascript" src="/js/main.js"></script> | ||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.