MC Gen Operators

Two Gen operators are useful with mc.gen~ and mc.gen:

  • mc_channel reports the current channel of the Gen patcher within mc.gen~ or mc.gen (starting at 1).

  • mc_channelcount reports the total number of channels (Gen instances) within mc.gen~ or mc.gen.

These Gen operators make it possible to do voice-specific calculations. You can also connect them to the Gen out operator to provide voice-specific identification signals or events outside the Gen context.

When used in a patcher inside gen~, mcs.gen~, or gen (in other words, outside the context of the MC Wrapper), both operators output 1.

This website uses cookies
Clicking "Accept" means you consent to your data being processed and you'll let us use cookies and other technologies to process your personal information to personalize and enhance your experience. Click "Close" to deny consent and continue with technically required cookies that are essential for the website to function.