학술논문

Graphical User Interfaces
Document Type
Chapter
Author
Source
SuperCollider for the Creative Musician : A Practical Guide, 2024.
Subject
GUI
Graphical User Interface
Control
Window
Slider
Button
Knob
Pen
Drawing
Animation
Applied Music
Popular Music
Language
English
Abstract
Despite being a code-centric platform, SuperCollider includes a rich collection of cross-platform tools for designing graphical user interfaces (GUIs), which can be used to enhance and clarify the workflow of a program, emulate an existing piece of hardware or software, or conceal aspects of a program meant to remain hidden from the user. This chapter conveys the essential classes and techniques relevant to GUI design and aims to enhance fluency with GUI-based workflow. The chapter begins with techniques for creating graphical windows and placing types of views on the window's canvas, such as sliders, buttons, and knobs. GUI layout tools are also discussed, which help avoid problems related to space allocation and dynamic resizing, circumventing situations that devolve into “pixel-hunting.” Additional topics include getting/setting view attributes, color expression, values and actions, range-mapping with the ControlSpec class, keyboard/mouse interaction, and controlling GUIs with MIDI/OSC data. The chapter concludes with an introduction to the Pen class, which enables the creation of custom graphics and simple animations.

Online Access