INT.LIB - A GRAPHICAL PRESET INTERPOLATOR FOR MAX MSPSkip other details (including permanent urls, DOI, citation information)
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 3.0 License. Please contact firstname.lastname@example.org to use this work in a way not covered by the license. :
For more information, read Michigan Publishing's access and usage policy.
Page 00000271 INT.LIB - A GRAPHICAL PRESET INTERPOLATOR FOR MAX MSP Oliver Larkin ICSRiM* - Interdisciplinary Centre for Scientific Research in Music, School of Music, The University of Leeds *Work on this project was started during an internship at INA-GRM in 2005, and was continued at Middlesex University Sonic Arts Department in 2006. ABSTRACT int.lib (interpolation library) is an extension for Max/MSP that facilitates the control of multiple parameters using an intuitive graphical interface. The power of int.lib lies in its modular, multi-layered approach to preset interpolation, real time visual feedback, and integration within the Max environment. This article discusses existing examples of the preset interpolator concept and describes design considerations, technical implementation and features of int.lib. 1. INTRODUCTION When performing with highly parameterised software, musicians are often limited by the amount of control offered by the computer keyboard and mouse. Even using a hardware controller, it is impractical to adjust large numbers of parameters within a short time frame. Likewise, when composing, it can be difficult to create transitions between multiple parameter values, involving automation of each parameter individually. One approach that can help in these situations is "preset interpolation". Presets (also known as snapshots, programs or patches) are configurations of multiple parameters (and should be familiar to all users of audiovisual processing and synthesis software). Interpolating between presets facilitates non-discreet transitions and the discovery of new "hybrid" settings that blend the characteristics of two or more existing presets. Preset interpolation systems have been available in computer music applications for some time  and several different kinds of system have been realised (both graphical and non-graphical). Some systems offer interpolation between a low number of presets simultaneously (e.g. ) and some allow multi- or ndimensional preset interpolation. Various approaches have been taken to graphical multi-dimensional interpolation, which differ in their visual representation of presets and in their underlying algorithms . Max/MSP features its own preset interpolator in the form of the pattrstorage object (introduced in Max 4.5), which allows one-dimensional and multi-dimensional interpolation via the recall and recallmulti messages respectively. In addition, several graphical multidimensional systems have been implemented in third party libraries . int.lib uses a gravitational approach to multidimensional preset interpolation and is inspired by the INTERPOL interface of the SYTER (Systeme Temps Reel)  which was developed at INA-GRM (Institut National de l'Audiovisuel - Groupe de Recherches Musicales) in the 1980s. This method allows the user to interpolate between multiple presets by navigating a two dimensional environment in which presets are represented by balls. The size of each ball and its proximity to the cursor affects the weight of the associated preset in the interpolation. This approach was chosen for its visual simplicity and applicability to the design goals of the project. 2. DESIGN GOALS int.lib has been developed to turn the preset interpolator concept into a complete performance-ready interface for Max MSP. The design goals were as follows: * to allow the control of multiple parameter sets independently from one encapsulated interface * to abstract the user interface from the max patch * to facilitate rapid layout of the interpolation space * to be fast enough to support interpolation of many presets featuring many parameters * to be easy to understand and use inteit 4.......................... a R R..I.............. I.................................... Shid text. l T -]| snsp n: intPvst int list Figure 1. The three main objects. Here int.list is shown connected to Max's multislider object. 271
Page 00000273 5.2. Magnification Using multiple layers can result in many presets being onscreen at one time. With the mouse wheel or key commands one can zoom in on a specific area of the interpolation space and focus solely on the active layer or on certain presets. Further keyboard commands move the camera between layers. Lines may be drawn from the interpolation point to each preset in the layer (see Figure 2). This is useful if one or more presets are off screen. When zoomed in, the camera follows the cursor as the user navigates around the interpolation space. 5.3. Visual Feedback Existing graphical preset interpolation systems present the user with a static environment. As they navigate to a preset, only the results (e.g. the sound output) and the position of the cursor give an indication of the balance of presets in the interpolation. If the presets are similar the auditory indication may be minimal, likewise if there are a lot of presets near the cursor it may be difficult to see which preset has the strongest weighting. int.lib is designed to be responsive so that the user is aware of which presets are being included in the interpolation. This is achieved by linking the weight co-efficient of each preset to the transparency of the associated ball - if a preset has zero weight, only a "handle" at the centre of the ball is displayed, if the preset has full weight the ball is a block of solid colour (see Figure 3). the co-ordinates of the preset and the interpolation engine will ignore all other presets in its calculation. 5.6. Automation int.lib provides two methods of sequencing / automating transitions between presets. The first of these allows freehand gestures to be recorded, played back and looped. The second method uses a point-and-click Break Point Function generator that allows the user to add a series of points on the interpolation space, which are joined to form a trajectory. Each line segment is listed in the BPF editor with its duration in seconds and a signed curve factor to adjust the velocity as the interpolation point traces the trajectory of the segment. Positive curve factors result in a pseudo-exponential velocity curve and negative factors result in an inverse pseudo-exponential curve............. --- -................. Figure 4. Break Point Function and editor. Figure 3. Visual feedback 5.4. Layout Commands Preset layout functionality is achieved with the mouse buttons and keyboard shortcuts, allowing the user to quickly design and manipulate their interface. Geometric arrangements of presets can be created very easily and preset positions and sizes may be randomised. During interpolation, if a satisfying combination of presets is found, one can press a key to create a new "hybrid preset" based on the current values of parameters. 5.5. Snap Zone When controlling parameters such as frequency, tiny movements in the interpolation space can result in changes that are very obvious to the ears - if one tries to navigate to a certain preset, the output will only be correct when the interpolation position matches the exact co-ordinates of that preset. To solve this problem int.lib features a variable called the "snap zone" which is an invisible circle around each preset. If one navigates inside this circle, the interpolation position will snap to When defining the break point function, if one moves their mouse over a preset, that preset is highlighted. When created, the new breakpoint is flagged as "selective" and is snapped to the position of the highlighted preset. Any lines drawn between two breakpoints that are flagged "selective" are coloured green. During playback, only the two associated presets will be used in the interpolation calculation. This enables precise transitions from one preset to another over a specified time period. The user can decide whether transitions are selective or not, which makes it easy to switch between one-dimensional and multi dimensional preset interpolation. 5.7. Pattr Integration int.lib reports all preset, plugin and layout data to Max's pattrstorage object, which allows multiple setups to be stored and recalled using xml. 5.8. Input Finally it is worth noting that the interpolation positions of different layers may be controlled by sending messages to the intjit object. This means that int.lib can be driven by any 2D input controller (not just the mouse). The system can be used as a rapidly configurable two-to-many mapping layer for gestural interfaces. 273
Page 00000274 6. CONCLUSION AND FUTURE WORK int.lib has been released  under the GNU LGPL and has received a positive response from users. The library is robust, easy to use, and provides Max users with a powerful performance controller, sound design and composition tool. Areas of interest for future versions include improved integration and compatibility with the pattr family of objects and interface speed improvements. 7. ACKNOWLEDGEMENTS The author would like to thank Daniel Terruggi, Frangois Donato, Phillipe Dao and Emmanuel Favreau at INA-GRM, Martin Robinson at Middlesex University Sonic Arts Department, Kia Ng and everyone at ICSRiM. 8. REFERENCES  Allouis, J-F. and Bernier, J-Y. "The SYTER project: Sound processor design and software overview" Proceedings of the International Computer Music Conference, Venice, Italy 1982.  Bencina, R. "The Metasurface - Applying Natural Neighbor Interpolation to Two to Many Mapping". Proceedings of the International Conference on New Interfaces for Musical Expression, Vancouver, Canada, 2005.  Momeni, A. and Wessel, D. "Characterizing and Controlling Musical Material Intuitively with Geometric Models". Proceedings of the International Conference on New Interfaces for Musical Expression, Montreal, Canada, 2003.  Spain, M. Polfreman, R. "Interpolator: a twodimensional graphical interpolation system for the simultaneous control of digital signal processing parameters". Organised Sound Vol. 6, no.2 pages 147-152. 2001  Favreau, F. GRM Tools. http://www.grmtools.org  Lef6vre, A. VECT library. http://www.adlef.com/  DeTar, C. Colorblobs library. http://theendmusic.org/  Place, T. Tap Tools library. http://www.electro-tap.com  Larkin, 0. int.lib library. http://www.olilarkin.co.uk 274