"**Question**: Design a metric that account for sensitivity. For example, this metric could quantify the amount of variation, averaged over features. Use it to quantify the sensitivity of the 2 representations with respect to the 2 tones. Is "
"**Question**: Design a metric that account for sensitivity. For example, this metric could quantify the amount of variation, averaged over features. Use it to quantify the sensitivity of the 2 representations with respect to the 2 tones. Are the number is line with what is expected ?"
**Question:** implement a function *synth_increasing_brightness* that generate an audio of a given f0, duration, and number of partials, such that the number of partials of the tone increases linearly with time. The spectral representation should like like this:
```
-
--
---
----
-----
------
-------
---------
```
Hint: The function *planck_taper* can be used in order to gradually increase the amplitude of each incoming partials.
**Question**: Design a metric that account for sensitivity. For example, this metric could quantify the amount of variation, averaged over features. Use it to quantify the sensitivity of the 2 representations with respect to the 2 tones. Is
**Question**: Design a metric that account for sensitivity. For example, this metric could quantify the amount of variation, averaged over features. Use it to quantify the sensitivity of the 2 representations with respect to the 2 tones. Are the number is line with what is expected ?
%% Cell type:code id:aaf9d492 tags:
``` python
def sensitivity_metric(Y):
# answer here
####
return np.mean(np.abs(np.diff(Y, axis=1)))
####
# set width of bars
barWidth = 0.25
# set heights of bars
Sm = [sensitivity_metric(Ym[0]), sensitivity_metric(Ym[1])]