Programming via Gen~ Codebox In Max

Taught by: Massimiliano Cerioni

In this workshop you will learn how to program audio patches within Codebox in Gen~ via Max. Codebox expands the options of working in Gen~ allowing for procedural operations not easily achievable via graphical patching. You will use Codebox to provide programming functionality to your Gen~ audio patches. This workshop aims to enhance your skills in developing creative audio patches via text based coding techniques in Gen~ via the Max environment. Experience with Gen~ is required (i.e. previously completing the Getting Confident With Gen~ course) and familiarity with basic text-based programming techniques (i.e. basic Python etc.).


What you'll learn

  • Workshop 1: Identify the differences between the Codebox Operator & the GenExpr object
  • Workshop 1: Configure I/O, parameters and variables in Codebox
  • Workshop 1: Build abstractions and execute functions in Codebox
  • Workshop 1: Creatively explore using Codebox in Gen~ patches
  • Workshop 2: Construct conditional statements in Codebox
  • Workshop 2: Build programing loops in Codebox
  • Workshop 2: Utilize buffers, data and the history operator in Codebox
  • Workshop 2: Continue to creatively explore using Codebox in Gen~ patches

Course content

  • Codebox Patches Day 1
  • Codebox 1. Patch 1: Objects, Code Tab, Codebox
  • Codebox 2. Patch 1b: Assignments
  • Codebox 3. Patch 2: The History Operator
  • Codebox 4. Patch 2b: The Delay Operator
  • Codebox 5. Patch 2c: Assignment LFO
  • Codebox 6. Patch 3: Conditional Statements
  • Codebox 7. Patch 4: Functions
  • Codebox 8. Patch 5: Functions and Conditional Statements
  • Codebox 9. Patch 5b: Square LFO Assignment
  • Codebox Patches Day 2
  • Codebox 10. Patch 6: Abstractions, Libraries
  • Codebox 11. Patch 7: Counter, Buffer, Data
  • Codebox 12. Patch 8: 'for' and 'while' loop
  • Codebox 13. Patch 8b: Final Assignment
Membership plan: Going Deeper | Topics: Sound Design ...

Access this course and 100s more for

From: £35 / month with a 7-day free trial


Buy this course and own it forever


  • Computer and internet connection
  • Access to a copy of Max 8 (i.e. trial or full license)

Who is this course for

  • Sound designers looking to explore code box programming in Gen~
  • Creative technologists looking to expand their skills in coding

Useful links

About the workshop leader

Massimiliano Cerioni is a Berlin & Rome based AV composer, performer, sound designer and engineer. He is the founder of the independent audio software project Culto, which has released its first M4L device Simbiosi in 2021. He uses coding, augmented instruments and electronics to create compositions, performances and installations.