Programming via Gen~ Codebox In Max

Membership plan: Going Deeper | Topics: Sound Design

Course overview

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

Who is this course for?

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

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


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

Course schedule

Meet your instructor

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.

Notify of

Inline Feedbacks
View all comments

Would love your thoughts, please comment.x