DIGITAL AUDIO WORKSTATION

CODE EDITOR

# python code
# script_name: EarSketch Song; U6A1; ICS3U-04
#
# author: Idika Poudel
# description: This code aims to inspire people to keep on hustling and making their mark in the world through the lyrics and vocal of Alicia Keys and the different sounds provided by Earsketch. This code aims to promote the unheard voices and inspire people to follow through to make their mark through the various sounds and pieces put together through programming.


from earsketch import *

#SOUNDBANK
#creating a list for all pieces required for creating the final song
sound_list = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
sound_list [0] = AK_UNDOG_OOHS_1
sound_list [1] = DKBEAR_FREE_PERC_AUX
sound_list [2] = DKBEAR_FREE_PERC_WHOOSH
sound_list [3] = AK_UNDOG_LEAD_VOCALS_VERSE_1
sound_list [4] = AK_UNDOG_LEAD_VOCALS_VERSE_2
sound_list [5] = AK_UNDOG_LEAD_VOCALS_PRE_CHORUS_1
sound_list [6] = AK_UNDOG_LEAD_VOCALS_CHORUS
sound_list [7] = AK_UNDOG_LEAD_VOCALS_BRIDGE_1
sound_list [8] = AK_UNDOG_LEAD_VOCALS_BRIDGE_2
sound_list [9] = RD_ELECTRO_DRUM_PART_12
sound_list [10] = HIPHOP_TRAP_BEAT_001
sound_list [11] = HIPHOP_TRAP_BEAT_002
sound_list [12] = HOUSE_MAIN_BEAT_004
sound_list [13] = DKBEAR_FREE_BEAT_FULL
sound_list [14] = EIGHT_BIT_ANALOG_DRUM_LOOP_001
sound_list [15] = HIPHOP_TRAP_BEAT_PART_008


#creating functions with lists created earlier to initialize everything so the code does not have to be written multiple times and can be called whenever it is needed

#creating function for intro so it can be called later when it is supposed to be played
def intro(start,end) :
fitMedia (sound_list [1], 1, start, end)
fitMedia (sound_list [2], 2, start+1, end)
IMPORT TO EDIT