Kyma Forum
  Kyma Support
  struggling with CapyTalk

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

next newest topic | next oldest topic
Author Topic:   struggling with CapyTalk
Pieter
Member
posted 01 February 2008 02:20         Edit/Delete Message   Reply w/Quote
As I am still misttrusting my code-analyzing skills I dare to ask a perhaps silly question:
From the WingDrone-prototype, envelope-field of the modulator-osc:

(1 - ((((!BPM / 10) bpm vmax: 0.001 bpm) removeUnits * 0 + 1 repeatingRamp: ((!BPM / 10) bpm vmax: 0.001 bpm)) - 0.5) asLogicValue - ((0.005 s * ((!BPM / 10) bpm vmax: 0.001 bpm) hz - (((!BPM / 10) bpm vmax: 0.001 bpm) removeUnits * 0 + 1 repeatingRamp: ((!BPM / 10) bpm vmax: 0.001 bpm))) asLogicValue * 2)) nextRandom * !Index smooth: (600.0 / !BPM) s

my question: isn't the part '((!BPM / 10) bpm vmax: 0.001 bpm) removeUnits * 0 )' always zero or am I misunderstanding still something?

Thanks for answering all my newbie-questions since years...
Pieter

IP: Logged

Luddy
Member
posted 01 February 2008 04:38         Edit/Delete Message   Reply w/Quote
It's always zero. Dunno why it's written that way in this case, but I find myself putting things like that in my code when there is a subexpression that I sometimes want active, and sometimes want turned off. By deleting the "* 0", you can turn it on. Kind of like commenting-out a subexpression.
-Luddy

IP: Logged

SSC
Administrator
posted 01 February 2008 11:18         Edit/Delete Message   Reply w/Quote
Thanks Luddy & Pieter!

I've simplified the expression for the next software update (now available for download from tweaky). This should function equivalently (and make a little more sense):

code:

((1 bpm: !BPM / 10) nextRandom * !Index) smooth: (600.0/!BPM) s

[This message has been edited by SSC (edited 02 February 2008).]

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