Applied Sciences (Sep 2017)

Supporting an Object-Oriented Approach to Unit Generator Development: The Csound Plugin Opcode Framework

  • Victor Lazzarini

DOI
https://doi.org/10.3390/app7100970
Journal volume & issue
Vol. 7, no. 10
p. 970

Abstract

Read online

This article presents a new framework for unit generator development for Csound, supporting a full object-oriented programming approach. It introduces the concept of unit generators and opcodes, and its centrality with regards to music programming languages in general, and Csound in specific. The layout of an opcode from the perspective of the Csound C-language API is presented, with some outline code examples. This is followed by a discussion which places the unit generator within the object-oriented paradigm and the motivation for a full C++ programming support, which is provided by the Csound Plugin Opcode Framework (CPOF). The design of CPOF is then explored in detail, supported by several opcode examples. The article concludes by discussing two key applications of object-orientation and their respective instances in the Csound code base.

Keywords