- #1
- 5
- 0
For my signals and system class were creating music. I am given a structure with three variables, frequency/notes, duration, and pulse. ex: frequency(in note numbers which i then convert to frequencies)[44 45 47 50...].
duration[2 1 1 3 4...] with pulse duration being .25s and pulse[1 3 4 5 8 13...]. So basically I am having a hard time with what I am supposed to be doing with pulse. Doesn't duration with the given .25s already basically give me my pulses? The assignment states to incorporate pulse into my function to account for quiet periods which i guess is represented by 12(in the above example) because 8+4=12 and the next pulse starts at 13 in my pulse vector. I really have no clue how I am supposed to account for it. Hope this is stated this clear enough, let me know if I need to add more information.-thanks for any help.
duration[2 1 1 3 4...] with pulse duration being .25s and pulse[1 3 4 5 8 13...]. So basically I am having a hard time with what I am supposed to be doing with pulse. Doesn't duration with the given .25s already basically give me my pulses? The assignment states to incorporate pulse into my function to account for quiet periods which i guess is represented by 12(in the above example) because 8+4=12 and the next pulse starts at 13 in my pulse vector. I really have no clue how I am supposed to account for it. Hope this is stated this clear enough, let me know if I need to add more information.-thanks for any help.