Skip to content

Latest commit

 

History

History
105 lines (70 loc) · 3.14 KB

readme.md

File metadata and controls

105 lines (70 loc) · 3.14 KB

##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