Kyma Forum
  Tips & Techniques
  VCS "Option Group" of buttons

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   VCS "Option Group" of buttons
SeanFlannery
Member
posted 14 January 2011 20:23         Edit/Delete Message   Reply w/Quote
Hi All,

I'm developing a synth with a fairly complex VCS layout and would love to create an "option group" of toggles - Like radio buttons in a dialog box

I figure this would have to be done in smalltalk but I haven't got the chops to come up with that.

Any suggestions much appreciated. I'm also going to have a look through previous posts.

Thanks
Sean

IP: Logged

SeanFlannery
Member
posted 14 January 2011 20:29         Edit/Delete Message   Reply w/Quote
Wow, for some reason search seems to be a lot faster than before.

I reckon this is the answer i need
Thanks SSC
http://www.symbolicsound.com/cgi-bin/forumdisplay.cgi?action=displayprivate&number=7&topic=000325

One way to implement this would be to create an Array of the options and then use a fader to select one of them.

In this example, the following expression acts something like a radio button set. !Selection chooses exactly one of the expressions to modulate the pitch of an oscillator:

code:


(!Selection - 1) of: #({1 repeatingFullRamp} {1 repeatingTriangle} {1 s random})

To label the options in the VCS:
1. Unlock the VCS and Double-click Selection
2. From Options menu in VCS Editor, select Set tick marks and labels
3. Distance between markers is 1
4. Select List as the labels and click Edit
5. Enter the labels: fullRamp, triangle, random (one per line)
6. In the VCS editor, set the grid (in MinMaxGrid) to 1
7. And set ShowNbr to No Nbr


IP: Logged

pete
Member
posted 15 January 2011 10:38         Edit/Delete Message   Reply w/Quote

RadioButtons.kym

 
Hi Sean
If you need real buttons you could try the attached.
Pete

IP: Logged

CharlieNorton
Member
posted 15 January 2011 11:43         Edit/Delete Message   Reply w/Quote
Charlie wonders why he starts making sculptures of a funny shaped hill.

IP: Logged

pete
Member
posted 15 January 2011 13:22         Edit/Delete Message   Reply w/Quote
Oh yea
I see what you mean.
It's amazing what comes out when you through in random numbers.

IP: Logged

SeanFlannery
Member
posted 15 January 2011 18:39         Edit/Delete Message   Reply w/Quote
Cool! Thanks Pete, much appreciated

Not having a much coding experience at all prior to Kyma has made for a big learning curve over the last few years but I'm now able to see what's going on in examples like RadioButtons and understand quickly how it works. I reckon I still would have to have been spoon-feed this one unless I came across an example on the tweaky or in the sound library.

As it turns out, the first example of a fader selecting an object in an array is the one I have gone with because it ended up taking a lot less space on the VCS.

I'm looking forward to sharing the project this is used in with everyone soon. It's very much intended as a musical instrument. It has 4 audio oscilators, multiple LFOs, EGs and a modulation matrix - which is what taking most of my time.
Probably really of benefit to relative noobies like me, it incorporates lots of capytalk tricks that solve problems that had me scratching my head but even at this stage of development it can produce some really nice rich and fat sounds.

I hope some of the more experienced here might have a look at it and offer some advice on how to make it better and/or more efficient.

Back to work now

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c