Finalproject.Code History
Hide minor edits - Show changes to markup - Cancel
http://www.itp.nyu.edu/~tp585/tube.jpg
http://www.itp.nyu.edu/~tp585/tube.jpg
http://www.itp.nyu.edu/~tp585/tube.jpg
insert pic here of bread board and tube
http://www.itp.nyu.edu/~tp585/board.jpg
http://www.itp.nyu.edu/~tp585/tubescematic2.jpg
'ADCIN parameters for pot control DEFINE OSC 20 'define clock DEFINE ADC_BITS 10 'Set number of bits in result DEFINE ADC_CLOCK 3 'Set clock source to chip's clock DEFINE ADC_SAMPLEuS 50 'How long a sample is held in uS TRISA = %11111111 'set all pins in porta to input pins ADCON1? = %10000010 'set PORTA analog and right justify result
'ADCIN parameters for pot control
DEFINE OSC 20 'define clock
DEFINE ADC_BITS 10 'Set number of bits in result
DEFINE ADC_CLOCK 3 'Set clock source to chip's clock
DEFINE ADC_SAMPLEuS 50 'How long a sample is held in uS
TRISA = %11111111 'set all pins in porta to input pins\\
ADCON1? = %10000010 'set PORTA analog and right justify result\\
'#TUBE GRUBE. OWN IT. '# '#Bennett, Teresa, Joanna'#
'__________________________
'## DEFINITIONS ## 'ADCIN parameters for pot control DEFINE OSC 20 'define clock DEFINE ADC_BITS 10 'Set number of bits in result DEFINE ADC_CLOCK 3 'Set clock source to chip's clock DEFINE ADC_SAMPLEuS 50 'How long a sample is held in uS TRISA = %11111111 'set all pins in porta to input pins ADCON1? = %10000010 'set PORTA analog and right justify result
' ## DEFINE VARIABLES ## innerPiezo VAR word lastInner var word outerPiezo var word lastOuter var word serOuterVar var byte serInnerVar var byte
' initialize state variables lastInner = 0 lastOuter = 0 innerPiezo = lastinner outerpiezo = lastouter
main: ADCIN 2, innerPiezo adcin 3, outerpiezo
'#OUTER PIEZO#'
if innerPiezo != lastinner then
pause 5
serinnervar = innerpiezo / 4
if serinnervar > 20 then 'gate
serout2 PORTC.6, 12, [144, 80, 127] '[note on ch 1, note value 80, note velocity 127]
serout2 PORTC.6, 12, [144, 80, 0] 'off
endif
pause 5 'breathing room for midi, to help note continuity
endif
innerPiezo = lastInner 'for change of state
'#OUTER PIEZO#'
if outerpiezo != lastouter then
pause 5
seroutervar = outerpiezo / 4
if seroutervar > 10 then 'gate
serout2 PORTC.6, 12, [145, 40, 127] '[note on ch 2, note value 40, note velocity 127]
serout2 PORTC.6, 12, [145, 40, 0] 'off
endif
pause 5 'breathing room for midi, to help note continuity
endif
outerpiezo = lastouter 'for change of state
goto main
'Future possibilities: ' - use data from piezos to control velocity for touch sensitive midi controller ' - make user interface to switch programs / note values ' - create more tubes within environment ' - add lights (brightness dependent on velocity, note, program, etc) ' - use different inflatables (floaties, beachball...)
To make an interactive installation piece using inflatable tubes which produce MIDI sounds upon touch of tube. The inflatable tubes also known as Tube Grubes are meant to create not only an entertaining interaction through touch and sound for the user but also to be used with mulitple users interacting with eachother. Its a fun musical toy for everyone.
Turning an inner tube into an interactive musical toy. An interactive installation piece, bumping and hitting the tube produces MIDI sounds based on vibration. The Tube Grubes create an entertaining interaction through touch and sound for the user, and also can be used with mulitple users interacting with eachother. Its a fun musical toy for everyone.
Currently the inflatable tubes are wired with 2 inch Piezos surrounding both the inner-circle of the tube and the outer-circle to produce sound through MIDI. As the user touches the inner tube area they will hear various MIDI sounds. The piezo on the inner and outer area of the tube are each set to play a different sounds.
Each tube is wired with 2'' Piezo sensors lining both the inner and outer seam. Each of the two rings of sensors is programmed to play a unique MIDI sound when struck. The tubes are tethered to the breadboads through the coiled wires that are connected to the sets of Piezos.
One of our main challenges is to have the sounds emitted from the piezos through MIDI be clearly distinct and discernable from eachother. Currently when the user hits the tube the piezos make multiple sounds at once rather than one distinct sound. Also for the best interaction results it would be necessary for the tubes to be controlled through a wireless interface therefore no wires would get in the way and the user would be able to roam free and not confined to one specific area.
One of our main challenges is to isolate the sounds produced by each ring of sensors, and give the user accurate feedback. Currently when the user hits the tube, it triggers multiple attacks rather than one distinct hit. Direct hits on a single sensor will sometimes trigger both sounds. Also it would be best to remove the tether and have the tubes controlled through a wireless interface, allowing the user to move freely and use the tube in various positions.
'Tube Grube'
Tube Grube
Tube Grube
'Tube Grube'
\\
Code-
Currently the inflatable tubes are wired with 2 inch Piezos surrounding both the inner-circle of the tube and the outer-circle to produce sound through MIDI. As the user touches the inner tube area they will
insert pic here of bread board and tube
Currently the inflatable tubes are wired with 2 inch Piezos surrounding both the inner-circle of the tube and the outer-circle to produce sound through MIDI. As the user touches the inner tube area they will hear various MIDI sounds. The piezo on the inner and outer area of the tube are each set to play a different sounds.
insert pic here of bread board and tube
Challenges-
Target Users-
Challenges-
One of our main challenges is to have the sounds emitted from the piezos through MIDI be clearly distinct and discernable from eachother. Currently when the user hits the tube the piezos make multiple sounds at once rather than one distinct sound. Also for the best interaction results it would be necessary for the tubes to be controlled through a wireless interface therefore no wires would get in the way and the user would be able to roam free and not confined to one specific area.
Target Users-
Our target users are children and adults who are in the installation area that has been created with the tubes. The installation area would be really any setting where there is a fairly large space for the user/s and the tubes to move freely with the tube. Both children and adults should feel welcome to pick the tubes up and immediately start playing with the objects in whatever way they deem necessary. The primary actions people performed during the user-testing phase of the Tube Grube are as follows: spinning the tube around an arm, puting the tube around the waist and hitting the the tube to hear the various sounds it can make, and putting the tube around the waist and bumping into another person with the tube on, Tube Grube wrestling if you will.
Challenges-
Curent Status of Tube Grube-
Current Status of Tube Grube-
3. PIC 18452
3. PIC 18452\\
\\
2.
2. Power Source - battery 3. PIC 18452 4. MIDI synthesizer
1. 2 Inch Piezos- Murata 7BB-50-1A10. Larger than usual, 50mm (2") diameter, piezo element. 6" color-coded leads. CAT# PE-50
2.
Hardware Design
Hardware Design-
Hardware Design
Currently the inflatable tubes are wired with 2 inch Piezos surrounding both the inner-circle of the tube and the outer-circle to produce sound through MIDI. As the user touches the inner tube area they will
Currently the inflatable tubes are wired with 2 inch Piezos surrounding both the inner-circle of the tube and the outer-circle to produce sound through MIDI. As the user touches the inner tube area they will
insert pic here of bread board and tube
2
To make an interactive installation piece using inflatable tubes which produce MIDI sounds upon touch of tube. The inflatable tubes also known as Tube Grubes are meant to create not only an entertaining interaction through touch and sound for the user but also to be used with mulitple users interacting with eachother. Its a fun musical toy for everyone...ahhh.
To make an interactive installation piece using inflatable tubes which produce MIDI sounds upon touch of tube. The inflatable tubes also known as Tube Grubes are meant to create not only an entertaining interaction through touch and sound for the user but also to be used with mulitple users interacting with eachother. Its a fun musical toy for everyone.
Currently the inflatable
Currently the inflatable tubes are wired with 2 inch Piezos surrounding both the inner-circle of the tube and the outer-circle to produce sound through MIDI. As the user touches the inner tube area they will
Target Users- 2
Grube Tube
Tube Grube
To make an interactive installation piece using inflatable tubes which produce MIDI sounds upon touch of tube. The inflatable tubes also known as Tube Grubes are meant to create not only an entertaining interaction through touch and sound for the user but also to be used with mulitple users interacting with eachother. Its a fun musical toy for everyone...ahhh.
Curent Status of Tube Grube-
Currently the inflatable
Project Goal
Project Goal-
Grube Tube
Project Goal
