MATLAB Help with MATLAB music code | Signals & Systems

AI Thread Summary
The discussion revolves around a project involving music creation using three key variables: frequency (in note numbers), duration, and pulse. The participant is struggling to understand the role of pulse, particularly since the duration already accounts for time with a specified pulse duration of 0.25 seconds. They are tasked with incorporating pulse to represent quiet periods in the music, which is exemplified by the relationship between pulse values and the duration of notes played. The participant seeks clarification on how to effectively integrate pulse into their function, questioning whether it relates to loudness and how it dissipates, similar to the action of tapping a piano key. Additionally, there is a brief mention of music theory concepts like duple, triple, and quadruple meter, but the focus remains on the practical application of playing frequencies for specified durations without delving deeply into music theory.
physics4353
Messages
5
Reaction score
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.
 
Physics news on Phys.org
Is pulse related to loudness and then it dissipates? Like tapping a piano key?
 
jedishrfu said:
Is pulse related to loudness and then it dissipates? Like tapping a piano key?
The pulses represent the start of a pulse wave. Like at pulse one the duration is 2(2 pulses) and since a pulse is .25s is represents 1second playing my first note 44. Then pulse three starts since two pulses already occurred and it has a duration of 1 or .25s and plays note 45.
 
If this is music theory, is http://wmich.edu/mus-gened/mus170/RockElements.pdf the definition of pulse?
Duple meter = 2 pulses per group: 2/4 time
Triple meter = 3 pulses per group: 3/4 time
Quadruple meter = 4 pulses per group: 4/4 time
 
FactChecker said:
If this is music theory, is http://wmich.edu/mus-gened/mus170/RockElements.pdf the definition of pulse?
Duple meter = 2 pulses per group: 2/4 time
Triple meter = 3 pulses per group: 3/4 time
Quadruple meter = 4 pulses per group: 4/4 time
We're not going into music theory, were basically playing one frequency for a period of time and then playing a different frequency for a different period of time. nothing fancy.
 

Similar threads

Replies
4
Views
4K
Replies
4
Views
1K
Replies
8
Views
2K
Replies
10
Views
3K
Replies
32
Views
4K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
17
Views
4K
Replies
9
Views
5K
Back
Top