First time here? Check out the FAQ!
x

InputOutputCharacteristic: Ignore Spline Interpolation on subsequent 1s at the end

0 votes
170 views
Hi there,

When I use this array for example

-1.0 -0.5 0.0 0.5 1.0 1 1 1

on both the InValues and the OutValues and Smoothing gets greater than 0.5 I get square wave kind of shapes. I guess that's because the spline interpolation doesn't know what to do with the subsequent 1s. I create my arrays algorithmically and don't see a way to automatically shorten them to the first 1 while the Sound is playing. Why isn't the InputOutputCharacteristic ignoring equal subsequent values? Is there a way to change the size of the array while the Sound is playing?

Thanks!
asked Jan 11, 2016 in Using Kyma by kymaguy (Virtuoso) (10,580 points)

2 Answers

0 votes
Try setting your output values to half of what the input values are (you can subsequently scale the signal back up).  Spline interpolation can go outside the range of -1,1.  Suspect that is the source of your "square-wave-like" waveforms — it is clipping.
answered Jan 11, 2016 by ssc (Savant) (120,590 points)
I tried
-0.5 0.0 0.5 0.5 0.5
and have the same problem. the square-wave-like waveform doesn't reach -1,1. I'm using the "InputOutputCharacteristic Timbre Waveshaper" prototype BTW
0 votes

Not sure this is related, but I cannot manage to have InputOutputCharacteristic output a zero end of ramp. I will always get a one sample 1 value when the ramp drops.

answered Jan 12, 2016 by malcolm-braff (Practitioner) (770 points)
...