Calculates the dissonance function for two sine waves
Usage
sine_dissonance(freq1, freq2, loud1, loud2)
Arguments
- freq1
frequency in Hertz of the first sine wave
- freq2
frequency in Hertz of the second sine wave
- loud1
loudness of the first sine wave
- loud2
loudness of the second sine wave
Value
the dissonance value
Details
This algorithm comes from Appendix E of
sethares2013tuningconsonaR