Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

twalker/sine5

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##sine5

An experimental Theremin using a proximity sensor, an air sensor, and javascript.

sine5 screenshot

here's a video for the brave of hearing.

This learning project mixes together some lovely open-source projects:

Requirements:

  • Arduino board w/ proximity sensor
  • Chrome
  • Node

To run without an Arduino board & sensors:
node app --noboard


###TODO:

  • get a d3 real-time chart going with websockets
  • get Arduino working
  • get node talking to Arduino
  • connect and communicate with proximity sensor
  • map proximity data to sound frequency data
  • volume: choose sensor and visualize data
  • check if reverb works on mac because it doesn't on linux
  • axis of chart should reflect something useful, or nothing
  • ui for controls
  • proximity sensor reading is coarse, latent, and kinda sucks. revisit when not pissed.

###TOLEARN:

  • d3 syntax and approach
  • dealing with a stream of real-time data

##helpful articles:

###arduino

local usb device:
cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device
cdc_acm 2-1.3:1.0: ttyACM0: USB ACM device

permission issues fixed with:
sudo chmod a+rw /dev/ttyACM0
sudo echo 'asd' > /dev/ttyACM0
dmesg

###chart

###synthesis

###frequency mapping

http://en.wikipedia.org/wiki/Audio_frequency
88 note piano is 27.5Hz (A0) - 4186.01Hz (C8)
middle C = 261.626Hz

approx sensor range:
cm 73 - 199
voltage 58 - 158

###piano

About

An experimental Theremin using a proximity sensor and javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.