1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tensa zangetsu [6.8K]
2 years ago
6

Can someone give me an earsketch song of summer to turn in

Computers and Technology
1 answer:
lesantik [10]2 years ago
5 0

Answer: This is not mine.

from earsketch import *

from random import *

init()

setTempo(120)

genre = readInput("Pick a genre: Hiphop, RNB, or Rock.")

if genre == ("Hiphop"): measure = []

fitMedia(CIARA_SET_THEME_ATMOS_2, 1, 1, 5)

fitMedia(CIARA_SET_THEME_ATMOS_2, 1, 7, 11)

fitMedia(CIARA_SET_DRUMBEAT_5, 3, 7, 11)

fitMedia(CIARA_SET_BASSLINE_2, 2, 7, 11)

setEffect(1, VOLUME, GAIN, 0, 4, -60, 6)

setEffect(1, VOLUME, GAIN, -60, 6, 0, 7)

fillDrum = CIARA_SET_DRUMBEAT_5

beat = "0+++0+++0-000+00"

index = randint(1,5)

for measure in range (1, 7, 1):

  for index in range (index):

       makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(7, 11)

fitMedia(CIARA_SET_THEME_ATMOS_2, 1, 10, 16)

fitMedia(CIARA_SET_THEME_ATMOS_2, 1, 18, 22)

fitMedia(CIARA_SET_DRUMBEAT_5, 3, 18, 22)

fitMedia(CIARA_SET_BASSLINE_2, 2, 18, 22)

for measure in range(11, 18, 1):

   makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(17, 22)

fitMedia(CIARA_SET_THEME_ATMOS_2, 1, 23, 27)

fitMedia(CIARA_SET_THEME_ATMOS_2, 1, 29, 33)

fitMedia(CIARA_SET_DRUMBEAT_5, 3, 29, 33)

fitMedia(CIARA_SET_BASSLINE_2, 2, 29, 33)

for measure in range(22, 29, 1):

 makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(29, 33)

if genre == ("RNB"): measure = []

fitMedia(CIARA_SET_THEME_ATMOS_1, 1, 1, 5)

fitMedia(CIARA_SET_THEME_ATMOS_1, 1, 7, 11)

fitMedia(CIARA_SET_DRUMBEAT_1, 3, 7, 11)

fitMedia(CIARA_SET_BASSLINE_2, 2, 7, 11)

setEffect(1, VOLUME, GAIN, 0, 4, -60, 6)

setEffect(1, VOLUME, GAIN, -60, 6, 0, 7)

fillDrum = CIARA_SET_DRUMBEAT_1

beat = "0+++0+++0-000+00"

index = randint(1,5)

if measure in range (1, 7, 1):

   for index in range (index):

       makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(7, 11)

fitMedia(CIARA_SET_THEME_ATMOS_1, 1, 10, 16)

fitMedia(CIARA_SET_THEME_ATMOS_1, 1, 18, 22)

fitMedia(CIARA_SET_DRUMBEAT_1, 3, 18, 22)

fitMedia(CIARA_SET_BASSLINE_2, 2, 18, 22)

for measure in range(11, 18, 1):

   makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(17, 22)

fitMedia(CIARA_SET_THEME_ATMOS_1, 1, 23, 27)

fitMedia(CIARA_SET_THEME_ATMOS_1, 1, 29, 33)

fitMedia(CIARA_SET_DRUMBEAT_1, 3, 29, 33)

fitMedia(CIARA_SET_BASSLINE_2, 2, 29, 33)

for measure in range(22, 29, 1):

   makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(29, 33)

if genre == ("Rock"): measure = []

fitMedia(RD_ROCK_POPELECTRICLEAD_2, 1, 1, 5)

fitMedia(RD_ROCK_POPELECTRICLEAD_2, 1, 7, 11)

fitMedia(RD_ROCK_POPELECTRICBASS_1, 3, 7, 11)

fitMedia(CIARA_SET_BASSLINE_2, 2, 7, 11)

setEffect(1, VOLUME, GAIN, 0, 4, -60, 6)

setEffect(1, VOLUME, GAIN, -60, 6, 0, 7)

fillDrum = RD_ROCK_POPELECTRICBASS_1

