![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: struggling with CapyTalk |
Pieter Member |
![]() ![]() ![]() 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... IP: Logged |
Luddy Member |
![]() ![]() ![]() 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 |
![]() ![]() ![]() 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: [This message has been edited by SSC (edited 02 February 2008).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.