文档库 最新最全的文档下载
当前位置:文档库 › THE PIPE Explorations with Breath Control

THE PIPE Explorations with Breath Control

THE PIPE Explorations with Breath Control
THE PIPE Explorations with Breath Control

THE PIPE:Explorations with Breath Control

Gary P .Scavone

Center for Computer Research in Music and Acoustics

Stanford University Stanford,CA 94305

gary@https://www.wendangku.net/doc/803181104.html,

ABSTRACT

The Pipe is an experimental,general purpose music input device designed and built in the form of a compact MIDI wind controller.The development of this device was mo-tivated in part by an interest in exploring breath pressure as a control input.The Pipe provides a variety of com-mon sensor types,including force sensing resistors,momen-tary switches,accelerometers,potentiometers,and an air pressure transducer,which allow maximum ?exibility in the design of a sensor mapping scheme.The Pipe uses a pro-grammable BASIC Stamp 2sx microprocessor which outputs control messages via a standard MIDI jack.

Keywords

MIDI Controller,Wind Controller,Breath Control,Human Computer Interaction.

1.INTRODUCTION

The Pipe ,shown in Fig.1,is an experimental,general pur-pose music input device designed and built in the form of a compact MIDI wind controller.While acoustic wind instru-ments,as well as most existing commercial wind controllers,make use of dynamic air ?ow for activation,The Pipe is based on a “?ow-free”breath pressure paradigm.The devel-opment of this interface was in part motivated by an interest in exploring the use and e?ectiveness of static-?ow breath pressure as a control input.In addition,The Pipe provides a variety of common sensor types,including force sensing resistors (FSRs),momentary switches,accelerometers,and potentiometers,which allow maximum ?exibility in the de-sign of a sensor mapping scheme.The device uses a BASIC Stamp 2sx microprocessor which can be programmed via a serial interface to a computer and outputs control messages via a standard MIDI

jack.

Figure 1:The Pipe :View from above (top)and below (bottom).

A nearly complete version of The Pipe was constructed more than two years ago but then left un?nished when size and space complications arose during ?nal assembly.The impetus to continue work on the device,which ultimately led to a complete rebuild,occurred in the course of music composition experiments with real-time physical modeling algorithms.

2.INTERFACE CONCEPT AND DESIGN

The Pipe is intended to function either as an indepen-dent MIDI controller or as an interface to computer-based synthesis algorithms.During its design,several goals were identi?ed,including:

?the ability to use and experiment with static-?ow breath pressure as a control input ?to provide a wind-like control surface for use with ex-isting woodwind tonehole synthesis models ?to provide a more hygienic breath pressure interface for device sharing ?to allow precise variation of controller values

?to make use of as many di?erent sensor types as could reasonably be located on or within its structure ?to be housed within a durable,compact shell

In particular,The Pipe is meant to operate in place of several previous experimental digital interfaces built by this author [4,5],allow generic control of most Synthesis ToolKit in C++(STK)instruments [2],provide an expressive inter-face for wind instrument performance control,as well as o?er ?exibility for future synthesis model control and input sensor developments.

The Pipe was conceived as a standalone,battery pow-ered device which would provide a set of ?nger “keys”in a con?guration akin to a musical recorder,as well as contain all necessary circuitry to process the sensor data and output MIDI-formatted control messages.A housing was fabricated from 1.5inch (3.8centimeter)inner diameter Acrylonitrile Butadiene Styrene (ABS)piping,cut to a length of approx-imately 14inches (35.5centimeters).A small circuit board was cut so that it could be slid in and out of The Pipe along a set of grooves at its downstream end.This layout is di-agrammed in Fig.2.All necessary wiring and electronics are contained within the ABS body to maintain maximum durability.

The ?nger keys or switches on all commercial wind con-trollers provide only limited,binary state information.When

FSRs (Left Hand)FSRs (Right Hand)

Circuit Board Rotary Potentiometer

LED

Rotary Potentiometer Figure 2:The Pipe layout diagram:View from

above (top)and below (bottom).

a key is depressed or touched,a new MIDI “Note On”mes-sage is produced which corresponds to some prede?ned ?n-gering/note number mapping.A previous controller by this author [4]used FSRs in conjunction with ?nger keys to en-able a 7-bit range of ?nger position data.The Pipe was de-signed so that the ?ngers rest directly on or above FSRs.A set of seven ?nger depressions were drilled along the length of The Pipe in a traditional two-hand arrangement.Circular force sensing resistors of 3/4inch diameter were positioned in the depressions and slots were chiseled for the FSR leads to facilitate an internal wiring system.Initially,the FSRs were covered with only a thin layer of tape and direct ?nger pressure was applied to https://www.wendangku.net/doc/803181104.html,ter,compressible,foam-like pads were added on top of the FSRs to provide some haptic feedback in the ?ngering mechanism.

