diff nodescore.js @ 95:cb1862bbcd5a

added functionality for audio score units
author Rob Canning <rob@foo.net>
date Fri, 01 Aug 2014 13:29:37 +0100
parents a633d8c04929
children 9641c2572988
line wrap: on
line diff
--- a/nodescore.js	Fri Aug 01 01:24:07 2014 +0100
+++ b/nodescore.js	Fri Aug 01 13:29:37 2014 +0100
@@ -228,6 +228,10 @@
 	    // initiate first page here
 	    var nextunit=seq.units[seq.transect%numberoftransects][(seq.counter+1)%order];
 	    socket.emit("pageIni", voice, unit, time, seq.mm,seq.counter,nextunit );
+	    socket.broadcast.emit("pageIni", voice, unit, time, seq.mm,seq.counter,nextunit );
+	   
+	    socket.emit("pageFlip", voice, unit, time, seq.mm,seq.counter,nextunit );
+	    socket.broadcast.emit("pageFlip", voice, unit, time, seq.mm,seq.counter,nextunit );
 	}