YCAM Workshop Part 3

1,180 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,180
On SlideShare
0
From Embeds
0
Number of Embeds
102
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

YCAM Workshop Part 3

  1. 1. 2007.12.22-23 YCAM #2 HELLO!!
  2. 2. 2 • – – – • LED •
  3. 3. ain 0
  4. 4. ain 0
  5. 5. ain 0
  6. 6. ain 0
  7. 7. ain 0
  8. 8. ain 0
  9. 9. LED 1 analogInput(0) SetPoint void setup() { ... Filter filters[] = { // new SetPoint(0.6, 0.05) }; gainer.analogInput(0).filters = filters; ... } void risingEdge(PortEvent e) { if (e.target.number == gainer.analogInput[0]) { ... } }
  10. 10. Processing • Libraries Processing 1.0 (BETA) http://processing.org/reference/libraries • Minim http://code.compartmental.net/tools/minim
  11. 11. Processing 2 import ddf.minim.*; AudioPlayer player; void setup() { size(512, 200); // Minim Minim.start(this); // AudioPlayer 512 player = Minim.loadFile(quot;marcus_kellis_theme.mp3quot;, 512); // player.play(); }

×