beat = "0+++0+++0-000+00"

index = randint(1,5)

for measure in range (1, 7, 1):

   for index in range (index):

       makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(7, 11)

fitMedia(RD_ROCK_POPELECTRICLEAD_2, 1, 10, 16)

fitMedia(RD_ROCK_POPELECTRICLEAD_2, 1, 18, 22)

fitMedia(RD_ROCK_POPELECTRICBASS_1, 3, 18, 22)

fitMedia(CIARA_SET_BASSLINE_2, 2, 18, 22)

for measure in range(11, 18, 1):

   makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(17, 22)

fitMedia(RD_ROCK_POPELECTRICLEAD_2, 1, 23, 27)

fitMedia(RD_ROCK_POPELECTRICLEAD_2, 1, 29, 33)

fitMedia(RD_ROCK_POPELECTRICBASS_1, 3, 29, 33)

fitMedia(CIARA_SET_BASSLINE_2, 2, 29, 33)

for measure in range(22, 29, 1):

   makeBeat(fillDrum, 3, measure, beat)

def myFunction(startMeasure, endMeasure):

   fitMedia(CIARA_SET_BASSLINE_1, 4, startMeasure, endMeasure)

myFunction(29, 33)

finish()

Explanation:

You might be interested in
Assume a branch instruction bne $t1, $t2, Label is located in 0x00001840 in the instruction memory. The 16-bits branch address i
Ilia_Sergeevich [38]

Answer:

a. 0x00001844

Explanation:

When the branch is takes the new program counter value is increased by 1. The value of existing memory is labelled with number sets and then next instruction is accepted in sequence. The new value is the increase in the current labelled value.

8 0
2 years ago
Which memory device is most appropriate for backing up a computer’s hard drive?.
Dmitry [639]
C)
external hard drive
5 0
3 years ago
Read 2 more answers
If Joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
lisov135 [29]

Based on the tax bracket that made by united states government in 2018 , single adult who made between 0 - $ 9,500 each year are subjected to a 10% tax rate.

assuming that joey does not have additional deductibles, The amount that joey need to pay in taxes would be:

$ 9,500 x 10% = $ 950

6 0
3 years ago
Read 2 more answers
What is the error if I want to assign a value to that same index? i.e. var_str[5] = “r”
docker41 [41]

The program would not generate an error if the var_str list have up to 5 elements

<h3>How to determine the error?</h3>

The operation is given as:

Assign a value to that same index

This is represented as:

var_str[5] = "r"

The representations from the above code segment are

  • List = var_str
  • Index = 5
  • Value = "r"

When a value is assigned to an index, the value at the index is updated to the new value, provided that the index exists in the list.

This means that the program would not generate an error if the var_str list have up to 5 elements

Read more about list at:

brainly.com/question/27094056

#SPJ1

6 0
1 year ago
What I Can Do
valentinak56 [21]

Answer:

1. I would cook or see there is any leftovers from dinner or do take out.

2. I would try and carry her but if I can't then I'll walk her to the bathroom. I make her what she wants.

7 0
3 years ago
Other questions:
  • In order to protect your computer from the newest virus, which of the following should you do after you've installed a virscan s
    9·1 answer
  • Which term refers to actions that you would typically perform on a computer to revive it if it functions in an unexpected manner
    15·2 answers
  • Which one of the following business names would be rated Incorrect for name accuracy? Answer McDonald's McDonald's H&amp;M McDon
    14·1 answer
  • When did the silent movie era end?<br> A.1919<br> B.1929<br> C.1939<br> D.1949
    14·2 answers
  • The data set monarch from Computer-Active Data Analysis by Lunn andMcNeil (1991) contains the years lived after inauguration,ele
    9·1 answer
  • Write a Java program that reads an 8-bit binary number from the keyboard as a string and then converts it into decimal. For exam
    11·1 answer
  • A computer ia a personal computer you can carry from place to place​
    14·2 answers
  • Select the correct answer from each drop-down menu. The following diagram shows four resistors. What is the effective resistance
    9·1 answer
  • Owen is writing a program that will lock his computer for one hour if the incorrect password is entered more than five times. Ha
    14·1 answer
  • Taking this driver education course
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!