xxxxxxxxxx
26
function preload() {
// loading images
gangteyImage = loadImage("Album Covers/Zia.jpg")
kalgaImage = loadImage("Album Covers/Aalas Ka Pedh.jpeg")
nahinMiltaImage = loadImage("Album Covers/4 Saal.jpg")
tasveerImage = loadImage("Album Covers/Tasveer.jpg")
ayiBahaarImage = loadImage("Album Covers/Zindagi.jpeg")
// loading sounds
gangteyAudio = loadSound("Song Audio/Gangtey.mp3")
kalgaAudio = loadSound("Song Audio/Kalga.mp3")
nahinMiltaAudio = loadSound("Song Audio/Nahin Milta.mp3")
tasveerAudio = loadSound("Song Audio/Tasveer.mp3")
ayiBahaarAudio = loadSound("Song Audio/Ayi Bahaar.mp3")
}
function setup() {
width = 320
createCanvas(width, (16/9)*width);
}
function draw() {
background(220);
}