Traditional wind instruments are driven by dynamic air ?ow through an acoustic air column.Most commercial dig-ital wind instrument controllers have made use of similar breath control schemes (Yamaha WX5,Akai EWI).In an electronic wind controller,this air ?ow is completely unnec-essary and even undesirable given potential complications involved with humid air ?ow through or near electronic com-ponents.In addition,the limited capacity of the human lungs requires that outgoing air ?ow,and the resulting pres-sure,be periodically stopped.Pressure sensing in The Pipe was therefore based on a static air ?ow paradigm within an air tight enclosure on the upstream end of the instru-ment.A removable,contoured mouth cap was designed to be positioned against the performer’s face but beyond the mouth and lips to minimize hygienic concerns that might arise when sharing the device.In this scheme,an air-tight seal is formed between the player’s face and the cap which allows pressure to be maintained and controlled inde?nitely inside the cap while breathing normally through the nose.The mouth cap was fabricated from a short,ABS coupling section.

A variety of additional sensors are included in The Pipe .An earlier controller by this author [5]provided tilt sensing in two dimensions using a dual-axis accelerometer.Experi-ence with that device indicated that tilt o?ers a convenient control parameter that is especially easy to use concurrently with other input sensors.In addition,accelerometers are naturally suited for sensing gestures appropriate when con-trolling shaker synthesis algorithms [1].Two rotary poten-tiometers allow for small or subtle control value variations,as well as a means for setting values which are intended to remain ?xed until further modi?ed.These controls were

added to address limitations with the use of FSRs,which are di?cult to use for precise control and which require contin-uous action on the part of the player to maintain a non-zero value.Two momentary switches were provided for use as triggers or in conjunction with other sensors to create more complex control schemes.

Given the variety of possible applications,a programmable microprocessor interface was required.The Pipe was built using a Basic Stamp 2sx microprocessor by Parallax,Inc.

2.1Hardware Details

The seven FSRs are arranged to be used by the ?rst three ?ngers of the upper left hand and the four ?ngers of the lower right hand.A momentary switch and rotary potentiometer are located in proximity to each of the ?nger “banks”.The system was balanced in such a way that it could be easily played with either hand independently.

The electronic components were mounted on a circuit board which was cut so that it could be slid into the down-stream end of the ABS housing.The FSRs (Interlink Elec-tronics),switches,potentiometers,MIDI socket,and LED were mounted on the ABS housing (see Fig.2)and con-nected to the circuit board via ribbon cables.The BSIIsx is powered by a 9-volt battery,which is housed inside The Pipe just below the detachable mouthpiece.

F S R C i r c u i t s

Figure 3:The Pipe circuit schematic.

The circuit board schematic is shown in Fig. 3.The dual-axis accelerometer,an Analog Devices ADXL202,pro-vides digital output and interfaces to the BSIIsx via two of its sixteen input/output pins.The potentiometers and momentary switches are connected via one input pin each.The MIDI interface jack uses one output pin.The seven FSRs and the air pressure sensor are read through an 8-channel,8-bit serial I/O multiplexing analog-to-digital con-verter (National Semiconductor ADC0838),which connects to the microprocessor using three pins.Currently,a Mo-torola MPXV5010air pressure sensor is being used with a range of 0to 1.45PSI.In the future,a more sensitive de-vice may be substituted.Finally,an LED was included via another pin as a visual feedback mechanism to distinguish program features.In its current form,?ve input/output pins remain for future modi?cations or upgrades.

A single MIDI cable is necessary to connect with an ex-ternal synthesizer or computer.A removable,four-pin con-nector provides a serial interface to a computer for micro-processor programming.The BASIC Stamp makes use of a simpli?ed and customized form of the BASIC programming language called PBASIC.With the BSIIsx processor,up to eight programs can be stored in 2Kbytes of memory each.The scaling of sensor data for 7-bit MIDI message output is left completely to the programmer.

2.2Sensor Mapping

As con?gured in The Pipe,the FSRs and breath pressure sensor produce a non-zero output only when activated by ?nger or breath pressure.This makes them appropriate in situations where the sensor is used to produce a control ges-ture which always begins and ends at the same equilibrium, non-active value.This behavior mimics the spring-loaded keys of wind instruments.However,sensors of this type are less well suited for situations where one wishes to make modi?cations,perhaps precise,above and below a mid-range value.The response of the FSRs in particular is highly non-linear and in the current con?guration has much greater variation at low pressure values.The momentary switches function in a similar manner to the FSRs but produce only two possible states.

