Skip to content

Commit

Permalink
better console log for pd < 0.54
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-wes committed May 24, 2024
1 parent 46a664a commit 73596f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simplex~.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ static void *simplex_tilde_new(t_symbol *s, int ac, t_atom *av) {
x->coordinate_vector = (t_sample **)getbytes(MAX_DIMENSIONS * sizeof(t_sample *));
if (!g_signal_setmultiout && !x->dimensions) {
x->dimensions = 1;
pd_error(x, "[simplex~]: multichannel input/output requires at least Pd 0.54. This seems to be Pd %i.%i-%i. Use '-dim' argument to set dimension count (defaulting to 1).", maj, min, bug);
pd_error(x, "[simplex~]: no multichannel support in Pd %i.%i-%i", maj, min, bug);
post("[simplex~]: Use '-dim' argument to set dimension count (default: 1).");
}
if (!x->multichannel) { // add inlets for non-multichannel mode
for (int i=0; i < x->dimensions-1; i++)
Expand Down

0 comments on commit 73596f2

Please sign in to comment.