I’m not sure where to start with this so I was hoping someone could point me in the right direction.
I was just playing about with a parallax image and I thought it would be interesting to look at playing audio on the page.
Playing an mp3 would be easy enough (i assume), but I wondered about having 2 different audio files. One which plays when your mouse is on the left side of the screen and another which plays when your mouse is on the right side of the screen. With the two fading in the middle, kinda like a range.
Has anyone experienced anything like this or have any ideas on where to start?