Sign Up

Have an account? Sign In Now

Sign In

Captcha Click on image to update the captcha.

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the question so it can be answered easily.
Please choose the appropriate section so the question can be searched easily.

Please choose suitable Keywords Ex: question, poll.

Type the description thoroughly and in details.

Captcha Click on image to update the captcha.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

electricalstudent
Sign InSign Up

electricalstudent

Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Contact Us
Home/ Questions/Q 26371
Next
Anonymous
Anonymous
Asked: September 21, 20222022-09-21T15:19:44+00:00 2022-09-21T15:19:44+00:00In: analog and digital communication systems

9. Music Synthesis: We will use MATLAB to create a playable .wav file of the musical notes. For the two parts below create a half second cosine signal for each quarter note (qC, qD, qE) and then concatenate each note into a single array, x =[qC qD qE…]. Use a Δt equal to 1/fs where fs = 48000 for the time resolution. Make each quarter note last 0.5 seconds and each eighth note last 0.25 seconds . Use sound(x,fs) to hear your array and audiowrite(filename,x,fs) to save your music to a .wav file that you will submit. a) Make a .wav file for the C major scale shown below. The scale consists of the following notes from C4 (262 Hz) to C5 (523 Hz). The table shows the specific frequency of each note. Hint: use the CMajorScale_StarterCode.m posted on CANVAS as a starting point. b) Now we will synthesize some more interesting music. The notes below are the opening of a musical piece by Mozart. The piece has quarter notes (0.5 seconds) and eighth notes (0.25 seconds) and also quarter and eight rests. A rest is where there is no sound you should have a zero amplitude cosine. See the table below for clarification. The best way to do this is to create arrays for the needed notes and rests and then put them together. Submit your .wav file and code.

9. Music Synthesis: We will use MATLAB to create a playable .wav file of the musical notes. For the two parts below create a half second cosine signal for each quarter note (qC, qD, qE) and then concatenate each note into a single array, x =[qC qD qE…]. Use a Δt equal to 1/fs where fs = 48000 for the time resolution. Make each quarter note last 0.5 seconds and each eighth note last 0.25 seconds . Use sound(x,fs) to hear your array and audiowrite(filename,x,fs) to save your music to a .wav file that you will submit. a) Make a .wav file for the C major scale shown below. The scale consists of the following notes from C4 (262 Hz) to C5 (523 Hz). The table shows the specific frequency of each note. Hint: use the CMajorScale_StarterCode.m posted on CANVAS as a starting point. b) Now we will synthesize some more interesting music. The notes below are the opening of a musical piece by Mozart. The piece has quarter notes (0.5 seconds) and eighth notes (0.25 seconds) and also quarter and eight rests. A rest is where there is no sound you should have a zero amplitude cosine. See the table below for clarification. The best way to do this is to create arrays for the needed notes and rests and then put them together. Submit your .wav file and code.9. Music Synthesis: We will use MATLAB to create a playable .wav file of the musical notes. For the two parts below create a half second cosine signal for each quarter note (qC, qD, qE) and then concatenate each note into a single array, x =[qC qD qE…]. Use a Δt equal to 1/fs where fs = 48000 for the time resolution. Make each quarter note last 0.5 seconds and each eighth note last 0.25 seconds . Use sound(x,fs) to hear your array and audiowrite(filename,x,fs) to save your music to a .wav file that you will submit. a) Make a .wav file for the C major scale shown below. The scale consists of the following notes from C4 (262 Hz) to C5 (523 Hz). The table shows the specific frequency of each note. Hint: use the CMajorScale_StarterCode.m posted on CANVAS as a starting point. b) Now we will synthesize some more interesting music. The notes below are the opening of a musical piece by Mozart. The piece has quarter notes (0.5 seconds) and eighth notes (0.25 seconds) and also quarter and eight rests. A rest is where there is no sound you should have a zero amplitude cosine. See the table below for clarification. The best way to do this is to create arrays for the needed notes and rests and then put them together. Submit your .wav file and code.

Share this on:

  • Telegram
  • WhatsApp
  • More

Like this:

Like Loading...
  • 0
  • 0
  • 9
  • 0
  • 0
