Artigo Acesso aberto Revisado por pares

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

2017; Multidisciplinary Digital Publishing Institute; Volume: 7; Issue: 10 Linguagem: Inglês

10.3390/app7100970

ISSN

2076-3417

Autores

Victor Lazzarini,

Tópico(s)

Digital Humanities and Scholarship

Resumo

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.

Referência(s)