Vjayjay is a project mainly written in JAVASCRIPT and RUBY, it's free.
MIDI-based VJing in a web browser
I've been looking at OpenFrameworks, Processing, etc for doing realtime music visualization at my shows, but my real expertise is in coding JavaScript and CSS. Why not build upon that knowledge on stage and create a unique live visual programming environment through a browser?
I've recorded some Vjayjay output (har har) and put it on YouTube. The source for this project is in
examples/qtpi
: http://www.youtube.com/watch?v=Rog-RL-JcNM
blank_project
folder to another folder.bin/vjayjay
inside that folder.The documentation is far from complete and the project is in its infancy. Here's a crash course.
Listen to all events on channel 1 and output their pitch to the JavaScript console.
// javascripts/application.js
Vjayjay(function(vj) {
// Listen to all events on channel 1.
vj.listen({ channel: 1 }, function(event) {
console.log(event.pitch);
});
});
The code below behaves the same as the code from the previous section:
// javascripts/library.js
Vjayjay.plugin('logPitch', function(vj, options) {
// Listen to all events on channel 1.
vj.listen(options, function(event) {
console.log(event.pitch);
});
});
// javascripts/application.js
Vjayjay(function(vj) {
vj.plugin('logPitch', { channel: 1 });
});