0
How to get a clock program to play different songs at different times of day
https://code.sololearn.com/WblC5EueE2cN/?ref=app What I’m trying to do is get that program to play say metal in the morning and classic at night, as if to wake you up in the morning and calm you down at night So say I want it to play metal at 7:00 am, how do I go about programming that in
1 Resposta
+ 1
Make an audio tag and use the play() function to play different songs at different times. You could use switch and hard code the audio sources or use an array of source.