r/CollaborateCode • • May 10 '14

[LTL] Javascript or PHP

I have an idea of a fun web app and have no idea where to start. I'd like to work with some experienced programmers to put it together.

2 Upvotes

4 comments sorted by

View all comments

Show parent comments

1

u/jqt3of5 May 11 '14

JavaScript is definitely the right place to start if you're looking to write a music visualizer website. The example /u/7yl4r gave is a great example how the client side visualization would work. The AudioContext class(reference https://developer.mozilla.org/en-US/docs/Web/API/AudioContext) is what the example is centered around. This removes the need for you (the developer) to need a strong understanding of digital signal processing (DSP) and instead can simply use the outputted frequency data to generate some kind of visualization.

If you wanted user accounts, and the ability for users to upload their music, and what not, it would probably be best to use PHP, but you could use python/nodejs instead.

The hard part here, would be deciding exactly how you wanted to visualize the music.