The rotary potentiometers,on the other hand,provide a good means for making small control value changes about a non-zero mean,as well as settings which maintain their state.The accelerometers,when measuring tilt,can be used in a similar way though the usable range in hand-held sit-uations such as this is limited to approximately16or less distinct,controllable positions(approximately4-bits of res-olution).

While each sensor type presents particular constraints,it is possible to use combinations of sensors to achieve greater ?exibility and augment the raw capabilities of the device. For example,if one wishes to use The Pipe in a situation that calls for six“slider-like”controls,the FSRs can be used as“switches”to activate particular control parameters for modi?cation by a nearby rotary pot.Another useful com-bination involves the use of a momentary switch to activate modi?cations made using FSRs or the breath pressure sen-sor.In this way,a control value can be positioned using pressure and then held at a given value by releasing the mo-mentary switch before releasing the https://www.wendangku.net/doc/803181104.html,binations using the dual-axis accelerometer are possible as well.Fi-nally,the control interface provided by The Pipe has limits, particularly in situations where a large number of control values need to be modi?ed simultaneously.When using the device to drive a real-time computer synthesis engine,such manipulations can be made into preprogrammed functions on the computer which are simply triggered by the con-troller.

Maximum?exibility with The Pipe is achieved by o?ering a variety of conveniently located sensors which can be con-trolled using one or two hands and which can be con?gured and programmed as desired for a given situation.

Another aspect of parameter mapping concerns the way control values are mapped to synthesis parameters[3].A few example mapping schemes of this sort are considered in the following section.

3.MUSICAL APPLICATIONS

The Pipe was designed for a variety of speci?c uses,as well as made generic enough to function in as-yet unknown situations.One goal was to have an instrument which could function in place of two previous experimental controllers. Another goal was to create an instrument for use as a real-time performance controller.This section documents these applications.

3.1A Tonehole Controller

Physical modeling research reported in1998led to an ef-?cient,real-time model of woodwind instrument toneholes [6].In conjunction with this research,a MIDI wind con-troller was designed and constructed to provide a playable, intuitive interface for the model[4].Of particular interest was a?nger sensor which could provide a range of position data for mapping to a range of tonehole states between open and closed extremes.The seven FSRs of The Pipe can be con?gured to provide this functionality.

As a tonehole controller,The Pipe provides MIDI format-ted messages to a computer-based synthesis engine running a real-time implementation of the tonehole model.Custom MIDI control values for?nger pressure were designated for each of the toneholes.Additional controls,including breath pressure,breath noise,and register hole state,are con?gured from the available sensor inputs.The one-to-one mapping of ?nger pressure to tonehole state provides an intuitive inter-face to the model.In some instances,however,it becomes di?cult to consistently maintain the pressure necessary on all FSRs to prevent inadvertent upstream hole“leakage”. This problem points to an inadequacy with the Pipe’s?nger “key”mechanism which will be investigated in the future. In response to this di?culty,an alternative binary position scheme was programmed such that light?nger pressure trig-gers tonehole closure,while a potentiometer is used to vary the rate of?nger hole closure.

3.2A MIDI Sequencer

Devices making use of programmable microprocessors can easily be con?gured as simple MIDI sequencers for use with external MIDI synthesizers.In general,a recurring pattern of notes,or ostinato,is programmed as a loop and subdi-visions within that interval are denoted for possible sensor-controlled events.Applications of this type were previously explored using the Phoney Controller[5]and are easily re-peated and extended with The Pipe.

Flexible,improvisatory control mappings within a con-strained musical“scene”,as created by the sequence,can provide hours of entertainment for musicians and non-mu-sicians alike.Force sensing resistors function well as vol-ume controls for distinct voices and auxiliary rhythm section instruments.Potentiometers are convenient for controlling tempo or selecting voices.Within a?xed modal harmonic scheme,a scale and/or octave changes can be mapped to tilt sensors to provide an easily mastered,“no fail”impro-visatory control surface.

3.3A Synthesis ToolKit Interface

The Synthesis ToolKit in C++(STK)is a?exible set of open-source audio signal processing and algorithmic synthe-sis classes written in the C++computer programming lan-guage[2].STK provides a standardized control interface for most of its synthesis algorithms.Con?guration of The Pipe for generic control of STK algorithms involved a variety of sensor mapping issues.

