Adding functions with no parameters from bkup Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: In this video you will learn how to add a user-defined or custom function to your python code. nnBelow is the completed code for the example in the videonn# This is my songn# I hope you like itnfrom earsketch import *nn# To add sounds use fitMedia(sound, track, start, end)n# Bass on track 1n# Vocals on track 2n# Background vocals on track 3nn# Define functions to add the sounds for the intro, verse and outronndef intro():n#Intro playing from measure 1 to 4nfitMedia(Bassline,1,2,4)nfi
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)