Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

As music is composed by people with great talent, it doesn't seem reasonable to expect to use mathematical tools and techniques to explore music, and to potentially even create music. However, there is in fact a field called Algorithmic Music Composition, that tries to do exactly that.

For this purpose, a useful music file format is the midi format, which contains information on which notes should be played at what times. Of course, it handles chords and allows multiple tracks to be overlaid. GarageBand, or similar software, takes a midi file and gives a clear visual depiction of this, as well as playing the music. Note that midi files denote each note by an integer from 0 to 127, known as the midi key.

At its simplest, and we shall be making lots of simplifying assumptions, a piece of music consists of a sequence of notes (12 semi-tones per octave) and the length of time that each note should be played. We are ignoring chords and assuming there is just a melody, as we shall throughout this project. We shall also ignore rhythm completely and consider only the sequence of notes plsyed, not the timing.

Therefore, if we consider the set of possible notes as the state space, then a piece of music can be thought of as the realisation of a stochastic process; in this case a discrete-time process. Given how a midi file denotes a note, our state space would naturally be the set of midi keys, S = {0, 1, 2, ... , 127}. So each new note can be considered to be randomly chosen from S. How the new note is chosen depends on the type of stochastic process. In this project, we shall explore a few different stochastic processes, with increasing complexity.

In your stochastic process model, let X,, E S,n = 1, 2, ... be the midi key of then'" note to be played. For your particular piece of music answer the following questions, giving appropriate explanations (give any numerical answers to 4 decimal places).

2) Assume that each new midi key is chosen randomly, depending only on the current midi key, and independently of all previous mid keys.

(a) Argue that this stochastic process is Markovian.

(b) Use the piece of music you were given to determine the proportion of times that the midi key j immediately follows the midi key i, for all i,j E S. What did you do with the last midi-key in your piece of music? Think of two ways you could treat this key, and discuss the fundamental consequences of both choices.

(c) Use this to construct a P-matrix representation for the evolution of your piece of music, including all states i E S.

(i) Are there any zero columns, and if so, explain why and say how many? What do the associated rows look like? Do you have any choice in this?

(ii) Ignoring any states associated with zero columns, classify the character of all remain¬ing states.

(d) What are the probabilities P(X, = 60IX0 = i) for i e {49, 50, , 72}?

(e) What are the probabilities P(X,o = 601X5 = i) for i E {49, 50,..., 72}?

(f) Write down the equations that determine the expected time until the first Middle-C (midi key 60) is played, given that you start your music with mis key i E S .

(g) Solve these equations for all i e S.

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91789254

Have any Question?


Related Questions in Statistics and Probability

Most analysts focus on the cost of tuition as the way to

Most analysts focus on the cost of tuition as the way to measure the cost of a college education. But incidentals, such as textbook costs, are rarely considered. A researcher at Drummand University wishes to estimate the ...

Calculate cash inflow or outflow from operating activities

Calculate cash inflow or outflow from operating activities given the following information: Net loss - $12,000; depreciation expense $3,000; increase in AR $1,250; decrease in inventory $900; increase in AP $760.

Suppose you want to estimate the proportion of traditional

Suppose you want to estimate the proportion of traditional college on your campus who own their own car. Based on some research on other campuses, you believe the proportion will be near 25%. What sample size is needed i ...

Your client wants to buy a business that provides financial

Your client wants to buy a business that provides financial advice to local small businesses. The firm generated $650,000 in cash flows during the previous year, and the discount rate to value firms in this sector is 11% ...

1 define organizational communication2 what interesting

1. Define organizational communication 2. What interesting about the subject of organizational communication

According to an article in the american heart associations

According to an article in the American Heart Association's publication Circulation, 24% of patients who had been hospitalized for an acute myocardial infarction, did not fill their cardiac medication by the seventh day ...

A blaster rifle manufacturing facility on naboo has 6500

A blaster rifle manufacturing facility on Naboo has 6,500 employees. The employees were asked whether they preferred a four-day work week (10 hours per day), a five- day work week (8 hours per day), or flexible hours. Yo ...

Thirty percent of the managers in a certain company have

Thirty percent of the managers in a certain company have MBA degrees as well as professional training. Eighty percent of all managers in the firm have professional training. If a manager is randomly chosen and found to h ...

A light bulb manufacturer guarantees that the mean life of

A light bulb manufacturer guarantees that the mean life of a certain type of light bulb is at least 720 hours. A random sample of 51 light bulbs as a mean of 710.3 hours with a standard deviation of 62 hours. At an α=0.0 ...

A sample of 184 randomly selected students found that the

A sample of 184 randomly selected students, found that the proportion of students planning to travel home for Thanksgiving is 0.69. What is the standard deviation of the sampling deviation?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As