In most STK algorithms,a control parameter is provided for energy input to the instrument.For wind instrument algorithms,this parameter corresponds to breath pressure, for shaker instruments it corresponds to shake energy,and in other cases it is a volume control.Given the array of sensors on The Pipe,outputs from both the air pressure sensor and the accelerometer were mapped to the energy parameter.While providing intuitive control mechanisms, this mapping also allows one to“blow”shaker instruments or“shake”wind instruments.

Most of the remaining STK algorithm parameters are de-signed to be modi?ed both above and below default values.

A mapping strategy to allow this type of control was de-veloped as previously discussed,such that FSRs are used

as“switches”to activate particular control parameters for modi?cation by a rotary pot.In this way,the potentiome-ter decrements or increments a parameter value selected by a corresponding FSR and this value is saved for subsequent adjustment.The other rotary potentiometer is used to make program changes.In addition,the two momentary switches are used to trigger“Note On”and“Note O?”events.

The primary di?culty observed while using The Pipe with STK algorithms has been the lack of a visual mechanism for determining existing parameter settings.Given that a single rotary potentiometer,in conjunction with distinct FSRs,is used to modify a number of di?erent parameters,it becomes di?cult to remember the last value setting for a particular parameter.Also,this scheme allows only a single parameter to be adjusted at a time.In a performance situation,a more responsive mapping would likely be necessary.

3.4An Expressive Performance Controller The Pipe was designed in part to allow expressive and subtle control of real-time physical models in a performance setting.Explorations in this context are ongoing though sev-eral mapping strategies are evident.Breath pressure control o?ers an intuitive means for“energizing”systems continu-ously driven by air or bows,such as wind instruments or bowed strings,bars,or bowls.While struck or plucked sys-tems can be triggered using momentary switches,a more natural mapping can make use of velocity-based physical gestures which are calculated from the accelerometer inputs. Static tilt can be appropriately mapped to parameters which are typically varied above or below a default value for rela-tively short periods of time.

Subtle performance control with real-time physical models demands the ability to make minute parameter adjustments, sometimes simultaneously across several di?erent parame-ters and/or instruments.When interfacing to a computer-based synthesis environment,some of these demands can be transferred to the synthesis system and simply triggered by the controller to achieve results beyond the capabilities of the device or performer.

4.OBSERV ATIONS AND FUTURE WORK Musical activities with The Pipe are continuing and pos-sible improvements are actively being explored.Changes to the current breath pressure mechanism are being considered to provide a more air-tight?tting between the mouth cap and player’s face,as well as more sensitivity and resolution from the sensor.In addition,?nger position sensors with greater sensitivity and better tactile characteristics are de-sirable.In their current form,there is no way of knowing (without extensive practice)what amount of?nger pressure represents full“de?ection”of the?nger sensors.

In its existing con?guration,it is di?cult to make ad-justments to the rotary potentiometers when both hands are positioned on the?nger“keys”.It is unlikely that an appropriate modi?cation can be made to the existing struc-ture,though a future improvement could instead make use of a thumb operated“roller”mechanism.

The addition of a small microphone in the mouth cap to record vocalizations has been contemplated,though this would require an extra audio connector.At this point, a lip pressure sensor has not been considered,though in-put/output pins are still available on the microprocessor for future sensor extensions.5.ACKNOWLEDGMENTS

This author would like to thank Perry Cook for early mu-sic controller inspirations and suggestions.A number of individuals on the Wind Controller Mailing List provided helpful information about existing commercial wind con-trollers as well as feedback on wind controller design issues. And discussions with Bill Verplank at CCRMA helped mo-tivate a return to this project after more than a year of inactivity.

6.REFERENCES

[1]P.R.Cook.Physically informed sonic modeling

(phism):Synthesis of percussive https://www.wendangku.net/doc/803181104.html,puter

Music Journal,21(3):38–49,1997.

[2]P.R.Cook and G.P.Scavone.The Synthesis ToolKit

(STK).In Proceedings of the1999International

Computer Music Conference,pages164–166,Beijing,

China,https://www.wendangku.net/doc/803181104.html,puter Music Association.

[3]A.Hunt,M.Wanderley,and M.Paradis.The

importance of parameter mapping in electronic

instrument design.In Proceedings of the NIME-02

Conference on New Interfaces for Musical Expression, pages149–154,2002.

[4]G.P.Scavone.The Holey Controller,1998.

https://www.wendangku.net/doc/803181104.html,/?gary/.

[5]G.P.Scavone.The Phoney Controller,1999.

https://www.wendangku.net/doc/803181104.html,/?gary/.

[6]G.P.Scavone and P.R.Cook.Real-time computer

modeling of woodwind instruments.In Proceedings of

the Internation Symposium on Musical Acoustics

(ISMA-98),Leavenworth,WA,pages197–202,June

1998.

相关文档