Function to generate signal data given a freq, amplitude, and osc type #### Input: freq - int between 20 - 20K amplitude - float between 0-1 type - string ['sinusoid', 'square', 'triangle', etc...] duration - float #### Output: resulting signal