changing the colour of the uiwaveform

For topics related to using MsPinky inside the Max/MSP graphical programming environment
marc
Posts: 13
Joined: Mon Dec 27, 2010 2:27 pm

changing the colour of the uiwaveform

Postby marc » Tue May 24, 2011 6:13 pm

how do you change the colour of the uiwaveform? i love the green on black background but wanna try a few different colour combinations!! anybody know ? cheers
dlpinkstah
Site Admin
Posts: 1093
Joined: Mon Jun 07, 2004 9:17 pm

Postby dlpinkstah » Tue May 24, 2011 6:31 pm

Send message "set_background_color R G B" and "set_waveform_color R G B" to change the background color and the color of the waveform image. R, G, and B values are floating point values between 0.0 and 1.0 representing the red, green, and blue components. An easy way to set the colors is using swatch objects. Just take the output from swatch and attach a "prepend set_waveform_color" and feed that output into uiwaveform.
marc
Posts: 13
Joined: Mon Dec 27, 2010 2:27 pm

Postby marc » Tue May 24, 2011 6:33 pm

awesome thanks alot!

Return to “The Max/MSP + MsPinky = LUV Forum”

Who is online

Users browsing this forum: No registered users and 1 guest