Siren: Interface for Pattern Languages

Siren: Interface for Pattern Languages

Siren: Interface for Pattern Languages Mert Toka Can Ince Mehmet Aydın Bayta¸s Media Arts and Technology, Creative Coding Lab, Koç University UC Santa Barbara University of Huddersfield Istanbul, Turkey Santa Barbara, CA, USA Huddersfield, UK [email protected] [email protected] [email protected] ABSTRACT to trackers and live-coding [7, 20, 19]. While trackers af- This paper introduces Siren, a hybrid system for algorithmic ford virtuosity, most are geared towards composition rather composition and live-coding performances. Its hierarchical than being effective tools for improvisation and performance structure allows small modifications to propagate and ag- out-of-the-box, due to limited integration of synthesis capa- gregate on lower levels for dramatic changes in the musical bilities. On the other hand, live-coding can be a powerful output. It uses functional programming language TidalCy- paradigm for performances, but setting up the toolchains cles [13, 14] as the core pattern creation environment due required for live-coding and learning the intricacies of pro- to its inherent ability to create complex pattern relations gramming languages can be inconvenient for many musi- with minimal syntax. Borrowing the best from TidalCycles, cians. Siren augments the pattern creation process by introducing We introduce Siren, a performance and composition en- various interface level features: a multi-channel sequencer, vironment that marries a tracker-inspired user interface de- local and global parameters, mathematical expressions, and sign with a hierarchical structuring of textual code blocks pattern history. It presents new opportunities for record- for defining musical patterns (Fig. 1). As such, it represents ing, refining, and reusing the playback information with the a hybrid approach to musical composition based on a fusion pattern roll component. Subsequently, the paper concludes of the tracker paradigm and a purely textual, programming- with a preliminary evaluation of Siren in the context of user oriented notation. This approach lowers the barriers to en- interface design principles [18], which originates from the try for live-coding while enabling for a more intuitive visual cognitive dimensions framework for musical notation design representation of compositions. [6, 20]. The design of the system is informed by previous works in the fields of programming and music. In this paper, we first review these strands of research that provide the back- Author Keywords ground for our work and situate it in the context of research Siren, hierarchical structure, algorithmic composition, pat- on interfaces for musical expression. Thereafter we describe tern programming, interface design, live-coding, pattern vi- the details of Siren's design and implementation, and con- sualization clude with a discussion on how we have utilized Siren as a powerful engine for live performance and composition. CCS Concepts Siren is available online as a free and open-source soft- ware1 published under the GNU General Public License •Applied computing ! Sound and music computing; v3.02, and accepts contributions . Media arts; •Human-centered computing ! Informa- tion visualization; 2. BACKGROUND RESEARCH 1. INTRODUCTION The underlying concepts and user interface design in Siren For musicians who compose and/or perform with a personal have been influenced by previous works. This includes re- computer as their main instrument, a number of different search in the psychology of interaction with notations from user interface paradigms are available. The digital audio the perspective of programming and music, and previously workstation (DAW) with a graphical user interface (GUI) developed musical creation software and practices surround- that is designed to be accessible and intuitive is arguably ing their use. the most popular among these paradigms. However, with DAWs designed for accessibility, workflows for composing 2.1 Notation and User Interface Design music rely extensively on navigating graphical user inter- One approach in previous research that guides the design face elements, and live performances are often predicated of information artifacts|in particular, software for interact- on extensive preparation. As such, computer musicians who ing with musical and algorithmic notation|is predicated on desire to emphasize aspects of liveness [22], flow [17], and breaking down different aspects of the user experience into virtuosity in both composition and performance often turn various cognitive dimensions. Based on notions introduced by Green and Petre [9] for investigating the experience of interacting with programming languages, researchers have developed a framework of cognitive dimensions to evaluate and guide the design of music notation systems and musical user interfaces [5, 6, 18, 20]. This framework also serves Licensed under a Creative Commons Attribution as the basis for design heuristics for supporting virtuosity 4.0 International License (CC BY 4.0). Copyright 1 remains with the author(s). https://github.com/inceio/Siren 2 NIME’18, June 3-6, 2018, Blacksburg, Virginia, USA. https://www.gnu.org/licenses/gpl-3.0.en.html 53 Figure 1: One possible layout of the interface { (top-left) the list of scenes; (middle) the multi-channel sequencer; (top-right) pattern dictionary; (middle-left) pattern history per channel; (bottom-left) pattern roll; (bottom-right) the text-based compiler and flow states in musical user interfaces, and distilled into An early example of networked computer music platforms a set of questions that apply to such designs [21]. These is SuperCollider (1996), an environment for audio synthesis approaches have been used to comparatively investigate a and algorithmic composition that relies on the Open Sound wide variety of notations and and interactive systems for Control (OSC) protocol. More recently, Conductive [2], of- musical creation, including traditional paper scores, graph- fered a higher-level abstraction that uses density look-ups ical audio synthesis programming (Max or PureData), and for the pattern programming [3]. As an interactive pro- DAWs. The scope and space in this paper does not allow gramming environment for live-coding, Foxdot [12] provides for a comprehensive discussion of this body of research and a fast and user-friendly abstraction to SuperCollider. Fi- how it is manifest in specific features in Siren, but a few of nally, TidalCycles [13, 14] introduced an embedded Domain the most prominent aspects are unpacked in Section 4. Specific Language (eDSL) for composing patterns as higher order structures with a highly economical syntax. Most of 2.2 Trackers these languages allow using the interpreter for the Glasgow The tracker user interface depicts notation as rows of dis- Haskell compiler (GHCi) to trigger a synth by communicat- crete musical events positioned in columnar channels. Each ing with SuperCollider via the OSC protocol [15]. cell in a channel can hold a note, parameter change, an effect Siren utilizes TidalCycles as its main pattern program- toggle and other commands. Different patterns or loops can ming structure, and constructs a strategically designed user- have independent timelines, which can be organized into a interface around it. Main concepts regarding the software sequential master-list to form a complete composition. The and interface design emerge from pragmatic reasons such tracker paradigm has been found in the aforementioned lit- as keeping past playback data, parameterization, and ab- erature to be a highly effective digital instrument that sup- stractions. We created a back-end structure for patterns to ports virtuosity, liveness, and flow states while composing. achieve a fusion between the affordances of TidalCycles and The earliest implementations of the tracker concept were SuperCollider, while allowing both to be used as the main released for the AmigaOS platform in the late 80s and early pattern language in Siren. 90s, in applications such as Ultimate Soundtracker (1987) [8], NoiseTracker (1989) and Protracker3 (1990). (A com- prehensive history of tracker software can be found online, courtesy of the Tracker History Graphing Project4. 3. PATTERN CREATION AND SEQUENC- ING WITH SIREN 2.3 Live-coding Siren is based on a hierarchical structure of data, and a tracker-inspired user interface, initially intending to build 3https://sourceforge.net/projects/protracker on the concepts and technology of TidalCycles. The main 4http://helllabs.org/tracker-history/ idea is to support a hybrid interaction paradigm where the 54 musical building blocks of patterns are encoded in a textual programming language, while the arranging and dispatching of patterns is done via a grid-based user interface inspired by musical trackers [19]. Here, the concept of a pattern is borrowed from the TidalCycles' pattern language. It offers means to represent encoding of musical patterns, a library of pattern generators and combinators, a scheduling system for dispatching events. By augmenting the patterns, Siren uses pattern functions that are stored in a pattern dictionary. These pattern functions can be called from the cells of the tracker grid along with their optional parameters. The creation of a pattern introduces a rhythmic element or a cycle. Sequencing the code allows the user to break out of linearity by modifying the cycle with different vari- ables and transitions while allowing events remain coher- Figure 2: A comparison of example patterns and ent in their single and linear timeline. We implemented their

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 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