This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
// A simple 8-band EQ. The filters are all first order so there is | |
// lot of overlap in adjacent bands. Never the less this should be | |
// a solid way to shape the tone of an audio signal. | |
// Aiming to eventually put this in OBS, which IMHO needs one. | |
// This is a Work In Progress. | |
// | |
// We will use a set of 7 filters to split a signal s into 8 bands | |
// |<----------------------------- s ----------------------------->| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' Compatibility computed from scores of 5 love languages ''' | |
# the web quiz uses percentages | |
# https://www.5lovelanguages.com/quizzes/love-language | |
# scores for person 1 | |
p1 = [ 10, 9, 6, 5, 0 ] | |
# scores for person 2 (must be in the same order) | |
p2 = [ 3, 4, 9, 9, 5 ] |