Now that we have our working waveguide, we need something to excite it. This is done with the help of a bow table. While the linear bow table would be simple to implement, we would need to know the capture or break-away differential velocity value \(v_\Delta^c\) and also how this value responds to varying force values. I could not find a simple way to find these values but luckily, the STK library has a bow table that we can reuse.
Let’s take a look at the bow table as defined in the stk:
Where \(v_\Delta^+\) is the velocity of the bow minus the velocity of the string going into the bow and \(Slope\) is the parameter that controls the shape of the table and is related to the bow force. While the equation may seem daunting at first, we can easily plot it and immediately recognize a shape similar to the linear bow table as presented by figure 9.54 in Physical Audio Signal Processing by Julius O. Smith.
We can now observe how varying the force transforms the bow table.
Code
v_delta = np.linspace(-1, 1, 100)plt.figure(2)for f in [1, 2.5, 5]: output = np.minimum(pow(abs(v_delta) * f +0.75, -4), 1) plt.plot(v_delta, output, label=f'force={f}')plt.legend()plt.xlabel('$v_\\Delta^+$')plt.ylabel('Reflection Coefficient')plt.grid()
As \(Slope\) goes up, the region of the table where the reflection coefficient is 1 gets smaller. This plateau represents the moment where the bow and the string are “sticking” together.
We now need to find what is the usable range for \(Slope\). Looking at the STK again, we can see where the slope is set:
Where normalizedValue is a value between 0 and 1 representing the bow pressure. This effectively restricts the slope value between 1 and 5. In other words, as the bow pressure increases, the ‘sticking’ zone of the bow table gets larger. We can plot the bow table equation again, but this time with varying force values between 0 and 10 to understand why.
Looking at the graph, we can immediately see that once the slope gets higher than 5, the reflection coefficient returned by the table stays consistent and there’s limited value for a bow table to support a slope value higher than 5. On the other hand, with a slope value \(<1\), the table becomes almost flat.