Communication¶
Things Necessary to Communicate- Timeline - October 14th
- Package Structure
- Byte Width, What to use, Chords
- Expressing the structure in code
- Having slaves able to pull from that structure
- Testing
- Package Structure
- People
- Nico, Andrew, Jon, Doug
- Communication is Serial from Master to Slave and from Computer to Master
- Pitch
- Duration
- When to Play
- What Instrument
- Velocity
- Pulse
- Send every 64th maybe, updates allow for tempo change
- Throw data on the slave and then update with the pulse
- Wiimote controls heartbeat
- Chords -
- represented as packets
- Each instrument represents differently
- Xylobot- might have delay issues, will experiment
*Representation - Current: ~7A
- Certain number of Bytes
- Chord Delimiter to tell how many more bytes to read
- How do we represent glissando or Pitch Bend
- Structures for different instruments
- Timeline - End of October
- Working Demonstration
- People
- Mike
Repository
*rc-it@lists.andrew.cmu.edu send email to
- Poll {3A} checks to see if flutophone is there will echo back
- {#B$$$} $$$ milliseconds per division (3 letters)
- () interupts- Do this now
- #0 - Computer
- #1 - Master
- Master (0A) start sending
- Master (0B) stop sending
- Computer (1A) Play
- Computer (1B) Pause
- Computer (1C) Stop
- Computer (1D#) Disable instrument
- Computer (1E#) Enable instrument
Identification numbers¶
- Computer = 0
- Master = 1
- Xylobot = 2
- Flutophone = 3
- Brassbot = 4
- Hi-hat = 5
- Bassbot = 6
- Whamola = 7
- Snare = 8