I couldn't find any forum suitable for my website question so i posted it here. I had an idea for creating a website but I am not sure whether or not it is possible to do (and especially not, how it is possible). So I hope I am in the right forum for this question, as I don't know which coding would be needed for this to suceed.

Ok, now the idea. I was thinking of a website with a lot of pictures you clicked your way through ("Previous" - "Next" buttons) and they showed a continuous story of some kind. In the background, some sort of music would be playing to add to the mood of the pictures.

So far so good, but now to the crazy part of my idea ... let's say that I created this piece of music in different kinds of layers (a basic beat, some clicks, more advanced beat overlapping, a rythm, vocals etc.) and while the visitors browsed through these images, more and more of these layers would be activated in the background music. So that the music would build up while looking through the images.

Of course I could make a different page for each picture, and a different sound file playing at each page with more layers on it, but it would be even cooler if it was possible to make a page with php (or something) so the new pictures would be inserted at the same page when someone clicked "next" or "previous" and the music would change at the same time.

It might be a crazy idea. I mostly have php-knowledge but I am willing to learn a lot of coding if this is possible to do. What do you think? Would this be possible in some way?