Please help with loading comps with OSC

balam's picture

Hi I am making a patch that can change ( load ) a compositon when a osc message is recieve for example osc message /a1 will load comp xxyy.qtz message /b1 will load comp sdw.qtz

been looking all over the net for clues.

thank you. in advance.

PreviewAttachmentSize
alp-1.qtz29.17 KB

dust's picture
Re: Please help with loading comps with OSC

im not sure the type of data your sending. here is a patch that cycles and holds indexes for a multiplexor via simple java script. it is using the keyboard keys 0-7 to load 0-7 comps. just replace the keyboard with your osc.

PreviewAttachmentSize
alp-1 copy.qtz64.3 KB

balam's picture
Re: Please help with loading comps with OSC

thank You guys I wanted to figure this out by myself. before recheking the forum.

I think I have it working.

I have max patch that generates osc messgs as plain numbers ( 2 , 8 ,6 )

then qc gets the numbers and changes the comp according to the number.

feel free to improve this patch.

thanks.

PreviewAttachmentSize
wohooworks.qtz9.53 KB