Hey guys,
I'm sorry to report that there is a 'fly in the ointment'. I completed the PCE (Pitch Control Engine) and the Demo Control Script for it and I had started on cleaning up my flow charts and preparing the documentation package in preparation to releasing it but now I'm not so sure that I should!![]()
Now that I have a 'front-end' control program for the PCE, and I'm finally able to exercise it more thoroughly with various instrument patches, the results are not so hot! I had done most of my initial testing with a trombone patch and it still sounds good, but some other instruments aren't faring so well. Some instruments exhibit pronounced artifacts during medium to fast glissandos.
I'm looking into this now but the problem may be related to known issues with the KSP change_vol() function. I initially had trouble getting this function to work. In fact, I had to abandon using the change_vol(x,y,0) form (which is the one I really wanted to use) and use instead the change_vol( x,y,1) form in order to 'work-around' an intervening wait() problem. NI has disclosed that there are yet other problems with the change_vol() function which includes things like 'pops and cracks'. And since the PCE uses the change_vol() function to (ahem) 'smoothly' produce an equal-power crossfade, 'pops and cracks' could well explain the artifacts that I'm hearing.
On the other hand, the PCE script is kind of tricky and it's very possible that there still is some problem with the design or with my coding. So, I'm going over it now with a 'fine-tooth comb' but so far I haven't found anything wrong. Since I have already invested a lot of time on this, I hate to just abandon it but, since it's quite possible that the fault lies with NI, I don't want to burn too much more time on this.
So, if I can't nail something soon, I may decide to just wait for the next K2 release before fighting this anymore. If so, I think I'll just complete the documentation package as if everything is cool (which it might be after NI fixes the change_vol() function), and set everything aside and wait for NI's next move. I'll report back again in a few days when I will hopefully have a better handle on the situation.
Sorry for the bad news!
Bob


Reply With Quote
.

Bookmarks