canvas_stop_dsp() odd behavior

Jan 6, 2012 at 5:44am

canvas_stop_dsp() odd behavior

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

#61052
Feb 17, 2012 at 7:25pm

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)!

#219978
Feb 24, 2012 at 2:55pm

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

#219979

You must be logged in to reply to this topic.