Forums > Dev

canvas_stop_dsp() odd behavior

January 6, 2012 | 5:44 am

I can turn off audio from my external using canvas_stop_dsp(), but it turns it off REAL good — for some reason I have to turn the dacs on *twice* after calling this function before the external_dsp() setup function gets called.

What I need to do is turn off the dacs and have the user reinitialize dsp when a certain message is received. canvas_stop_dsp() seemed like it would work, but it requires starting the dacs twice?

also, is there a way to get a listing of messages that can be sent to the dsp object via:

void *dspmess(t_symbol *mess)

?

brad

http://music.columbia.edu/~brad


February 17, 2012 | 7:25 pm

same problem for me too :

– canvas_start_dsp(); turn dsp on (and ezdac~ "foreground Color On" attr is set).

– canvas_stop_dsp(); don’t turn the dsp off (but ezdac~ "foreground Color Off" attr is set)!


February 24, 2012 | 2:55 pm

Hey Brad,

There is a vignette in the Max 6 documentation called "Controlling MSP with Messages" which lists all of the messages that we expose publicly for the dsp object.

Hope this helps!
Tim


Viewing 3 posts - 1 through 3 (of 3 total)