Question

Popular music consists of various sections, which include intro, verse, chorus, and bridge. The main goal...

Popular music consists of various sections, which include intro, verse, chorus, and bridge. The main goal of this project is to take advantage of custom functions in order to create a musical piece that has structural form (A-B-B-A for example). This song can be any length and any number of tracks, but you must correctly import the EarSketch API and use the following functions and concepts:

setEffect()and fitMedia()

Use the advanced setEffect(). Please refer to EarSketch Example 7.1.
Two custom functions for creating a musical piece with two sectional form
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hi,

An Earsketch is a Digital Audio Workstation that allow user to create music using python.

Here a music piece is created using custom function that has the structural form (A-B-B-A).

from earsketch import*

init ()

setTempo(100)

def sectionA (start,end,x):

fitMedia(HIPHOP_DUSTYGUITAR_001,1,start,end)

setEffect(1,DISTORTION,DISTO_GAIN,x,start)

fitMedia(HIPHOP_HIHAT_ROLL_002,2,start,end)

fitmedia(HIPHOP_STOMP_BEAT_001,3,start,end)

def sectionB(start,end,x):

fitMedia(HIPHOP_DUSTYGUITAR_002,1,start,end)

setEffect(1,DISTORTION,DISTO_GAIN,x,start)

fitMedia(HIPHOP_HIHAT_ROLL_003,2,start,end)

fitmedia(HIPHOP_STOMP_BEAT_008,3,start,end)

sectionA(1,5,15)

sectionB(5,9,0)

sectionB(9,13,10)

sectionA(13,17,45)

finish()

Hope you help this....

Thankyou....

Add a comment
Know the answer?
Add Answer to:
Popular music consists of various sections, which include intro, verse, chorus, and bridge. The main goal...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Read this article. Then write a 250 word response on two of the programs you like...

    Read this article. Then write a 250 word response on two of the programs you like the most. Open source business intelligence software 1. BIRT BIRT is an open source BI program that CloudTweaks says is often viewed as the industry standard. BIRT boasts “over 12 million downloads and over 2.5 million developers across 157 countries.” Its users include heavyweights such as Cisco, S1, and IBM (which is also a BIRT sponsor). They also have maturity going for them, as...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT