Design and Applications of a Multi-Touch Musical Keyboard

Design and Applications of a Multi-Touch Musical Keyboard

DESIGN AND APPLICATIONS OF A MULTI-TOUCH MUSICAL KEYBOARD Andrew McPherson Youngmoo Kim Drexel University Drexel University [email protected] [email protected] ABSTRACT gesture and sound can be dynamically adjusted. On the other hand, touch-screen interfaces lack the tactile feed- This paper presents a hardware and software system for back that is foundational to many musical instruments, and adding multiple touch sensitivity to the piano-style key- they require the consistent visual attention of the performer. board. The traditional keyboard is a discrete interface, In this paper, we explore a synthesis between keyboard defining notes by onset and release. By contrast, our sys- and multi-touch interfaces by integrating multiple touch tem allows continuous gestural control over multiple di- sensitivity directly into each key. We present a new capac- mensions of each note by sensing the position and contact itive sensor system which records the spatial location and area of up to three touches per key. Each key consists of contact area of up to three touches per key. The sensors can a circuit board with a capacitive sensing controller, lami- be installed on any acoustic or electronic keyboard. The nated with thin plastic sheets to provide a traditional feel sensor hardware communicates via USB to a host com- to the performer. The sensors, which are less than 3mm puter, which uses the Open Sound Control (OSC) protocol thick, mount atop existing acoustic or electronic piano key- [1] to transmit both raw touch data and higher-level gestu- boards. The hardware connects via USB, and software on a ral features to any sound synthesis program. host computer generates OSC messages reflecting a broad Integrating touch sensitivity into the keyboard creates a array of low- and high-level gestures, including motion of wide range of new expressive possibilities. In this paper, single points, two- and three-finger pinch and slide ges- we will describe the hardware and software design of the tures, and continuous glissandos tracking across multiple touch system and present selected musical applications. keys. This paper describes the system design and presents selected musical applications. 2. RELATED WORK 1. INTRODUCTION The idea of integrating touch sensitivity into the piano key- Over the past decades, a great many electronic music con- board was first explored by Moog and Rhea [2], who con- trollers have been developed, but few approach the ubiq- structed “multiply-touch-sensitive” keyboards recording the uity of the piano-style keyboard. The keyboard’s versatil- lateral and front-to-back position of the player’s finger on ity and its large number of skilled performers ensure that the key surface as well as the continuous vertical position it will maintain a prominent place in digital music perfor- of the key itself. The sensors were installed in piano and mance for the foreseeable future. organ-style keyboards, and the data was made available The keyboard is by nature a discrete interface: on the through a custom microcontroller interface. In this way, acoustic piano as well as on most MIDI keyboards, notes each key could be used to control up to three independent are defined solely by onset and release, giving the per- musical parameters. former limited control over their shape. Though certain Other authors have explored replacing the MIDI keyboard’s MIDI keyboards are equipped with aftertouch (key pres- discrete triggering with a continuous position measurement. sure) sensitivity, this arrangement tends to lack nuance and Freed and Avizienis [3] demonstrate a keyboard featuring flexibility. A key must be completely pressed before af- continuous position measurement and high-speed network tertouch can be used, so aftertouch cannot control articu- communication. Our own previous work [4] uses optical lation. Aftertouch is also difficult to use in rapid passage- sensing to measure continuous key position on the acoustic work, and control is limited to a single dimension. piano at 600Hz sampling rate. The sample rate is sufficient Separately, interest has been growing in multi-touch mu- to capture anywhere from 10 to 100 points during the brief sic interfaces, particularly touch-screen devices such as the interval a key is in motion, recording not just the velocity Apple iOS family. Touch-based devices can be used for but the shape of each key press. In addition to velocity, continuous or discrete control, and relationships between we demonstrate techniques for extracting up to four ad- ditional dimensions (percussiveness, weight into the key- Copyright: c 2011 Andrew McPherson et al. This is bed, depth, and finger rigidity) from each press [5]. an open-access article distributed under the terms of the The Haken Continuum [6] erases the mechanical bound- Creative Commons Attribution 3.0 Unported License, which permits unre- aries between keys entirely, providing an interface capable stricted use, distribution, and reproduction in any medium, provided the original of recording up to 10 touches in three dimensions. The author and source are credited. continuous design facilitates glissando and vibrato gestures as well as continuous note shaping, though maintaining correct intonation requires precision on the player’s part. Capacitive touch sensing (and, more broadly, electric field sensing) has also seen musical applications beyond the key- board. Paradiso and Gershenfeld [7] discuss applications ranging from the classic Theremin to baton and bow track- ing. Guaus et al. [8] use capacitive touch sensing to mea- sure a guitarist’s fingering on the fretboard. The Snyder- phonics Manta 1 provides a hexagonal array of capacitive touch sensors whose mapping can be dynamically assigned in software. The Buchla Thunder 2 , among other Buchla controllers, is also based on capacitive sensing. 2.1 Revisiting the Touch-Sensing Keyboard Though previous touch-sensitive keyboard designs exist, we believe that this a concept ripe for future exploration. Figure 2. Two octaves of keys with controller board (top), Open Sound Control [1] offers faster, more flexible com- mounted on a MIDI keyboard. munication options than MIDI, enabling the practical use of high-bandwidth performance interfaces. Driven by wide- spread adoption in consumer electronics, capacitive sens- 3. DESIGN OVERVIEW ing technology has become both cheaper and more robust, with several integrated digital controller systems available. In this context, we introduce a new system for measuring Simultaneously, increasing availability of complex, mul- the position and size of up to three touches on each piano tidimensional performance interfaces has stimulated an in- key. Black key position is sensed along a single front-to- terest in the mapping problem: given a large input space back axis; white key touches are sensed in two axes on of performer gestures, how can a performer’s actions be the wide front of the key and a single axis along the nar- translated into sound in the most flexible, intuitive man- row back portion. Each key consists of a circuit board ner? Highly multidimensional interfaces can be difficult with an integrated circuit controller; the front surface of to control, but recent work has identified strategies which the board is laminated with thin plastic to provide a simi- go far beyond the traditional one-to-one linear mappings lar feel to the traditional key surface (Figure1). The back between input sensors and synthesizer parameters [9]. is laminated with a thicker plastic sheet cut out around the components to provide a flat mounting surface. The entire 3mm thick assembly can replace conventional key tops (on acoustic pianos) or be fastened atop an existing keyboard (for molded plastic keyboards). Figure2 shows two octaves of keys attached to the con- troller board, which communicates with a computer via USB. Each key is scanned 125 times per second; the host computer processes the raw data to extract higher-level fea- tures including the addition and removal of touches, mo- tion and resizing of existing touches, and multi-finger ges- tures including pinches and slides. These features are fur- ther described in Section5. 4. SENSOR HARDWARE Each key uses a Cypress Semiconductor CapSense con- troller [10] on a circuit board with either 17 or 25 sen- sor pads (black and white keys, respectively). Each pad forms a capacitor with respect to free space and a ground plane internal to the circuit board; a finger on or near the sensor surface increases its capacitance, which the con- 3 Figure 1. Multi-touch-sensitive piano keys. Boards shown troller reads as an 10-bit value. On startup, the con- from top, bottom, and with surface laminates. troller reads baseline values for each sensor with no finger present, subtracting these baselines from subsequent read- ings. No electrical contact is required between the per- 1 http://www.snyderphonics.com 3 Detailed principles of capacitive sensing can be found in Paradiso [7] 2 http://www.buchla.com/historical/thunder/ and the Cypress datasheet [10]. a group of adjacent active sensors: If If X X Centroid = ( kCk)=( Ck) (1) k=Is i=Is where Is ≤ k ≤ If defines a range of sensor indices and the Ck represent capacitance values. Touch size (contact area) is proportional to the sum of all sensors in a group: If X Size = Ck (2) k=Is Raw centroid and size values are scaled to 0-1 range for later processing. Multiple independent touches can be sensed as long as their spacing exceeds the distance between sen- sor pads (4.75mm for black keys, 6.6mm for white). Cen- troid calculations are performed on each CapSense con- troller; a limit of 3 touches per key was chosen to provide a reasonable cap on calculation time. A complete sensor scan and calculation of centroids takes 4ms. Calculated vertical spatial resolution on the black keys is .08mm. On the white keys, resolution is .11mm in the vertical dimen- sion and .09mm in the horizontal dimension.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us