JSXGraph and sound: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
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 15:38, 6 February 2014

JSXGraph and sound