Difference between revisions of "JSXGraph and sound"

From JSXGraph Wiki
Jump to navigationJump to search
Line 13: Line 13:
 
var sinewave = new Gibberish.Sine( 440, .25 ).connect();
 
var sinewave = new Gibberish.Sine( 440, .25 ).connect();
 
board.on('update', function() {
 
board.on('update', function() {
     console.log(si.frequency);
+
     console.log(sinewave.frequency);
     si.frequency = slide.Value();
+
     sinewave.frequency = slide.Value();
 
});
 
});
 
   
 
   

Revision as of 16:38, 6 February 2014

JSXGraph and sound