JSXGraph and sound: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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( | console.log(sinewave.frequency); | ||
sinewave.frequency = slide.Value(); | |||
}); | }); | ||
Revision as of 15:38, 6 February 2014
JSXGraph and sound