First time here? Check out the FAQ!
x

How can I leave a parameter with an error to look up what it should be?

0 votes
414 views
Apologies, this might be a bit of a feature request masquerading as a question...

 

If I'm editing a parameter and I've got something wrong then the parameter may be in an error state. Eg. "Variable undeclared". If my parameter is in this state I can't leave the sound to go and look up what it should be. Of course I can alt-tab to the PDF viewer if I'm reading the manual but I can't go and look at a similar parameter in another sound.

For instance right now I'm using the FrequencyTracker sound and in its description it talks about multiplying its output by half the sample rate to get a frequency in Hz. I remember it saying something like "SignalProcessor * halfSampleRate hz". So now I'm editing a parameter in a SoundToGlobalController which uses the output of the FrequencyTracker and I put "[FrequencyTracker] L * halfSampleRate hz" and I get a "Variable undeclared" error.  Now I know if I can just go and double-click on the FrequencyTracker sound immediately to the left of my STGC I can see what the expression should be. But kyma won't let me.

Oh wait... Ok so kyma won't let me open another sound within the sound I'm editing. But I can open up another FrequencyTracker from the Prototype window. That's interesting. I've partially answered my own question.

I'll let this question stand though because this happens to me a lot! I'm editing a parameter, it has an error and I'm stuck and can't leave that sound and I usually end up deleting my work so far in the parameter just so I can leave it.
asked May 29, 2017 in Capytalk & Smalltalk by alan-jackson (Virtuoso) (15,840 points)
Another workaround could be to comment out part of the expression.  In your example, you could comment out the part you had just added:
[FrequencyTracker] L "* halfSampleRate hz"
Commenting out! That's so obvious but I hadn't thought of that. That's going to help me a lot.

1 Answer

0 votes

Now I know if I can just go and double-click on the FrequencyTracker sound immediately to the left of my STGC I can see what the expression should be. But Kyma won't let me.

You could, instead, hover the cursor over the FrequencyTracker to see its parameter values in a pop-up (without having to leave the currently-edited parameter field as the current edit-focus).

answered Jun 6, 2017 by ssc (Savant) (127,060 points)
...