Answer
Share
  • Facebook
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Recent Posts

    • how to solve any problem on translational mechanical system transfer function
    • Problem 1. An NMOS common-source amplifier circuit shown as the figure, the transistor parameters are: VTN=0.8V, Kn = 1mA/V2, and the channel modulation effect is ignored. The circuit parameters are VDD=5V, Rs=1KΩ, RD= 4KΩ, R1=225KΩ, and R2=175KΩ.
      Find the circuit quiescent values IDQ and VDSQ.
      Drawthesmallsignalequivalentcircuit.
      FindthesmallsignalvoltagegainforRLasanopencircuit. 4. Find the input impedance Rin as indicated in the figure.
      Find the output impedance Rout as indicated in the figure.
    • (50 points) This problem has 14 questions. Consider the lossless transmission line given below. Use the attached Smith Chart to find:(a)(2 points) The magnitude I and phase A of the reflection coefficient.
      (b) (2 points) Determine the Standing Wave Ratio (SWR).(c) find the normalized load admittance y and load admittance (d) find the normalized load impedance Zion and the load impedance Zion (e) what is the distance dmin from the load to first voltage minimum indicate on the smith chart the position of voltage minimum.(f) what is the distance dmax from the load to first voltage maximum indicate on the smith chart the position of voltage maximum (g) (4 points) The total voltage on a transmission line is given by: V (2) = Vat e-iP2 + Vi eiBE
      Using I and dmax from previous questions, find the maximum voltage in terms of Vö
      (h) (4 points) Using I and din from previous questions, find the minimum voltage in terms
      of Vot
    • Quiz 1: BIT Amplifier
      Take |VBE|=0.7V, Vr=25mV, p=99. Compute the DC Bias (only IE).
      Draw the small signal model and find the overall voltage gains (vo/vsig).
    • A LTI system is described by
      y(n] = x(n] +2x|n-1] + x[n-2]
      (a) Decide its system impulse response h(n).
      (b) Is this system stable? give reasoning for your answer.
      (c) Decide its frequency response H(elo).
      (9)
      Let the discrete system is defined by input x[m], output y[n] and system
      function h|n]. Answer to the following:
      (a) Using Convolution, find output y[n] for input x[n] = 8(n] + 28[n-1] +
      8[n-2] and h(n] = U(n]. Also Sketch it using stem plot.
      (4)
      (b) Find y[n] in a closed form for x[n]= U(n] and h[n] = a”U[n]
      (assume n≥0 and a]<1). You may use Z transform.
      (4)
      Find the discrete-time system function H(z) that responds to an input
      sequence {1, 0.6; and an output sequence { 4, 2, 1, 1, 1, 1, 1, 1, 1,-
      (here
      _- means all 1s)
      (9)
      4.
      Solve, by Z-transform, for y[n] in a closed form,
      y(n+2] -y[n] -y[n+1]=0, where y[O]=0 and y[1)=1.
      Use Z[y(n+1)]=zY(z) -zy(0) and
      Z[y(n+2) = z?Y(z)-27y(0) – zy(1)

    Recent Comments

    1. venkyelectrical on Bonus Problem (10 points): In this circuit, the op amp is IDEAL. The op amp is NOT operating in the linear region. In this Circuit, V+=V_. The op amp output saturates at +12v. The output is always at saturation, either positive or negative. The output will “toggle” as Vin crosses a “threshold” voltage. Because of the positive feedback, the threshold voltage changes depending on the state of the output voltage. Find the lower and upper values of the threshold voltages to 5 places of precision.
    2. venkyelectrical on Problem #3 Operational Amplifiers (35 pts): The op amp is IDEAL and operating in the linear region. Find the voltage gain (Av) of the circuit. If Vin = -2, find io.
    3. venkyelectrical on Problem #2 Operational Amplifiers (35 pts): Op amp is ideal and operating in the linear region. Find the node voltages in the table.
    4. venkyelectrical on Problem #I Linear Amplifiers (40 pts) (SHOW ALL WORK) In the Problem, all resistor values are in ohms, voltages are volts and currents are amps. Amp “A” is voltage-to-current, Amps “B” and “C” are current-to-voltage. Use /1 = 0.01(V1), v2 = 100(/2) and V3 = 50(/3). Use Vin shown in the table. Find all the values listed in the table. Hint: Observe that R3, R4 and R5 are m parallel.
    5. venkyelectrical on 3. This problem is on the quantization and encoding. Answer to the following: Assume round-off rule for uniform quantization. We have 10 samples from the analog signal and their quantization error qε are found to be distributed as, qε =[0.33, 0.36, -0.38, 0.22, -0.4, 0.07, 0.4, -0.18, -0.25, 0.38] (a) Decide the suitable value of quantization step size ∆. Give reasoning for your answer (3) (b) We assume that qε are uniformly distributed with its probability density function f ∆ (∆) =1 /∆ for the interval [-∆/2, +∆/2]. Calculate the quantization noise power Pqε for the value of ∆ you found in part (a). (3) (c) Per the quantization noise power you calculated in part (b), calculate the signal power S [Watt] if output Signal to Q-zation noise power ratio SNRo = 30 dB. (3) (d) If we encode the quantizer output with binary code with length ‘n’(integer), decide the minimum code length ‘n’ based on the condition given in part (c) (1)

    Explore

    • About Us
    • Account
    • Badges
    • Blog
    • Blog list
    • Communities
    • Contact Us
    • Default Redirect Page
    • FAQs
    • Home
    • Join Us
      • Registration
    • Login
    • Lost Password
    • Member Login
    • Member Login
      • Password Reset
      • Profile
    • Member LogOut
    • Member TOS Page
    • My Account
    • Public Individual Page
    • Question Sidebar
    • Questions
      • Activities
      • Ask a question
      • Categories
      • Profile
      • Tags
    • Questions Feed
    • Register
    • Subscription Plan
    • Tags
    • Thank You
    • Typography
    • Users
    • Widgets

    Footer

    © 2022 electrical student. All Rights Reserved
    With Love by electricalstudent.com.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.
        %d bloggers like this: