Finalproject.Code History

Hide minor edits - Show changes to markup - Cancel

April 19, 2006, at 09:37 AM by 216.165.95.5
Changed lines 13-14 from:
to:

http://www.itp.nyu.edu/~tp585/tube.jpg

April 19, 2006, at 09:35 AM by 216.165.95.5
Changed lines 13-14 from:

http://www.itp.nyu.edu/~tp585/tube.jpg

to:
April 19, 2006, at 09:35 AM by 216.165.95.5
Added lines 13-14:

http://www.itp.nyu.edu/~tp585/tube.jpg

April 19, 2006, at 09:31 AM by 216.165.95.5
Changed lines 10-11 from:

insert pic here of bread board and tube

to:

http://www.itp.nyu.edu/~tp585/board.jpg

April 19, 2006, at 01:20 AM by 216.165.95.5
Added lines 26-27:

http://www.itp.nyu.edu/~tp585/tubescematic2.jpg

April 19, 2006, at 01:14 AM by 216.165.95.5
Changed lines 43-50 from:

'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

to:

'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\\

April 19, 2006, at 01:13 AM by 216.165.95.5
Changed lines 37-103 from:
to:

'#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...)

April 19, 2006, at 12:18 AM by 216.165.95.5
Changed lines 5-6 from:

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.

to:

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.

Changed lines 9-10 from:

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.

to:

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.

Changed lines 13-14 from:

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.

to:

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.

April 18, 2006, at 11:19 PM by 216.165.95.5
Changed lines 1-2 from:

'Tube Grube'

to:

Tube Grube

April 18, 2006, at 11:19 PM by 216.165.95.5
Changed lines 1-2 from:

Tube Grube

to:

'Tube Grube'

April 18, 2006, at 11:16 PM by 216.165.95.5
Changed line 32 from:

\\

to:
April 18, 2006, at 11:16 PM by 216.165.95.5
Changed lines 32-35 from:

to:


Code-

April 18, 2006, at 11:14 PM by 216.165.95.5
Changed lines 9-12 from:

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

to:

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

April 18, 2006, at 11:07 PM by 216.165.95.5
Changed lines 13-18 from:

Challenges-

Target Users-

to:

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.

April 18, 2006, at 10:43 PM by 216.165.95.5
Added lines 13-14:

Challenges-

April 18, 2006, at 10:37 PM by 216.165.95.5
Changed lines 7-8 from:

Curent Status of Tube Grube-

to:

Current Status of Tube Grube-

Added lines 15-16:
April 18, 2006, at 10:32 PM by 216.165.95.5
Changed lines 21-22 from:

3. PIC 18452

to:


3. PIC 18452\\

April 18, 2006, at 10:32 PM by 216.165.95.5
Added line 19:

\\

April 18, 2006, at 10:31 PM by 216.165.95.5
Changed lines 19-23 from:

2.

to:

2. Power Source - battery 3. PIC 18452 4. MIDI synthesizer

April 18, 2006, at 10:26 PM by 216.165.95.5
Changed lines 17-18 from:
to:

1. 2 Inch Piezos- Murata 7BB-50-1A10. Larger than usual, 50mm (2") diameter, piezo element. 6" color-coded leads. CAT# PE-50

2.

April 18, 2006, at 10:22 PM by 216.165.95.5
Changed lines 15-16 from:

Hardware Design

to:

Hardware Design-

April 18, 2006, at 10:22 PM by 216.165.95.5
Changed lines 15-16 from:
to:

Hardware Design

April 18, 2006, at 10:05 PM by 216.165.95.5
Changed lines 9-10 from:

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

to:

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

Changed lines 14-15 from:

2

to:
April 18, 2006, at 10:03 PM by 216.165.95.5
Changed lines 5-6 from:

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:

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.

Changed lines 9-12 from:

Currently the inflatable

to:

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

April 18, 2006, at 09:50 PM by 216.165.95.5
Changed lines 1-2 from:

Grube Tube

to:

Tube Grube

Changed lines 5-6 from:
to:

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

April 18, 2006, at 09:40 PM by 216.165.95.5
Added lines 5-6:
April 18, 2006, at 09:09 PM by 216.165.95.5
Changed lines 3-4 from:

Project Goal

to:

Project Goal-

April 18, 2006, at 09:09 PM by 216.165.95.5
Added lines 1-4:

Grube Tube

Project Goal


Page last modified April 19, 2006, at 09:37 AM